Searched refs:macoct (Results 1 – 2 of 2) sorted by relevance
| /freebsd/crypto/openssl/crypto/pkcs12/ |
| H A D | p12_mutl.c | 314 const ASN1_OCTET_STRING *macoct; in PKCS12_verify_mac() local 350 X509_SIG_get0(p12->mac->dinfo, NULL, &macoct); in PKCS12_verify_mac() 351 if ((maclen != (unsigned int)ASN1_STRING_length(macoct)) in PKCS12_verify_mac() 352 || CRYPTO_memcmp(mac, ASN1_STRING_get0_data(macoct), maclen) != 0) in PKCS12_verify_mac() 365 ASN1_OCTET_STRING *macoct; in PKCS12_set_mac() local 383 X509_SIG_getm(p12->mac->dinfo, NULL, &macoct); in PKCS12_set_mac() 384 if (!ASN1_OCTET_STRING_set(macoct, mac, maclen)) { in PKCS12_set_mac() 458 ASN1_OCTET_STRING *macoct; in PKCS12_set_pbmac1_pbkdf2() local 525 X509_SIG_getm(p12->mac->dinfo, &macalg, &macoct); in PKCS12_set_pbmac1_pbkdf2() 538 if (!ASN1_OCTET_STRING_set(macoct, mac, maclen)) { in PKCS12_set_pbmac1_pbkdf2()
|
| H A D | p12_npas.c | 66 ASN1_OCTET_STRING *p12_data_tmp = NULL, *macoct = NULL; in newpass_p12() local 119 X509_SIG_getm(p12->mac->dinfo, NULL, &macoct); in newpass_p12() 120 if (!ASN1_OCTET_STRING_set(macoct, mac, maclen)) in newpass_p12()
|