Home
last modified time | relevance | path

Searched refs:enc_alg (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/tls/
Dpkcs5.c51 static int pkcs5_get_params(const u8 *enc_alg, size_t enc_alg_len, in pkcs5_get_params() argument
61 enc_alg_end = enc_alg + enc_alg_len; in pkcs5_get_params()
65 if (asn1_get_oid(enc_alg, enc_alg_end - enc_alg, &oid, &pos)) { in pkcs5_get_params()
176 u8 * pkcs5_decrypt(const u8 *enc_alg, size_t enc_alg_len, in pkcs5_decrypt() argument
185 if (pkcs5_get_params(enc_alg, enc_alg_len, &params) < 0) { in pkcs5_decrypt()
Dpkcs8.c131 const u8 *pos, *end, *enc_alg; in pkcs8_enc_key_import() local
169 enc_alg = hdr.payload; in pkcs8_enc_key_import()
183 data = pkcs5_decrypt(enc_alg, enc_alg_len, hdr.payload, hdr.length, in pkcs8_enc_key_import()
Dpkcs5.h18 u8 * pkcs5_decrypt(const u8 *enc_alg, size_t enc_alg_len,
/external/openssl/crypto/pkcs7/
Dpk7_doit.c422 X509_ALGOR *enc_alg=NULL; in PKCS7_dataDecode() local
440 enc_alg=p7->d.signed_and_enveloped->enc_data->algorithm; in PKCS7_dataDecode()
441 evp_cipher=EVP_get_cipherbyobj(enc_alg->algorithm); in PKCS7_dataDecode()
450 enc_alg=p7->d.enveloped->enc_data->algorithm; in PKCS7_dataDecode()
452 evp_cipher=EVP_get_cipherbyobj(enc_alg->algorithm); in PKCS7_dataDecode()
566 if (EVP_CIPHER_asn1_to_param(evp_ctx,enc_alg->parameter) < 0) in PKCS7_dataDecode()