Searched refs:cipher_type (Results 1 – 5 of 5) sorted by relevance
44 uint64_t cipher_type : 4; member62 uint64_t cipher_type : 4;
398 fctx->w0.cipher_type = type; in configure_cipher_ctx()510 fctx->w0.cipher_type = CIPHER_AES_GCM; in configure_aead_ctx()
422 enum spu2_cipher_type cipher_type, in spu2_fmd_ctrl0_write() argument429 if (cipher_type != SPU2_CIPHER_TYPE_NONE && !is_inbound) in spu2_fmd_ctrl0_write()432 ctrl0 |= ((uint64_t)cipher_type << SPU2_CIPH_TYPE_SHIFT) | in spu2_fmd_ctrl0_write()
400 uint32_t cipher_type, hash_type; in cpt_enc_hmac_prep() local423 cipher_type = se_ctx->enc_cipher; in cpt_enc_hmac_prep()468 if ((cipher_type == ROC_SE_DES3_CBC) || in cpt_enc_hmac_prep()469 (cipher_type == ROC_SE_DES3_ECB)) in cpt_enc_hmac_prep()472 else if (likely((cipher_type == ROC_SE_AES_CBC) || in cpt_enc_hmac_prep()473 (cipher_type == ROC_SE_AES_ECB))) in cpt_enc_hmac_prep()
662 uint32_t cipher_type, hash_type; in cpt_enc_hmac_prep() local695 cipher_type = cpt_ctx->enc_cipher; in cpt_enc_hmac_prep()766 if ((cipher_type == DES3_CBC) || (cipher_type == DES3_ECB)) in cpt_enc_hmac_prep()769 else if (likely((cipher_type == AES_CBC) || in cpt_enc_hmac_prep()770 (cipher_type == AES_ECB))) in cpt_enc_hmac_prep()