Home
last modified time | relevance | path

Searched refs:ccm_info (Results 1 – 7 of 7) sorted by relevance

/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()
224 sec_ctx->enc.mode_params.ccm_info.nonce_len = 13U; in ieee802154_security_init()
225 sec_ctx->dec.mode_params.ccm_info.nonce_len = 13U; in ieee802154_security_init()
/Zephyr-latest/drivers/crypto/
Dcrypto_mtls_shim.c188 ctx->mode_params.ccm_info.nonce_len, in mtls_ccm_encrypt_auth()
192 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()
217 ctx->mode_params.ccm_info.nonce_len, in mtls_ccm_decrypt_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()
Dcrypto_tc_shim.c106 struct ccm_params *ccm_param = &ctx->mode_params.ccm_info; in do_ccm_encrypt_mac()
146 struct ccm_params *ccm_param = &ctx->mode_params.ccm_info; in do_ccm_decrypt_auth()
Dcrypto_ataes132a.c810 ctx->mode_params.ccm_info.tag_len != 16U) { in ataes132a_session_setup()
815 ctx->mode_params.ccm_info.nonce_len != 12U) { in ataes132a_session_setup()
/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()
1364 if (ctx->mode_params.ccm_info.nonce_len != 13U) { in cc2520_crypto_begin_session()
1366 ctx->mode_params.ccm_info.nonce_len); in cc2520_crypto_begin_session()
/Zephyr-latest/include/zephyr/crypto/
Dcipher.h153 struct ccm_params ccm_info; member
/Zephyr-latest/samples/drivers/crypto/src/
Dmain.c403 .mode_params.ccm_info = { in ccm_mode()