Home
last modified time | relevance | path

Searched refs:seed_material (Results 1 – 1 of 1) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/rand/
Dctrdrbg.c38 uint8_t seed_material[CTR_DRBG_ENTROPY_LEN]; in CTR_DRBG_init() local
39 OPENSSL_memcpy(seed_material, entropy, CTR_DRBG_ENTROPY_LEN); in CTR_DRBG_init()
42 seed_material[i] ^= personalization[i]; in CTR_DRBG_init()
57 seed_material[i] ^= kInitMask[i]; in CTR_DRBG_init()
60 drbg->ctr = aes_ctr_set_key(&drbg->ks, NULL, &drbg->block, seed_material, 32); in CTR_DRBG_init()
61 OPENSSL_memcpy(drbg->counter.bytes, seed_material + 32, 16); in CTR_DRBG_init()