Home
last modified time | relevance | path

Searched refs:MIC_LEN (Results 1 – 3 of 3) sorted by relevance

/babblesim_ext_libCryptov1-latest/src/
Dblecrypt.c126 EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_CCM_SET_TAG, MIC_LEN, NULL); in blecrypt_packet_encrypt_v2()
136 EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_CCM_GET_TAG, MIC_LEN, (ct += outlen)); in blecrypt_packet_encrypt_v2()
192 EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_CCM_SET_TAG, MIC_LEN, (uint8_t[MIC_LEN]){0}); in blecrypt_packet_decrypt_v2()
197 … EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_CCM_SET_TAG, MIC_LEN, (uint8_t *) ct + packet_payload_len); in blecrypt_packet_decrypt_v2()
Dblecrypt_unittest.c112 int packet_payload_len = packet_payload_and_mic_len - MIC_LEN; in test_packet_encryption()
147 int packet_payload_len = encrypted_packet[1] - (no_mic ? 0 : MIC_LEN); in test_packet_decryption()
Dblecrypt.h24 #define MIC_LEN BLE_CCM_M macro