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.c32 } enc_alg; member
246 params->enc_alg = PBES2_ENC_ALG_DES_EDE3_CBC; in pkcs5_get_params_pbes2()
277 static int pkcs5_get_params(const u8 *enc_alg, size_t enc_alg_len, in pkcs5_get_params() argument
287 enc_alg_end = enc_alg + enc_alg_len; in pkcs5_get_params()
291 if (asn1_get_oid(enc_alg, enc_alg_end - enc_alg, &oid, &pos)) { in pkcs5_get_params()
388 if (params->enc_alg != PBES2_ENC_ALG_DES_EDE3_CBC || in pkcs5_crypto_init_pbes2()
588 u8 * pkcs5_decrypt(const u8 *enc_alg, size_t enc_alg_len, in pkcs5_decrypt() argument
597 if (pkcs5_get_params(enc_alg, enc_alg_len, &params) < 0) { in pkcs5_decrypt()
Dpkcs8.c125 const u8 *pos, *end, *enc_alg; in pkcs8_enc_key_import() local
163 enc_alg = hdr.payload; in pkcs8_enc_key_import()
177 data = pkcs5_decrypt(enc_alg, enc_alg_len, hdr.payload, hdr.length, in pkcs8_enc_key_import()
Dpkcs5.h12 u8 * pkcs5_decrypt(const u8 *enc_alg, size_t enc_alg_len,
Dtlsv1_cred.c774 const u8 *enc_alg; in pkcs12_parse_content_enc_data() local
854 enc_alg = hdr.payload; in pkcs12_parse_content_enc_data()
868 data = pkcs5_decrypt(enc_alg, enc_alg_len, hdr.payload, hdr.length, in pkcs12_parse_content_enc_data()