Searched refs:encrypted_payload_size (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/ |
D | ead.h | 43 #define BT_EAD_DECRYPTED_PAYLOAD_SIZE(encrypted_payload_size) \ argument 44 ((encrypted_payload_size) - (BT_EAD_RANDOMIZER_SIZE + BT_EAD_MIC_SIZE)) 104 const uint8_t *encrypted_payload, size_t encrypted_payload_size,
|
/Zephyr-Core-3.7.0/subsys/bluetooth/lib/ |
D | ead.c | 179 const uint8_t *encrypted_payload, size_t encrypted_payload_size, in ead_decrypt() argument 185 size_t encrypted_ad_data_size = encrypted_payload_size - BT_EAD_RANDOMIZER_SIZE; in ead_decrypt() 209 const uint8_t *encrypted_payload, size_t encrypted_payload_size, in bt_ead_decrypt() argument 232 if (encrypted_payload_size < BT_EAD_RANDOMIZER_SIZE + BT_EAD_MIC_SIZE) { in bt_ead_decrypt() 235 } else if (encrypted_payload_size == BT_EAD_RANDOMIZER_SIZE + BT_EAD_MIC_SIZE) { in bt_ead_decrypt() 239 return ead_decrypt(session_key, iv, encrypted_payload, encrypted_payload_size, payload); in bt_ead_decrypt()
|