Searched refs:maclen (Results 1 – 4 of 4) sorted by relevance
/external/openssl/crypto/pkcs12/ |
D | p12_mutl.c | 68 unsigned char *mac, unsigned int *maclen) in PKCS12_gen_mac() argument 103 HMAC_Final(&hmac, mac, maclen); in PKCS12_gen_mac() 112 unsigned int maclen; in PKCS12_verify_mac() local 117 if (!PKCS12_gen_mac (p12, pass, passlen, mac, &maclen)) { in PKCS12_verify_mac() 121 if ((maclen != (unsigned int)p12->mac->dinfo->digest->length) in PKCS12_verify_mac() 122 || memcmp (mac, p12->mac->dinfo->digest->data, maclen)) return 0; in PKCS12_verify_mac() 132 unsigned int maclen; in PKCS12_set_mac() local 140 if (!PKCS12_gen_mac (p12, pass, passlen, mac, &maclen)) { in PKCS12_set_mac() 144 if (!(M_ASN1_OCTET_STRING_set (p12->mac->dinfo->digest, mac, maclen))) { in PKCS12_set_mac()
|
D | p12_npas.c | 112 unsigned int maclen; in newpass_p12() local 159 if(!PKCS12_gen_mac(p12, newpass, -1, mac, &maclen)) goto saferr; in newpass_p12() 161 if(!ASN1_OCTET_STRING_set(macnew, mac, maclen)) goto saferr; in newpass_p12()
|
D | pkcs12.h | 226 unsigned char *mac, unsigned int *maclen);
|
/external/openssl/include/openssl/ |
D | pkcs12.h | 226 unsigned char *mac, unsigned int *maclen);
|