Home
last modified time | relevance | path

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

/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Dopenssldh_link.c399 uint16_t dnslen, plen, glen, publen; in openssldh_todns() local
419 publen = BN_num_bytes(pub_key); in openssldh_todns()
420 dnslen = plen + glen + publen + 6; in openssldh_todns()
445 uint16_toregion(publen, &r); in openssldh_todns()
447 isc_region_consume(&r, publen); in openssldh_todns()
459 uint16_t plen, glen, publen; in openssldh_fromdns() local
566 publen = uint16_fromregion(&r); in openssldh_fromdns()
567 if (r.length < publen) { in openssldh_fromdns()
571 pub_key = BN_bin2bn(r.base, publen, NULL); in openssldh_fromdns()
586 isc_region_consume(&r, publen); in openssldh_fromdns()
[all …]
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Dopenssldh_link.c
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/ec/
H A 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()
H A 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()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ec/
H A 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()
H A Dec_asn1.c1090 size_t privlen = 0, publen = 0; in i2d_ECPrivateKey() local
1133 publen = EC_KEY_key2buf(a, a->conv_form, &pub, NULL); in i2d_ECPrivateKey()
1135 if (publen == 0) { in i2d_ECPrivateKey()
1142 ASN1_STRING_set0(priv_key->publicKey, pub, publen); in i2d_ECPrivateKey()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/x509/
H A 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()
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A 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>.
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dcrypto_openssl.c2311 eay_dh_generate(prime, ig, publen, pub, priv) in eay_dh_generate() argument
2313 u_int publen;
2336 if (publen != 0)
2337 DH_set_length(dh, publen);
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/evp/
H A Dp_lib.c1380 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()
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A Devp.h1454 const unsigned char *pub, size_t publen);