/openssl/crypto/pkcs12/ |
H A D | p12_add.c | 129 X509_ALGOR_free(p7->d.encrypted->enc_data->algorithm); in PKCS12_pack_p7encdata_ex() 130 p7->d.encrypted->enc_data->algorithm = pbe; in PKCS12_pack_p7encdata_ex() 131 ASN1_OCTET_STRING_free(p7->d.encrypted->enc_data->enc_data); in PKCS12_pack_p7encdata_ex() 132 if (!(p7->d.encrypted->enc_data->enc_data = in PKCS12_pack_p7encdata_ex() 167 return PKCS12_item_decrypt_d2i_ex(p7->d.encrypted->enc_data->algorithm, in STACK_OF() 170 p7->d.encrypted->enc_data->enc_data, 1, in STACK_OF()
|
H A D | p12_npas.c | 84 || !alg_get(p7->d.encrypted->enc_data->algorithm, in newpass_p12()
|
/openssl/test/ |
H A D | bio_pw_callback_test.c | 154 static int re_encrypt_key(char **enc_data, int *enc_data_size, in re_encrypt_key() argument 163 if (!TEST_ptr(enc_data)) in re_encrypt_key() 187 *enc_data_size = BIO_get_mem_data(bio, enc_data); in re_encrypt_key() 199 static int decrypt_key(char *enc_data, int enc_data_size, in decrypt_key() argument 209 if (!TEST_ptr(bio = BIO_new_mem_buf(enc_data, enc_data_size))) in decrypt_key() 243 char *enc_data = NULL; in full_cycle_test() local 248 if (!re_encrypt_key(&enc_data, &enc_data_size, key_encoding)) in full_cycle_test() 251 if (!decrypt_key(enc_data, enc_data_size, key_encoding, in full_cycle_test() 256 OPENSSL_free(enc_data); in full_cycle_test()
|
H A D | evp_extra_test2.c | 653 char *enc_data = NULL; in test_pkcs8key_nid_bio() local 665 && TEST_int_gt(enc_datalen = BIO_get_mem_data(enc_bio, &enc_data), 0) in test_pkcs8key_nid_bio()
|
/openssl/crypto/evp/ |
H A D | encode.c | 171 OPENSSL_assert(ctx->length <= (int)sizeof(ctx->enc_data)); in EVP_EncodeUpdate() 173 memcpy(&(ctx->enc_data[ctx->num]), in, inl); in EVP_EncodeUpdate() 179 memcpy(&(ctx->enc_data[ctx->num]), in, i); in EVP_EncodeUpdate() 182 j = evp_encodeblock_int(ctx, out, ctx->enc_data, ctx->length); in EVP_EncodeUpdate() 210 memcpy(&(ctx->enc_data[0]), in, inl); in EVP_EncodeUpdate() 222 ret = evp_encodeblock_int(ctx, out, ctx->enc_data, ctx->num); in EVP_EncodeFinal() 311 d = ctx->enc_data; in EVP_DecodeUpdate() 367 OPENSSL_assert(n < (int)sizeof(ctx->enc_data)); in EVP_DecodeUpdate() 470 i = evp_decodeblock_int(ctx, out, ctx->enc_data, ctx->num); in EVP_DecodeFinal()
|
H A D | evp_local.h | 264 unsigned char enc_data[80]; member
|
/openssl/crypto/pkcs7/ |
H A D | pk7_lib.c | 142 p7->d.signed_and_enveloped->enc_data->content_type in PKCS7_set_type() 152 p7->d.enveloped->enc_data->content_type = OBJ_nid2obj(NID_pkcs7_data); in PKCS7_set_type() 161 p7->d.encrypted->enc_data->content_type = OBJ_nid2obj(NID_pkcs7_data); in PKCS7_set_type() 689 ec = p7->d.signed_and_enveloped->enc_data; in PKCS7_set_cipher() 692 ec = p7->d.enveloped->enc_data; in PKCS7_set_cipher() 722 os = p7->d.signed_and_enveloped->enc_data->enc_data; in PKCS7_stream() 725 p7->d.signed_and_enveloped->enc_data->enc_data = os; in PKCS7_stream() 730 os = p7->d.enveloped->enc_data->enc_data; in PKCS7_stream() 733 p7->d.enveloped->enc_data->enc_data = os; in PKCS7_stream()
|
H A D | pk7_doit.c | 285 xalg = p7->d.signed_and_enveloped->enc_data->algorithm; in PKCS7_dataInit() 286 evp_cipher = p7->d.signed_and_enveloped->enc_data->cipher; in PKCS7_dataInit() 294 xalg = p7->d.enveloped->enc_data->algorithm; in PKCS7_dataInit() 295 evp_cipher = p7->d.enveloped->enc_data->cipher; in PKCS7_dataInit() 494 data_body = p7->d.signed_and_enveloped->enc_data->enc_data; in PKCS7_dataDecode() 515 enc_alg = p7->d.enveloped->enc_data->algorithm; in PKCS7_dataDecode() 517 data_body = p7->d.enveloped->enc_data->enc_data; in PKCS7_dataDecode() 808 os = p7->d.signed_and_enveloped->enc_data->enc_data; in PKCS7_dataFinal() 815 p7->d.signed_and_enveloped->enc_data->enc_data = os; in PKCS7_dataFinal() 820 os = p7->d.enveloped->enc_data->enc_data; in PKCS7_dataFinal() [all …]
|
H A D | pk7_asn1.c | 174 ASN1_SIMPLE(PKCS7_ENVELOPE, enc_data, PKCS7_ENC_CONTENT) 202 ASN1_IMP_OPT(PKCS7_ENC_CONTENT, enc_data, ASN1_OCTET_STRING_NDEF, 0) 211 ASN1_SIMPLE(PKCS7_SIGN_ENVELOPE, enc_data, PKCS7_ENC_CONTENT), 221 ASN1_SIMPLE(PKCS7_ENCRYPT, enc_data, PKCS7_ENC_CONTENT)
|
/openssl/crypto/pem/ |
H A D | pem_info.c | 137 xi->enc_data = NULL; in STACK_OF() 175 xi->enc_data = (char *)data; in STACK_OF() 193 (xi->x_pkey != NULL) || (xi->enc_data != NULL)) { in STACK_OF() 254 if ((xi->enc_data != NULL) && (xi->enc_len > 0)) { in PEM_X509_INFO_write_bio() 262 data = (unsigned char *)xi->enc_data; in PEM_X509_INFO_write_bio()
|
/openssl/ssl/quic/ |
H A D | quic_local.h | 321 q_connect, enc_data) \ argument 353 &enc_data, \
|
/openssl/crypto/asn1/ |
H A D | x_info.c | 35 OPENSSL_free(x->enc_data); in X509_INFO_free()
|
/openssl/include/openssl/ |
H A D | pkcs7.h.in | 103 ASN1_OCTET_STRING *enc_data; /* [ 0 ] */ member 111 PKCS7_ENC_CONTENT *enc_data; member 120 PKCS7_ENC_CONTENT *enc_data; member 133 PKCS7_ENC_CONTENT *enc_data; member
|
H A D | x509.h.in | 226 char *enc_data; member
|
/openssl/ssl/ |
H A D | ssl_local.h | 2300 s_connect, enc_data) \ argument 2332 &enc_data, \ 2381 s_connect, enc_data) \ argument 2413 &enc_data, \
|
/openssl/apps/ |
H A D | pkcs12.c | 962 alg_print(p7->d.encrypted->enc_data->algorithm); in dump_certs_keys_p12()
|