Home
last modified time | relevance | path

Searched refs:tag_len (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/include/zephyr/crypto/
Dcipher.h88 uint16_t tag_len; member
100 uint16_t tag_len; member
/Zephyr-latest/drivers/crypto/
Dcrypto_tc_shim.c111 ccm_param->tag_len) == TC_CRYPTO_FAIL) { in do_ccm_encrypt_mac()
151 ccm_param->tag_len) == TC_CRYPTO_FAIL) { in do_ccm_decrypt_auth()
168 op->in_len + ccm_param->tag_len, in do_ccm_decrypt_auth()
174 op->out_len = op->in_len + ccm_param->tag_len; in do_ccm_decrypt_auth()
Dcrypto_mtls_shim.c192 ctx->mode_params.ccm_info.tag_len); in mtls_ccm_encrypt_auth()
204 apkt->pkt->out_len += ctx->mode_params.ccm_info.tag_len; in mtls_ccm_encrypt_auth()
221 ctx->mode_params.ccm_info.tag_len); in mtls_ccm_decrypt_auth()
235 apkt->pkt->out_len += ctx->mode_params.ccm_info.tag_len; in mtls_ccm_decrypt_auth()
254 ctx->mode_params.gcm_info.tag_len, in mtls_gcm_encrypt_auth()
264 apkt->pkt->out_len += ctx->mode_params.gcm_info.tag_len; in mtls_gcm_encrypt_auth()
280 ctx->mode_params.gcm_info.tag_len, in mtls_gcm_decrypt_auth()
294 apkt->pkt->out_len += ctx->mode_params.gcm_info.tag_len; in mtls_gcm_decrypt_auth()
Dcrypto_ataes132a.c402 const uint8_t tag_len = 16; in ataes132a_aes_ccm_encrypt() local
404 uint8_t param_buffer[key_id_len + buf_len_len + max_input_len + nonce_len + tag_len]; in ataes132a_aes_ccm_encrypt()
810 ctx->mode_params.ccm_info.tag_len != 16U) { in ataes132a_session_setup()
/Zephyr-latest/tests/benchmarks/wait_queues/src/
Dmain.c181 int tag_len = strlen(tag); in compute_and_report_stats() local
186 stag_len = (tag_len + stag_len < 40) ? 40 - tag_len : stag_len; in compute_and_report_stats()
/Zephyr-latest/tests/benchmarks/sched_queues/src/
Dmain.c192 int tag_len = strlen(tag); in compute_and_report_stats() local
197 stag_len = (tag_len + stag_len < 40) ? 40 - tag_len : stag_len; in compute_and_report_stats()
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_security.c58 sec_ctx->enc.mode_params.ccm_info.tag_len = authtag_len; in ieee802154_security_setup_session()
59 sec_ctx->dec.mode_params.ccm_info.tag_len = authtag_len; in ieee802154_security_setup_session()
Dieee802154_frame.c451 uint8_t hdr_len = sizeof(struct ieee802154_fcf_seq), tag_len = 0; in ieee802154_compute_header_and_authtag_len() local
501 tag_len = level_2_authtag_len[sec_ctx->level]; in ieee802154_compute_header_and_authtag_len()
503 tag_len = level_2_authtag_len[sec_ctx->level - 4U]; in ieee802154_compute_header_and_authtag_len()
512 NET_DBG("Computed authtag size: %u", tag_len); in ieee802154_compute_header_and_authtag_len()
515 *authtag_len = tag_len; in ieee802154_compute_header_and_authtag_len()
/Zephyr-latest/drivers/ieee802154/
Dieee802154_cc2520.c1206 if (!ctx->mode_params.ccm_info.tag_len) { in insert_crypto_parameters()
1224 apkt->pkt->in_len - ctx->mode_params.ccm_info.tag_len; in insert_crypto_parameters()
1227 if (ctx->mode_params.ccm_info.tag_len) { in insert_crypto_parameters()
1228 if ((ctx->mode_params.ccm_info.tag_len >> 2) > 3) { in insert_crypto_parameters()
1231 m = ctx->mode_params.ccm_info.tag_len >> 2; in insert_crypto_parameters()
1281 (m ? ctx->mode_params.ccm_info.tag_len : 0); in cc2520_crypto_ccm()
1300 ctx->mode_params.ccm_info.tag_len); in cc2520_crypto_ccm()
1319 if (ctx->mode_params.ccm_info.tag_len && !apkt->tag) { in cc2520_crypto_uccm()
/Zephyr-latest/samples/drivers/crypto/src/
Dmain.c405 .tag_len = 8, in ccm_mode()
517 .tag_len = 16, in gcm_mode()