Searched refs:tag_len (Results 1 – 10 of 10) sorted by relevance
88 uint16_t tag_len; member100 uint16_t tag_len; member
111 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()
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()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()
402 const uint8_t tag_len = 16; in ataes132a_aes_ccm_encrypt() local404 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()
181 int tag_len = strlen(tag); in compute_and_report_stats() local186 stag_len = (tag_len + stag_len < 40) ? 40 - tag_len : stag_len; in compute_and_report_stats()
192 int tag_len = strlen(tag); in compute_and_report_stats() local197 stag_len = (tag_len + stag_len < 40) ? 40 - tag_len : stag_len; in compute_and_report_stats()
58 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()
451 uint8_t hdr_len = sizeof(struct ieee802154_fcf_seq), tag_len = 0; in ieee802154_compute_header_and_authtag_len() local501 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()
1206 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()
405 .tag_len = 8, in ccm_mode()517 .tag_len = 16, in gcm_mode()