Searched refs:macoct (Results 1 – 2 of 2) sorted by relevance
/third_party/openssl/crypto/pkcs12/ |
D | p12_mutl.c | 154 const ASN1_OCTET_STRING *macoct; in PKCS12_verify_mac() local 165 X509_SIG_get0(p12->mac->dinfo, NULL, &macoct); in PKCS12_verify_mac() 166 if ((maclen != (unsigned int)ASN1_STRING_length(macoct)) in PKCS12_verify_mac() 167 || CRYPTO_memcmp(mac, ASN1_STRING_get0_data(macoct), maclen) != 0) in PKCS12_verify_mac() 181 ASN1_OCTET_STRING *macoct; in PKCS12_set_mac() local 197 X509_SIG_getm(p12->mac->dinfo, NULL, &macoct); in PKCS12_set_mac() 198 if (!ASN1_OCTET_STRING_set(macoct, mac, maclen)) { in PKCS12_set_mac()
|
D | p12_npas.c | 65 ASN1_OCTET_STRING *p12_data_tmp = NULL, *macoct = NULL; in newpass_p12() local 113 X509_SIG_getm(p12->mac->dinfo, NULL, &macoct); in newpass_p12() 114 if (!ASN1_OCTET_STRING_set(macoct, mac, maclen)) in newpass_p12()
|