Home
last modified time | relevance | path

Searched refs:pbkdf2_param (Results 1 – 2 of 2) sorted by relevance

/openssl/crypto/pkcs12/
H A Dp12_mutl.c85 PBKDF2PARAM *pbkdf2_param = NULL; in PBMAC1_get1_pbkdf2_param() local
101 pbkdf2_param = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBKDF2PARAM), in PBMAC1_get1_pbkdf2_param()
105 return pbkdf2_param; in PBMAC1_get1_pbkdf2_param()
112 PBKDF2PARAM *pbkdf2_param = NULL; in PBMAC1_PBKDF2_HMAC() local
120 pbkdf2_param = PBMAC1_get1_pbkdf2_param(macalg); in PBMAC1_PBKDF2_HMAC()
121 if (pbkdf2_param == NULL) { in PBMAC1_PBKDF2_HMAC()
125 keylen = ASN1_INTEGER_get(pbkdf2_param->keylength); in PBMAC1_PBKDF2_HMAC()
126 pbkdf2_salt = pbkdf2_param->salt->value.octet_string; in PBMAC1_PBKDF2_HMAC()
128 if (pbkdf2_param->prf == NULL) { in PBMAC1_PBKDF2_HMAC()
131 X509_ALGOR_get0(&kdf_hmac_oid, NULL, NULL, pbkdf2_param->prf); in PBMAC1_PBKDF2_HMAC()
[all …]
/openssl/apps/
H A Dpkcs12.c796 PBKDF2PARAM *pbkdf2_param = PBMAC1_get1_pbkdf2_param(macalgid); in pkcs12_main() local
798 if (pbkdf2_param == NULL) { in pkcs12_main()
805 ASN1_INTEGER_get(pbkdf2_param->iter)); in pkcs12_main()
807 ASN1_INTEGER_get(pbkdf2_param->keylength), in pkcs12_main()
808 ASN1_STRING_length(pbkdf2_param->salt->value.octet_string)); in pkcs12_main()
809 if (pbkdf2_param->prf == NULL) { in pkcs12_main()
812 X509_ALGOR_get0(&prfobj, NULL, NULL, pbkdf2_param->prf); in pkcs12_main()
817 PBKDF2PARAM_free(pbkdf2_param); in pkcs12_main()

Completed in 16 milliseconds