Searched refs:maclen (Results 1 – 5 of 5) 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() 116 unsigned int maclen; in PKCS12_verify_mac() local 121 if (!PKCS12_gen_mac (p12, pass, passlen, mac, &maclen)) { in PKCS12_verify_mac() 125 if ((maclen != (unsigned int)p12->mac->dinfo->digest->length) in PKCS12_verify_mac() 126 || memcmp (mac, p12->mac->dinfo->digest->data, maclen)) return 0; in PKCS12_verify_mac() 136 unsigned int maclen; in PKCS12_set_mac() local 144 if (!PKCS12_gen_mac (p12, pass, passlen, mac, &maclen)) { in PKCS12_set_mac() 148 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/openssh/ |
D | packet.c | 1239 u_int maclen, block_size; in packet_read_poll2() local 1252 maclen = mac && mac->enabled ? mac->mac_len : 0; in packet_read_poll2() 1285 need, maclen)); in packet_read_poll2() 1297 if (buffer_len(&active_state->input) < need + maclen) in packet_read_poll2()
|
/external/openssl/include/openssl/ |
D | pkcs12.h | 226 unsigned char *mac, unsigned int *maclen);
|