Lines Matching refs:maclen
59 int maclen,
71 int maclen,
336 int maclen, //Size of the MAC/MIC in bytes in BLECrypt_if_encrypt_packet_v3() argument
345 maclen = BS_MAX(maclen, 4); in BLECrypt_if_encrypt_packet_v3()
352 maclen, in BLECrypt_if_encrypt_packet_v3()
369 if (maclen > 0) { in BLECrypt_if_encrypt_packet_v3()
372 if (maclen > 1) { in BLECrypt_if_encrypt_packet_v3()
375 if (maclen > 2) { in BLECrypt_if_encrypt_packet_v3()
378 for (int i = 3 ; i < maclen; i++) { in BLECrypt_if_encrypt_packet_v3()
390 int maclen, //Size of the MAC/MIC in bytes in BLECrypt_if_decrypt_packet_v3() argument
404 maclen, in BLECrypt_if_decrypt_packet_v3()
428 memcpy(decrypted_packet_payload, mdata_and_mac, BS_MAX(mlen - maclen,0)); in BLECrypt_if_decrypt_packet_v3()