Searched refs:reseed_counter (Results 1 – 10 of 10) sorted by relevance
/freebsd/crypto/openssl/test/ |
H A D | drbgtest.c | 103 DRBG_UINT(reseed_counter) in DRBG_UINT() argument 114 p->reseed_counter = n; in set_reseed_counter() 119 set_reseed_counter(drbg, reseed_counter(drbg) + 1); in inc_reseed_counter() 208 if (!TEST_int_ne(primary_reseed = reseed_counter(primary), 0) in test_drbg_reseed() 209 || !TEST_int_ne(public_reseed = reseed_counter(public), 0) in test_drbg_reseed() 210 || !TEST_int_ne(private_reseed = reseed_counter(private), 0)) in test_drbg_reseed() 242 if (!TEST_int_ge(reseed_counter(primary), primary_reseed)) in test_drbg_reseed() 248 if (!TEST_int_ge(reseed_counter(public), public_reseed) in test_drbg_reseed() 249 || !TEST_uint_ge(reseed_counter(public), in test_drbg_reseed() 250 reseed_counter(primary))) in test_drbg_reseed() [all …]
|
/freebsd/crypto/openssl/providers/implementations/rands/ |
H A D | drbg_hash.c | 329 int reseed_counter = drbg->generate_counter; in drbg_hash_generate() local 331 counter[0] = (unsigned char)((reseed_counter >> 24) & 0xff); in drbg_hash_generate() 332 counter[1] = (unsigned char)((reseed_counter >> 16) & 0xff); in drbg_hash_generate() 333 counter[2] = (unsigned char)((reseed_counter >> 8) & 0xff); in drbg_hash_generate() 334 counter[3] = (unsigned char)(reseed_counter & 0xff); in drbg_hash_generate() 345 /* (Step 5) V = (V + H + C + reseed_counter) mod (2^seedlen_bits) */ in drbg_hash_generate() 348 /* V = (V + reseed_counter) mod (2^seedlen_bits) */ in drbg_hash_generate()
|
H A D | drbg.c | 126 r = tsan_load(&drbg->reseed_counter) - 2; in get_parent_reseed_count() 449 drbg->reseed_next_counter = tsan_load(&drbg->reseed_counter); in ossl_prov_drbg_instantiate() 476 tsan_store(&drbg->reseed_counter, drbg->reseed_next_counter); in ossl_prov_drbg_instantiate() 552 drbg->reseed_next_counter = tsan_load(&drbg->reseed_counter); in ossl_prov_drbg_reseed() 599 tsan_store(&drbg->reseed_counter, drbg->reseed_next_counter); in ossl_prov_drbg_reseed() 827 drbg->reseed_counter = 1; in ossl_rand_drbg_new() 920 && !OSSL_PARAM_set_uint(p, tsan_load(&drbg->reseed_counter))) in ossl_drbg_get_ctx_params()
|
H A D | drbg_local.h | 137 * (Starts at 1). This value is the reseed_counter as defined in 163 TSAN_QUALIFIER unsigned int reseed_counter; member
|
/freebsd/crypto/openssl/doc/man7/ |
H A D | EVP_RAND-HASH-DRBG.pod | 45 =item "reseed_counter" (B<OSSL_DRBG_PARAM_RESEED_COUNTER>) <unsigned integer>
|
H A D | EVP_RAND-HMAC-DRBG.pod | 45 =item "reseed_counter" (B<OSSL_DRBG_PARAM_RESEED_COUNTER>) <unsigned integer>
|
H A D | EVP_RAND-CTR-DRBG.pod | 45 =item "reseed_counter" (B<OSSL_DRBG_PARAM_RESEED_COUNTER>) <unsigned integer>
|
H A D | EVP_RAND-TEST-RAND.pod | 47 =item "reseed_counter" (B<OSSL_DRBG_PARAM_RESEED_COUNTER>) <unsigned integer>
|
H A D | provider-rand.pod | 238 =item "reseed_counter" (B<OSSL_DRBG_PARAM_RESEED_COUNTER>) <unsigned integer>
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | EVP_RAND.pod | 313 =item "reseed_counter" (B<OSSL_DRBG_PARAM_RESEED_COUNTER>) <unsigned integer>
|