Home
last modified time | relevance | path

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

/third_party/openssl/crypto/ec/
Dec_ameth.c287 size_t privlen = 0, publen = 0; in do_EC_KEY_print() local
297 publen = EC_KEY_key2buf(x, EC_KEY_get_conv_form(x), &pub, NULL); in do_EC_KEY_print()
298 if (publen == 0) in do_EC_KEY_print()
328 if (publen != 0) { in do_EC_KEY_print()
331 if (ASN1_buf_print(bp, pub, publen, off + 4) == 0) in do_EC_KEY_print()
Dec_asn1.c1025 size_t privlen = 0, publen = 0; in i2d_ECPrivateKey() local
1068 publen = EC_KEY_key2buf(a, a->conv_form, &pub, NULL); in i2d_ECPrivateKey()
1070 if (publen == 0) { in i2d_ECPrivateKey()
1077 ASN1_STRING_set0(priv_key->publicKey, pub, publen); in i2d_ECPrivateKey()
/third_party/node/deps/openssl/openssl/crypto/ec/
Dec_ameth.c287 size_t privlen = 0, publen = 0; in do_EC_KEY_print() local
297 publen = EC_KEY_key2buf(x, EC_KEY_get_conv_form(x), &pub, NULL); in do_EC_KEY_print()
298 if (publen == 0) in do_EC_KEY_print()
328 if (publen != 0) { in do_EC_KEY_print()
331 if (ASN1_buf_print(bp, pub, publen, off + 4) == 0) in do_EC_KEY_print()
Dec_asn1.c1025 size_t privlen = 0, publen = 0; in i2d_ECPrivateKey() local
1068 publen = EC_KEY_key2buf(a, a->conv_form, &pub, NULL); in i2d_ECPrivateKey()
1070 if (publen == 0) { in i2d_ECPrivateKey()
1077 ASN1_STRING_set0(priv_key->publicKey, pub, publen); in i2d_ECPrivateKey()
/third_party/openssl/crypto/x509/
Dx_pubkey.c135 size_t publen; in x509_pubkey_ex_d2i_ex() local
154 publen = *in - in_saved; in x509_pubkey_ex_d2i_ex()
155 if (!ossl_assert(publen > 0)) { in x509_pubkey_ex_d2i_ex()
185 size_t slen = publen; in x509_pubkey_ex_d2i_ex()
192 tmpbuf = OPENSSL_memdup(in_saved, publen); in x509_pubkey_ex_d2i_ex()
/third_party/node/deps/openssl/openssl/crypto/x509/
Dx_pubkey.c135 size_t publen; in x509_pubkey_ex_d2i_ex() local
154 publen = *in - in_saved; in x509_pubkey_ex_d2i_ex()
155 if (!ossl_assert(publen > 0)) { in x509_pubkey_ex_d2i_ex()
185 size_t slen = publen; in x509_pubkey_ex_d2i_ex()
192 tmpbuf = OPENSSL_memdup(in_saved, publen); in x509_pubkey_ex_d2i_ex()
/third_party/openssl/doc/man3/
DEVP_PKEY_set1_encoded_public_key.pod14 const unsigned char *pub, size_t publen);
44 key is pointed to be B<pub>. The length of the buffer is supplied in B<publen>.
/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()
/third_party/node/deps/openssl/openssl/crypto/evp/
Dp_lib.c1378 size_t publen) in EVP_PKEY_set1_encoded_public_key() argument
1386 (unsigned char *)pub, publen); in EVP_PKEY_set1_encoded_public_key()
1388 if (publen > INT_MAX) in EVP_PKEY_set1_encoded_public_key()
1391 if (evp_pkey_asn1_ctrl(pkey, ASN1_PKEY_CTRL_SET1_TLS_ENCPT, publen, in EVP_PKEY_set1_encoded_public_key()
/third_party/openssl/crypto/evp/
Dp_lib.c1377 size_t publen) in EVP_PKEY_set1_encoded_public_key() argument
1385 (unsigned char *)pub, publen); in EVP_PKEY_set1_encoded_public_key()
1387 if (publen > INT_MAX) in EVP_PKEY_set1_encoded_public_key()
1390 if (evp_pkey_asn1_ctrl(pkey, ASN1_PKEY_CTRL_SET1_TLS_ENCPT, publen, in EVP_PKEY_set1_encoded_public_key()
/third_party/openssl/include/openssl/
Devp.h1452 const unsigned char *pub, size_t publen);
/third_party/node/deps/openssl/openssl/include/openssl/
Devp.h1452 const unsigned char *pub, size_t publen);