Home
last modified time | relevance | path

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

/Zephyr-latest/tests/bsim/bluetooth/host/att/eatt/src/
Dcommon.c19 static volatile bool is_encrypted; variable
56 is_encrypted = false; in disconnected()
63 is_encrypted = true; in security_changed()
129 while (!is_encrypted) { in central_setup_and_connect()
153 while (!is_encrypted) { in peripheral_setup_and_connect()
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_security.c107 bool is_encrypted; in prepare_cipher_aead_pkt() local
111 is_encrypted = level > IEEE802154_SECURITY_LEVEL_ENC; in prepare_cipher_aead_pkt()
115 pkt->in_buf = is_encrypted && payload_len ? frame + ll_hdr_len : NULL; in prepare_cipher_aead_pkt()
116 pkt->in_len = is_encrypted ? payload_len : 0; in prepare_cipher_aead_pkt()
119 uint8_t out_buf_offset = is_encrypted ? ll_hdr_len : ll_hdr_len + payload_len; in prepare_cipher_aead_pkt()
123 pkt->out_buf_max = (is_encrypted ? payload_len : 0) + authtag_len; in prepare_cipher_aead_pkt()