Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/bn/
Drandom.c276 uint8_t *k_bytes = NULL; in BN_generate_dsa_nonce() local
288 k_bytes = OPENSSL_malloc(num_k_bytes); in BN_generate_dsa_nonce()
289 if (!k_bytes) { in BN_generate_dsa_nonce()
324 OPENSSL_memcpy(k_bytes + done, digest, todo); in BN_generate_dsa_nonce()
328 k_bytes[0] &= 0xff >> bits_to_mask; in BN_generate_dsa_nonce()
330 if (!BN_bin2bn(k_bytes, num_k_bytes, out)) { in BN_generate_dsa_nonce()
341 OPENSSL_free(k_bytes); in BN_generate_dsa_nonce()