Home
last modified time | relevance | path

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

/third_party/openssl/crypto/ec/
Dec_ameth.c363 size_t privlen = 0, publen = 0; in do_EC_KEY_print() local
373 publen = EC_KEY_key2buf(x, EC_KEY_get_conv_form(x), &pub, NULL); in do_EC_KEY_print()
374 if (publen == 0) in do_EC_KEY_print()
404 if (publen != 0) { in do_EC_KEY_print()
407 if (ASN1_buf_print(bp, pub, publen, off + 4) == 0) in do_EC_KEY_print()
Dec_asn1.c1080 size_t privlen = 0, publen = 0; in i2d_ECPrivateKey() local
1123 publen = EC_KEY_key2buf(a, a->conv_form, &pub, NULL); in i2d_ECPrivateKey()
1125 if (publen == 0) { in i2d_ECPrivateKey()
1132 ASN1_STRING_set0(priv_key->publicKey, pub, publen); in i2d_ECPrivateKey()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_openssl.c754 size_t publen, privlen; in dh5_init() local
779 publen = BN_num_bytes(dh->pub_key); in dh5_init()
780 pubkey = wpabuf_alloc(publen); in dh5_init()
788 BN_bn2bin(dh->pub_key, wpabuf_put(pubkey, publen)); in dh5_init()
803 size_t publen, privlen; in dh5_init()
829 publen = BN_num_bytes(pub_key); in dh5_init()
830 pubkey = wpabuf_alloc(publen); in dh5_init()
838 BN_bn2bin(pub_key, wpabuf_put(pubkey, publen)); in dh5_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_openssl.c827 size_t publen, privlen; in dh5_init() local
852 publen = BN_num_bytes(dh->pub_key); in dh5_init()
853 pubkey = wpabuf_alloc(publen); in dh5_init()
861 BN_bn2bin(dh->pub_key, wpabuf_put(pubkey, publen)); in dh5_init()
876 size_t publen, privlen; in dh5_init()
902 publen = BN_num_bytes(pub_key); in dh5_init()
903 pubkey = wpabuf_alloc(publen); in dh5_init()
911 BN_bn2bin(pub_key, wpabuf_put(pubkey, publen)); in dh5_init()