Searched refs:publen (Results 1 – 7 of 7) sorted by relevance
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ec_ameth.c | 287 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()
|
H A D | ec_asn1.c | 1025 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()
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | x_pubkey.c | 135 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()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | EVP_PKEY_set1_encoded_public_key.pod | 14 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>.
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | p_lib.c | 1380 size_t publen) in EVP_PKEY_set1_encoded_public_key() argument 1388 (unsigned char *)pub, publen); in EVP_PKEY_set1_encoded_public_key() 1390 if (publen > INT_MAX) in EVP_PKEY_set1_encoded_public_key() 1393 if (evp_pkey_asn1_ctrl(pkey, ASN1_PKEY_CTRL_SET1_TLS_ENCPT, publen, in EVP_PKEY_set1_encoded_public_key()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_openssl.c | 972 size_t publen, privlen; in dh5_init() local 997 publen = BN_num_bytes(dh->pub_key); in dh5_init() 998 pubkey = wpabuf_alloc(publen); in dh5_init() 1006 BN_bn2bin(dh->pub_key, wpabuf_put(pubkey, publen)); in dh5_init() 1072 size_t publen, privlen; in dh5_init() 1098 publen = BN_num_bytes(pub_key); in dh5_init() 1099 pubkey = wpabuf_alloc(publen); in dh5_init() 1107 BN_bn2bin(pub_key, wpabuf_put(pubkey, publen)); in dh5_init()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | evp.h | 1454 const unsigned char *pub, size_t publen);
|