#include "gtest/gtest.h"
#include "crypto/crypto.h"
#include "crypto/crypto-ops.h"
Go to the source code of this file.
|
| | TEST (random32_unbiased, less_than_order) |
◆ TEST()
| TEST |
( |
random32_unbiased | , |
|
|
less_than_order | ) |
Definition at line 37 of file random.cpp.
38{
39 unsigned char tmp[32], tmp2[32];
40 for (int i = 0; i < 1000; ++i)
41 {
46 }
47}
void sc_reduce32(unsigned char *)
#define ASSERT_EQ(val1, val2)
void * memcpy(void *a, const void *b, size_t c)
void random32_unbiased(unsigned char *bytes)