Lines Matching refs:payload
79 const uint8_t randomizer[BT_EAD_RANDOMIZER_SIZE], const uint8_t *payload, in ead_encrypt() argument
93 err = bt_ccm_encrypt(session_key, nonce, payload, payload_size, bt_ead_aad, BT_EAD_AAD_SIZE, in ead_encrypt()
106 const uint8_t *payload, size_t payload_size, uint8_t *encrypted_payload) in bt_ead_encrypt() argument
118 CHECKIF(payload == NULL) { in bt_ead_encrypt()
133 return ead_encrypt(session_key, iv, NULL, payload, payload_size, encrypted_payload); in bt_ead_encrypt()
140 const uint8_t randomizer[BT_EAD_RANDOMIZER_SIZE], const uint8_t *payload, in bt_test_ead_encrypt() argument
158 CHECKIF(payload == NULL) { in bt_test_ead_encrypt()
173 return ead_encrypt(session_key, iv, randomizer, payload, payload_size, encrypted_payload); in bt_test_ead_encrypt()
180 uint8_t *payload) in ead_decrypt() argument
198 BT_EAD_AAD_SIZE, payload, BT_EAD_MIC_SIZE); in ead_decrypt()
199 LOG_HEXDUMP_DBG(payload, payload_size, "Decrypted Data: "); in ead_decrypt()
210 uint8_t *payload) in bt_ead_decrypt() argument
227 CHECKIF(payload == NULL) { in bt_ead_decrypt()
239 return ead_decrypt(session_key, iv, encrypted_payload, encrypted_payload_size, payload); in bt_ead_decrypt()