Searched refs:alen (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/ |
D | ccm_mode.c | 139 unsigned int alen, const uint8_t *payload, in tc_ccm_generation_encryption() argument 147 ((alen > 0) && (associated_data == (uint8_t *) 0)) || in tc_ccm_generation_encryption() 148 (alen >= TC_CCM_AAD_MAX_BYTES) || /* associated data size unsupported */ in tc_ccm_generation_encryption() 161 b[0] = ((alen > 0) ? 0x40 : 0) | (((c->mlen - 2) / 2 << 3)) | (1); in tc_ccm_generation_encryption() 170 if (alen > 0) { in tc_ccm_generation_encryption() 171 ccm_cbc_mac(tag, associated_data, alen, 1, c->sched); in tc_ccm_generation_encryption() 200 unsigned int alen, const uint8_t *payload, in tc_ccm_decryption_verification() argument 208 ((alen > 0) && (associated_data == (uint8_t *) 0)) || in tc_ccm_decryption_verification() 209 (alen >= TC_CCM_AAD_MAX_BYTES) || /* associated data size unsupported */ in tc_ccm_decryption_verification() 242 b[0] = ((alen > 0) ? 0x40 : 0) | (((c->mlen - 2) / 2 << 3)) | (1); in tc_ccm_decryption_verification() [all …]
|
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/ |
D | ccm_mode.h | 158 unsigned int alen, const uint8_t *payload, 204 unsigned int alen, const uint8_t *payload, unsigned int plen,
|
/hal_espressif-3.6.0/components/wpa_supplicant/src/crypto/ |
D | aes-siv.c | 42 static void xorend(u8 *a, int alen, const u8 *b, int blen) in xorend() argument 46 if (alen < blen) in xorend() 50 a[alen - blen + i] ^= b[i]; in xorend()
|
/hal_espressif-3.6.0/components/wpa_supplicant/src/common/ |
D | dpp.c | 266 u16 id, alen; in dpp_get_attr() local 272 alen = WPA_GET_LE16(pos); in dpp_get_attr() 274 if (alen > end - pos) in dpp_get_attr() 277 *ret_len = alen; in dpp_get_attr() 280 pos += alen; in dpp_get_attr() 290 u16 id, alen; in dpp_get_attr_next() local 300 alen = WPA_GET_LE16(pos); in dpp_get_attr_next() 302 if (alen > end - pos) in dpp_get_attr_next() 305 *ret_len = alen; in dpp_get_attr_next() 308 pos += alen; in dpp_get_attr_next() [all …]
|