Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bn/
H A Dbn_rand.c219 unsigned char private_bytes[96]; in BN_generate_dsa_nonce() local
228 if (BN_bn2binpad(priv, private_bytes, sizeof(private_bytes)) < 0) { in BN_generate_dsa_nonce()
243 SHA512_Update(&sha, private_bytes, sizeof(private_bytes)); in BN_generate_dsa_nonce()
263 OPENSSL_cleanse(private_bytes, sizeof(private_bytes)); in BN_generate_dsa_nonce()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/bn/
H A Dbn_rand.c311 unsigned char private_bytes[96]; in ossl_bn_gen_dsa_nonce_fixed_top() local
329 if (BN_bn2binpad(priv, private_bytes, sizeof(private_bytes)) < 0) { in ossl_bn_gen_dsa_nonce_fixed_top()
354 || !EVP_DigestUpdate(mdctx, private_bytes, in ossl_bn_gen_dsa_nonce_fixed_top()
355 sizeof(private_bytes)) in ossl_bn_gen_dsa_nonce_fixed_top()
395 OPENSSL_cleanse(private_bytes, sizeof(private_bytes)); in ossl_bn_gen_dsa_nonce_fixed_top()