Searched refs:mode_params (Results 1 – 10 of 10) sorted by relevance
188 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()250 ctx->mode_params.gcm_info.nonce_len, in mtls_gcm_encrypt_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()277 ctx->mode_params.gcm_info.nonce_len, in mtls_gcm_decrypt_auth()[all …]
81 int ivlen = ctx->keylen - (ctx->mode_params.ctr_info.ctr_len >> 3); in do_ctr_op()106 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()228 if (ctx->mode_params.ctr_info.ctr_len != 32U) { in tc_session_setup()249 if (ctx->mode_params.ctr_info.ctr_len != 32U) { in tc_session_setup()
919 switch (ctx->mode_params.ctr_info.ctr_len) { in crypto_si32_aes_ctr_op()927 LOG_ERR("Unsupported counter length: %" PRIu16, ctx->mode_params.ctr_info.ctr_len); in crypto_si32_aes_ctr_op()987 switch (ctx->mode_params.ctr_info.ctr_len) { in crypto_si32_aes_ctr_op()992 LOG_ERR("Unsupported counter length: %" PRIu16, ctx->mode_params.ctr_info.ctr_len); in crypto_si32_aes_ctr_op()1084 if (ctx->mode_params.ctr_info.ctr_len != 32U) { in crypto_si32_begin_session()
265 int ivlen = BLOCK_LEN_BYTES - (ctx->mode_params.ctr_info.ctr_len >> 3); in crypto_stm32_ctr_encrypt()288 int ivlen = BLOCK_LEN_BYTES - (ctx->mode_params.ctr_info.ctr_len >> 3); in crypto_stm32_ctr_decrypt()
810 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()
651 uint32_t iv_len = ctx->keylen - (ctx->mode_params.ctr_info.ctr_len >> 3); in crypto_smartbond_cipher_ctr_handler()
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()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()
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()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()
156 } mode_params; member
307 .mode_params.ctr_info.ctr_len = 32, in ctr_mode()403 .mode_params.ccm_info = { in ccm_mode()515 .mode_params.gcm_info = { in gcm_mode()