Searched refs:CTR_DRBG_ENTROPY_LEN (Results 1 – 5 of 5) sorted by relevance
/external/boringssl/src/crypto/fipsmodule/rand/ |
D | ctrdrbg.c | 31 const uint8_t entropy[CTR_DRBG_ENTROPY_LEN], in CTR_DRBG_init() argument 34 if (personalization_len > CTR_DRBG_ENTROPY_LEN) { in CTR_DRBG_init() 38 uint8_t seed_material[CTR_DRBG_ENTROPY_LEN]; in CTR_DRBG_init() 39 OPENSSL_memcpy(seed_material, entropy, CTR_DRBG_ENTROPY_LEN); in CTR_DRBG_init() 49 static const uint8_t kInitMask[CTR_DRBG_ENTROPY_LEN] = { in CTR_DRBG_init() 67 OPENSSL_STATIC_ASSERT(CTR_DRBG_ENTROPY_LEN % AES_BLOCK_SIZE == 0, 82 if (data_len > CTR_DRBG_ENTROPY_LEN) { in ctr_drbg_update() 86 uint8_t temp[CTR_DRBG_ENTROPY_LEN]; in ctr_drbg_update() 87 for (size_t i = 0; i < CTR_DRBG_ENTROPY_LEN; i += AES_BLOCK_SIZE) { in ctr_drbg_update() 103 const uint8_t entropy[CTR_DRBG_ENTROPY_LEN], in CTR_DRBG_reseed() argument [all …]
|
D | rand.c | 169 uint8_t seed[CTR_DRBG_ENTROPY_LEN]) { in rand_get_seed() argument 180 uint8_t entropy[CTR_DRBG_ENTROPY_LEN * FIPS_OVERREAD]; in rand_get_seed() 206 OPENSSL_memcpy(seed, entropy, CTR_DRBG_ENTROPY_LEN); in rand_get_seed() 209 for (size_t j = 0; j < CTR_DRBG_ENTROPY_LEN; j++) { in rand_get_seed() 210 seed[j] ^= entropy[CTR_DRBG_ENTROPY_LEN * i + j]; in rand_get_seed() 218 uint8_t seed[CTR_DRBG_ENTROPY_LEN]) { in rand_get_seed() argument 221 CRYPTO_sysrand(seed, CTR_DRBG_ENTROPY_LEN); in rand_get_seed() 268 uint8_t seed[CTR_DRBG_ENTROPY_LEN]; in RAND_bytes_with_additional_data() 291 uint8_t seed[CTR_DRBG_ENTROPY_LEN]; in RAND_bytes_with_additional_data()
|
D | ctrdrbg_test.cc | 26 const uint8_t kSeed[CTR_DRBG_ENTROPY_LEN] = { in TEST() 36 const uint8_t kReseed[CTR_DRBG_ENTROPY_LEN] = { in TEST() 64 const uint8_t kSeed[CTR_DRBG_ENTROPY_LEN] = {0}; in TEST() 98 ASSERT_EQ(static_cast<size_t>(CTR_DRBG_ENTROPY_LEN), seed.size()); in TEST() 99 ASSERT_EQ(static_cast<size_t>(CTR_DRBG_ENTROPY_LEN), reseed.size()); in TEST()
|
D | internal.h | 56 #define CTR_DRBG_ENTROPY_LEN 48 macro 64 const uint8_t entropy[CTR_DRBG_ENTROPY_LEN], 72 const uint8_t entropy[CTR_DRBG_ENTROPY_LEN],
|
/external/boringssl/src/fipstools/ |
D | cavp_ctr_drbg_test.cc | 41 CTR_DRBG_ENTROPY_LEN * 8 || in TestCTRDRBG()
|