Home
last modified time | relevance | path

Searched refs:enc_data (Results 1 – 18 of 18) sorted by relevance

/external/openssl/crypto/pkcs12/
Dp12_add.c196 X509_ALGOR_free(p7->d.encrypted->enc_data->algorithm); in PKCS12_pack_p7encdata()
197 p7->d.encrypted->enc_data->algorithm = pbe; in PKCS12_pack_p7encdata()
198 M_ASN1_OCTET_STRING_free(p7->d.encrypted->enc_data->enc_data); in PKCS12_pack_p7encdata()
199 if (!(p7->d.encrypted->enc_data->enc_data = in PKCS12_pack_p7encdata()
212 return PKCS12_item_decrypt_d2i(p7->d.encrypted->enc_data->algorithm, in STACK_OF()
215 p7->d.encrypted->enc_data->enc_data, 1); in STACK_OF()
Dp12_npas.c123 if (!alg_get(p7->d.encrypted->enc_data->algorithm, in newpass_p12()
/external/openssl/crypto/evp/
Dencode.c139 OPENSSL_assert(ctx->length <= (int)sizeof(ctx->enc_data)); in EVP_EncodeUpdate()
142 memcpy(&(ctx->enc_data[ctx->num]),in,inl); in EVP_EncodeUpdate()
149 memcpy(&(ctx->enc_data[ctx->num]),in,i); in EVP_EncodeUpdate()
152 j=EVP_EncodeBlock(out,ctx->enc_data,ctx->length); in EVP_EncodeUpdate()
170 memcpy(&(ctx->enc_data[0]),in,inl); in EVP_EncodeUpdate()
181 ret=EVP_EncodeBlock(out,ctx->enc_data,ctx->num); in EVP_EncodeFinal()
242 d=ctx->enc_data; in EVP_DecodeUpdate()
262 OPENSSL_assert(n < (int)sizeof(ctx->enc_data)); in EVP_DecodeUpdate()
405 i=EVP_DecodeBlock(out,ctx->enc_data,ctx->num); in EVP_DecodeFinal()
Devp.h397 unsigned char enc_data[80]; /* data to encode */ member
/external/openssl/crypto/pkcs7/
Dpk7_lib.c191 p7->d.signed_and_enveloped->enc_data->content_type in PKCS7_set_type()
200 p7->d.enveloped->enc_data->content_type in PKCS7_set_type()
209 p7->d.encrypted->enc_data->content_type in PKCS7_set_type()
600 ec=p7->d.signed_and_enveloped->enc_data; in PKCS7_set_cipher()
603 ec=p7->d.enveloped->enc_data; in PKCS7_set_cipher()
632 os = p7->d.signed_and_enveloped->enc_data->enc_data; in PKCS7_stream()
636 p7->d.signed_and_enveloped->enc_data->enc_data=os; in PKCS7_stream()
641 os = p7->d.enveloped->enc_data->enc_data; in PKCS7_stream()
645 p7->d.enveloped->enc_data->enc_data=os; in PKCS7_stream()
Dpk7_doit.c280 xalg=p7->d.signed_and_enveloped->enc_data->algorithm; in PKCS7_dataInit()
281 evp_cipher=p7->d.signed_and_enveloped->enc_data->cipher; in PKCS7_dataInit()
291 xalg=p7->d.enveloped->enc_data->algorithm; in PKCS7_dataInit()
292 evp_cipher=p7->d.enveloped->enc_data->cipher; in PKCS7_dataInit()
439 data_body=p7->d.signed_and_enveloped->enc_data->enc_data; in PKCS7_dataDecode()
440 enc_alg=p7->d.signed_and_enveloped->enc_data->algorithm; in PKCS7_dataDecode()
450 enc_alg=p7->d.enveloped->enc_data->algorithm; in PKCS7_dataDecode()
451 data_body=p7->d.enveloped->enc_data->enc_data; in PKCS7_dataDecode()
717 os = p7->d.signed_and_enveloped->enc_data->enc_data; in PKCS7_dataFinal()
726 p7->d.signed_and_enveloped->enc_data->enc_data=os; in PKCS7_dataFinal()
[all …]
Dpk7_asn1.c167 ASN1_SIMPLE(PKCS7_ENVELOPE, enc_data, PKCS7_ENC_CONTENT)
195 ASN1_IMP_OPT(PKCS7_ENC_CONTENT, enc_data, ASN1_OCTET_STRING_NDEF, 0)
204 ASN1_SIMPLE(PKCS7_SIGN_ENVELOPE, enc_data, PKCS7_ENC_CONTENT),
214 ASN1_SIMPLE(PKCS7_ENCRYPT, enc_data, PKCS7_ENC_CONTENT)
Dpkcs7.h138 ASN1_OCTET_STRING *enc_data; /* [ 0 ] */ member
146 PKCS7_ENC_CONTENT *enc_data; member
157 PKCS7_ENC_CONTENT *enc_data; member
172 PKCS7_ENC_CONTENT *enc_data; member
/external/openssl/crypto/asn1/
Dx_info.c78 ret->enc_data=NULL; in X509_INFO_new()
109 if (x->enc_data != NULL) OPENSSL_free(x->enc_data); in X509_INFO_free()
/external/openssl/crypto/pem/
Dpem_info.c177 xi->enc_data=NULL; in STACK_OF()
199 xi->enc_data=NULL; in STACK_OF()
221 xi->enc_data=NULL; in STACK_OF()
266 xi->enc_data=(char *)data; in STACK_OF()
286 (xi->x_pkey != NULL) || (xi->enc_data != NULL)) in STACK_OF()
340 if ( (xi->enc_data!=NULL) && (xi->enc_len>0) ) in PEM_X509_INFO_write_bio()
350 data=(unsigned char *)xi->enc_data; in PEM_X509_INFO_write_bio()
/external/wpa_supplicant_8/src/tls/
Dpkcs5.h19 const u8 *enc_data, size_t enc_data_len,
Dpkcs5.c177 const u8 *enc_data, size_t enc_data_len, in pkcs5_decrypt() argument
210 if (crypto_cipher_decrypt(ctx, enc_data, eb, enc_data_len) < 0) { in pkcs5_decrypt()
/external/openssl/include/openssl/
Dpkcs7.h138 ASN1_OCTET_STRING *enc_data; /* [ 0 ] */ member
146 PKCS7_ENC_CONTENT *enc_data; member
157 PKCS7_ENC_CONTENT *enc_data; member
172 PKCS7_ENC_CONTENT *enc_data; member
Devp.h397 unsigned char enc_data[80]; /* data to encode */ member
Dx509.h519 char *enc_data; member
/external/kernel-headers/original/linux/
Dip.h116 __u8 enc_data[0]; /* Variable len but >=8. Mind the 64 bit alignment! */ member
/external/openssl/apps/
Dpkcs12.c717 p7->d.encrypted->enc_data->algorithm); in dump_certs_keys_p12()
/external/openssl/crypto/x509/
Dx509.h519 char *enc_data; member