Home
last modified time | relevance | path

Searched refs:size_ead (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/src/
Dperipheral.c55 uint8_t ead[sample_data->size_ead]; in set_ad_data()
58 size_t size_ead = BT_EAD_ENCRYPTED_PAYLOAD_SIZE(size_ad_data); in set_ad_data() local
60 if (size_ead != sample_data->size_ead) { in set_ad_data()
61 LOG_ERR("Size of ead: %zu\n", size_ead); in set_ad_data()
62 LOG_ERR("Size of sample_ead: %zu", sample_data->size_ead); in set_ad_data()
73 } else if (memcmp(ead, sample_data->ead, sample_data->size_ead) != 0) { in set_ad_data()
74 LOG_HEXDUMP_ERR(ead, size_ead, "Encrypted data from bt_ead_encrypt:"); in set_ad_data()
75 LOG_HEXDUMP_ERR(sample_data->ead, sample_data->size_ead, in set_ad_data()
82 LOG_HEXDUMP_DBG(ead, size_ead, "Encrypted data:"); in set_ad_data()
84 ead_struct.data_len = size_ead; in set_ad_data()
Dcommon.h81 const size_t size_ead; member
109 .size_ead = SIZE_SAMPLE_EAD_1,
136 .size_ead = SIZE_SAMPLE_EAD_2,