Home
last modified time | relevance | path

Searched refs:penc (Results 1 – 15 of 15) sorted by relevance

/third_party/openssl/crypto/ec/
Dec_ameth.c80 unsigned char *penc = NULL, *p; in eckey_pub_encode() local
90 penc = OPENSSL_malloc(penclen); in eckey_pub_encode()
91 if (penc == NULL) in eckey_pub_encode()
93 p = penc; in eckey_pub_encode()
98 ptype, pval, penc, penclen)) in eckey_pub_encode()
105 OPENSSL_free(penc); in eckey_pub_encode()
834 unsigned char *penc = NULL; in ecdh_cms_encrypt() local
858 penc = OPENSSL_malloc(penclen); in ecdh_cms_encrypt()
859 if (penc == NULL) in ecdh_cms_encrypt()
861 p = penc; in ecdh_cms_encrypt()
[all …]
Decx_meth.c128 unsigned char *penc; in ecx_pub_encode() local
135 penc = OPENSSL_memdup(ecxkey->pubkey, KEYLEN(pkey)); in ecx_pub_encode()
136 if (penc == NULL) { in ecx_pub_encode()
142 V_ASN1_UNDEF, NULL, penc, KEYLEN(pkey))) { in ecx_pub_encode()
143 OPENSSL_free(penc); in ecx_pub_encode()
202 unsigned char *penc = NULL; in ecx_priv_encode() local
214 penclen = i2d_ASN1_OCTET_STRING(&oct, &penc); in ecx_priv_encode()
221 V_ASN1_UNDEF, NULL, penc, penclen)) { in ecx_priv_encode()
222 OPENSSL_clear_free(penc, penclen); in ecx_priv_encode()
/third_party/openssl/crypto/asn1/
Dp8_pkey.c40 int ptype, void *pval, unsigned char *penc, int penclen)
48 if (penc)
49 ASN1_STRING_set0(priv->pkey, penc, penclen);
/third_party/openssl/crypto/dh/
Ddh_ameth.c101 unsigned char *penc = NULL; in dh_pub_encode() local
124 penclen = i2d_ASN1_INTEGER(pub_key, &penc); in dh_pub_encode()
134 ptype, str, penc, penclen)) in dh_pub_encode()
138 OPENSSL_free(penc); in dh_pub_encode()
785 unsigned char *penc = NULL, *dukm = NULL; in dh_cms_encrypt() local
807 penclen = i2d_ASN1_INTEGER(pubk, &penc); in dh_cms_encrypt()
811 ASN1_STRING_set0(pubkey, penc, penclen); in dh_cms_encrypt()
815 penc = NULL; in dh_cms_encrypt()
887 penc = NULL; in dh_cms_encrypt()
888 penclen = i2d_X509_ALGOR(wrap_alg, &penc); in dh_cms_encrypt()
[all …]
/third_party/boringssl/src/crypto/x509/
Dx509.c69 int ptype, void *pval, uint8_t *penc, int penclen) { in OPENSSL_DECLARE_ERROR_REASON()
77 if (penc) { in OPENSSL_DECLARE_ERROR_REASON()
85 oct->data = penc; in OPENSSL_DECLARE_ERROR_REASON()
Dx_pubkey.c339 unsigned char *penc, int penclen) in X509_PUBKEY_set0_param() argument
343 if (penc) { in X509_PUBKEY_set0_param()
346 pub->public_key->data = penc; in X509_PUBKEY_set0_param()
/third_party/openssl/crypto/x509/
Dx_pubkey.c343 unsigned char *penc, int penclen) in X509_PUBKEY_set0_param() argument
347 if (penc) { in X509_PUBKEY_set0_param()
349 pub->public_key->data = penc; in X509_PUBKEY_set0_param()
/third_party/openssl/crypto/dsa/
Ddsa_ameth.c81 unsigned char *penc = NULL; in dsa_pub_encode() local
110 penclen = i2d_ASN1_INTEGER(pubint, &penc); in dsa_pub_encode()
122 if (X509_PUBKEY_set0_param(pk, aobj, ptype, str, penc, penclen)) in dsa_pub_encode()
126 OPENSSL_free(penc); in dsa_pub_encode()
/third_party/openssl/crypto/pkcs7/
Dpk7_lib.c416 void PKCS7_RECIP_INFO_get0_alg(PKCS7_RECIP_INFO *ri, X509_ALGOR **penc) in PKCS7_RECIP_INFO_get0_alg() argument
418 if (penc) in PKCS7_RECIP_INFO_get0_alg()
419 *penc = ri->key_enc_algor; in PKCS7_RECIP_INFO_get0_alg()
/third_party/openssl/doc/man3/
DX509_PUBKEY_new.pod32 unsigned char *penc, int penclen);
70 bytes contained in buffer B<penc>. On success ownership of all the supplied
/third_party/openssl/crypto/rsa/
Drsa_ameth.c77 unsigned char *penc = NULL; in rsa_pub_encode() local
84 penclen = i2d_RSAPublicKey(pkey->pkey.rsa, &penc); in rsa_pub_encode()
88 strtype, str, penc, penclen)) in rsa_pub_encode()
91 OPENSSL_free(penc); in rsa_pub_encode()
/third_party/libsnd/src/
Dalac.c172 { ALAC_ENCODER *penc = &plac->encoder ; in alac_close() local
187 alac_get_magic_cookie (penc, kuki_data, &plac->kuki_size) ; in alac_close()
440 { ALAC_ENCODER *penc = &plac->encoder ; in alac_encode_block() local
443 alac_encode (penc, plac->partial_block_frames, plac->buffer, plac->byte_buffer, &num_bytes) ; in alac_encode_block()
/third_party/openssl/include/openssl/
Dpkcs7.h265 void PKCS7_RECIP_INFO_get0_alg(PKCS7_RECIP_INFO *ri, X509_ALGOR **penc);
Dx509.h1019 unsigned char *penc, int penclen);
1031 unsigned char *penc, int penclen);
/third_party/boringssl/src/include/openssl/
Dx509.h1088 unsigned char *penc, int penclen);
1096 unsigned char *penc, int penclen);