Home
last modified time | relevance | path

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

/openssl/crypto/cms/
H A Dcms_dh.c203 int penclen; in dh_cms_encrypt() local
233 penclen = i2d_ASN1_INTEGER(pubk, &penc); in dh_cms_encrypt()
235 if (penclen <= 0) in dh_cms_encrypt()
237 ASN1_STRING_set0(pubkey, penc, penclen); in dh_cms_encrypt()
311 penclen = i2d_X509_ALGOR(wrap_alg, &penc); in dh_cms_encrypt()
312 if (penclen <= 0) in dh_cms_encrypt()
317 ASN1_STRING_set0(wrap_str, penc, penclen); in dh_cms_encrypt()
H A Dcms_ec.c262 int penclen; in ecdh_cms_encrypt() local
351 penclen = CMS_SharedInfo_encode(&penc, wrap_alg, ukm, keylen); in ecdh_cms_encrypt()
353 if (penclen <= 0) in ecdh_cms_encrypt()
356 if (EVP_PKEY_CTX_set0_ecdh_kdf_ukm(pctx, penc, penclen) <= 0) in ecdh_cms_encrypt()
364 penclen = i2d_X509_ALGOR(wrap_alg, &penc); in ecdh_cms_encrypt()
365 if (penclen <= 0) in ecdh_cms_encrypt()
370 ASN1_STRING_set0(wrap_str, penc, penclen); in ecdh_cms_encrypt()
/openssl/crypto/ec/
H A Dec_ameth.c74 int penclen; in eckey_pub_encode() local
80 penclen = i2o_ECPublicKey(ec_key, NULL); in eckey_pub_encode()
81 if (penclen <= 0) in eckey_pub_encode()
83 penc = OPENSSL_malloc(penclen); in eckey_pub_encode()
87 penclen = i2o_ECPublicKey(ec_key, &p); in eckey_pub_encode()
88 if (penclen <= 0) in eckey_pub_encode()
91 ptype, pval, penc, penclen)) in eckey_pub_encode()
H A Decx_meth.c103 int penclen; in ecx_priv_encode() local
114 penclen = i2d_ASN1_OCTET_STRING(&oct, &penc); in ecx_priv_encode()
115 if (penclen < 0) { in ecx_priv_encode()
121 V_ASN1_UNDEF, NULL, penc, penclen)) { in ecx_priv_encode()
122 OPENSSL_clear_free(penc, penclen); in ecx_priv_encode()
/openssl/crypto/asn1/
H A Dp8_pkey.c40 int ptype, void *pval, unsigned char *penc, int penclen)
49 ASN1_STRING_set0(priv->pkey, penc, penclen);
/openssl/crypto/dsa/
H A Ddsa_ameth.c92 int penclen; in dsa_pub_encode() local
123 penclen = i2d_ASN1_INTEGER(pubint, &penc); in dsa_pub_encode()
126 if (penclen <= 0) { in dsa_pub_encode()
135 if (X509_PUBKEY_set0_param(pk, aobj, ptype, str, penc, penclen)) in dsa_pub_encode()
/openssl/crypto/dh/
H A Ddh_ameth.c116 int penclen; in dh_pub_encode() local
138 penclen = i2d_ASN1_INTEGER(pub_key, &penc); in dh_pub_encode()
142 if (penclen <= 0) { in dh_pub_encode()
148 ptype, str, penc, penclen)) in dh_pub_encode()
/openssl/doc/man3/
H A DX509_PUBKEY_new.pod42 unsigned char *penc, int penclen);
45 unsigned char *penc, int penclen);
100 to the I<penclen> bytes contained in buffer I<penc>.
109 to the I<penclen> bytes contained in buffer I<penc> and
/openssl/crypto/rsa/
H A Drsa_ameth.c56 int penclen; in rsa_pub_encode() local
62 penclen = i2d_RSAPublicKey(pkey->pkey.rsa, &penc); in rsa_pub_encode()
63 if (penclen <= 0) { in rsa_pub_encode()
68 strtype, str, penc, penclen)) in rsa_pub_encode()
/openssl/crypto/x509/
H A Dx_pubkey.c1011 unsigned char *penc, int penclen) in X509_PUBKEY_set0_public_key() argument
1013 ASN1_STRING_set0(pub->public_key, penc, penclen); in X509_PUBKEY_set0_public_key()
1019 unsigned char *penc, int penclen) in X509_PUBKEY_set0_param() argument
1024 X509_PUBKEY_set0_public_key(pub, penc, penclen); in X509_PUBKEY_set0_param()
/openssl/include/openssl/
H A Dx509.h.in1082 unsigned char *penc, int penclen);
1097 unsigned char *penc, int penclen);
1100 unsigned char *penc, int penclen);

Completed in 33 milliseconds