Home
last modified time | relevance | path

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

/openssl-master/crypto/dh/
A Ddh_key.c378 size_t p_size; in ossl_dh_buf2key() local
383 if (p == NULL || (p_size = BN_num_bytes(p)) == 0) { in ossl_dh_buf2key()
391 if (BN_is_zero(pubkey) || p_size != len) { in ossl_dh_buf2key()
410 int p_size; in ossl_dh_key2buf() local
415 || (p_size = BN_num_bytes(p)) == 0 in ossl_dh_key2buf()
422 if (size >= (size_t)p_size) in ossl_dh_key2buf()
425 pbuf = OPENSSL_malloc(p_size); in ossl_dh_key2buf()
436 if (BN_bn2binpad(pubkey, pbuf, p_size) < 0) { in ossl_dh_key2buf()
444 return p_size; in ossl_dh_key2buf()

Completed in 3 milliseconds