| /drivers/crypto/marvell/octeontx2/ |
| A D | otx2_cptvf_algs.c | 140 if (ctx->cipher_type == OTX2_CPT_AES_CBC || in output_iv_copyback() 263 if (ctx->cipher_type == OTX2_CPT_AES_XTS) in create_ctx_hdr() 428 ctx->cipher_type = OTX2_CPT_AES_XTS; in otx2_cpt_skcipher_xts_setkey() 446 u32 keylen, u8 cipher_type) in cpt_des_setkey() argument 454 ctx->cipher_type = cipher_type; in cpt_des_setkey() 463 u32 keylen, u8 cipher_type) in cpt_aes_setkey() argument 480 if (cipher_type == OTX2_CPT_AES_CBC || cipher_type == OTX2_CPT_AES_ECB) in cpt_aes_setkey() 486 ctx->cipher_type = cipher_type; in cpt_aes_setkey() 600 ctx->cipher_type = cipher_type; in cpt_aead_init() 655 switch (ctx->cipher_type) { in cpt_aead_init() [all …]
|
| A D | otx2_cptvf_algs.h | 123 u8 cipher_type; member 173 u8 cipher_type; member
|
| /drivers/crypto/marvell/octeontx/ |
| A D | otx_cptvf_algs.c | 157 if (ctx->cipher_type == OTX_CPT_AES_CBC || in output_iv_copyback() 158 ctx->cipher_type == OTX_CPT_DES3_CBC) { in output_iv_copyback() 257 if ((ctx->cipher_type == OTX_CPT_AES_CBC || in create_ctx_hdr() 277 if (ctx->cipher_type == OTX_CPT_AES_XTS) in create_ctx_hdr() 408 ctx->cipher_type = OTX_CPT_AES_XTS; in otx_cpt_skcipher_xts_setkey() 424 u32 keylen, u8 cipher_type) in cpt_des_setkey() argument 432 ctx->cipher_type = cipher_type; in cpt_des_setkey() 440 u32 keylen, u8 cipher_type) in cpt_aes_setkey() argument 458 ctx->cipher_type = cipher_type; in cpt_aes_setkey() 510 ctx->cipher_type = cipher_type; in cpt_aead_init() [all …]
|
| A D | otx_cptvf_algs.h | 132 u8 cipher_type; member 177 u8 cipher_type; member
|
| /drivers/crypto/cavium/cpt/ |
| A D | cptvf_algs.c | 121 fctx->enc.enc_ctrl.e.enc_cipher = ctx->cipher_type; in create_ctx_hdr() 125 if (ctx->cipher_type == AES_XTS) in create_ctx_hdr() 246 ctx->cipher_type = AES_XTS; in cvm_xts_setkey() 279 if (ctx->cipher_type == DES3_CBC) in cvm_validate_keylen() 289 u32 keylen, u8 cipher_type) in cvm_setkey() argument 293 ctx->cipher_type = cipher_type; in cvm_setkey()
|
| A D | cptvf_algs.h | 27 enum cipher_type { enum 101 u8 cipher_type:4; member
|
| /drivers/crypto/bcm/ |
| A D | spu2.c | 60 static char *spu2_ciph_type_name(enum spu2_cipher_type cipher_type) in spu2_ciph_type_name() argument 62 if (cipher_type >= SPU2_CIPHER_TYPE_LAST) in spu2_ciph_type_name() 64 return spu2_cipher_type_names[cipher_type]; in spu2_ciph_type_name() 139 enum spu_cipher_type cipher_type, in spu2_cipher_xlate() argument 167 switch (cipher_type) { in spu2_cipher_xlate() 189 cipher_alg, cipher_type); in spu2_cipher_xlate() 613 enum spu2_cipher_type cipher_type, in spu2_fmd_ctrl0_write() argument 620 if ((cipher_type != SPU2_CIPHER_TYPE_NONE) && !is_inbound) in spu2_fmd_ctrl0_write() 623 ctrl0 |= ((u64)cipher_type << SPU2_CIPH_TYPE_SHIFT) | in spu2_fmd_ctrl0_write()
|
| A D | spu.c | 33 u32 cipher_type; in spum_dump_msg_hdr() local 78 cipher_type = (cflags & CIPHER_TYPE) >> CIPHER_TYPE_SHIFT; in spum_dump_msg_hdr() 80 cipher_alg, cipher_mode, cipher_type); in spum_dump_msg_hdr() 150 switch (cipher_type) { in spum_dump_msg_hdr() 226 switch (cipher_type) { in spum_dump_msg_hdr()
|
| A D | cipher.c | 327 cipher_parms.type = ctx->cipher_type; in handle_skcipher_req() 717 cipher_parms.type = ctx->cipher_type; in handle_ahash_req() 1303 cipher_parms.type = ctx->cipher_type; in handle_aead_req() 1774 ctx->cipher_type = CIPHER_TYPE_DES; in des_setkey() 1788 ctx->cipher_type = CIPHER_TYPE_3DES; in threedes_setkey() 1803 ctx->cipher_type = CIPHER_TYPE_AES128; in aes_setkey() 1806 ctx->cipher_type = CIPHER_TYPE_AES192; in aes_setkey() 1809 ctx->cipher_type = CIPHER_TYPE_AES256; in aes_setkey() 1871 cipher_parms.type = ctx->cipher_type; in skcipher_setkey() 2757 ctx->cipher_type = CIPHER_TYPE_DES; in aead_authenc_setkey() [all …]
|
| A D | cipher.h | 197 enum spu_cipher_type cipher_type; member
|
| /drivers/crypto/cavium/nitrox/ |
| A D | nitrox_skcipher.c | 173 enum flexi_cipher cipher_type; in nitrox_skcipher_setkey() local 177 cipher_type = flexi_cipher_type(name); in nitrox_skcipher_setkey() 178 if (unlikely(cipher_type == CIPHER_INVALID)) { in nitrox_skcipher_setkey() 187 flags->w0.cipher_type = cipher_type; in nitrox_skcipher_setkey()
|
| A D | nitrox_req.h | 155 u64 cipher_type : 4; member 173 u64 cipher_type : 4;
|
| A D | nitrox_aead.c | 316 flags->w0.cipher_type = CIPHER_AES_GCM; in nitrox_gcm_common_init()
|
| /drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
| A D | chtls_main.c | 497 int cipher_type; in do_chtls_setsockopt() local 524 switch (tmp_crypto_info.cipher_type) { in do_chtls_setsockopt() 541 cipher_type = TLS_CIPHER_AES_GCM_128; in do_chtls_setsockopt() 558 cipher_type = TLS_CIPHER_AES_GCM_256; in do_chtls_setsockopt() 565 rc = chtls_setkey(csk, keylen, optname, cipher_type); in do_chtls_setsockopt()
|
| A D | chtls_hw.c | 244 int cipher_type) in chtls_key_info() argument 259 switch (cipher_type) { in chtls_key_info() 349 u32 optname, int cipher_type) in chtls_setkey() argument 414 ret = chtls_key_info(csk, kctx, keylen, optname, cipher_type); in chtls_setkey()
|
| A D | chtls.h | 579 int chtls_setkey(struct chtls_sock *csk, u32 keylen, u32 mode, int cipher_type);
|
| /drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| A D | ktls_txrx.c | 35 switch (crypto_info->crypto_info.cipher_type) { in fill_static_params() 52 crypto_info->crypto_info.cipher_type); in fill_static_params()
|
| A D | ktls_rx.c | 376 switch (priv_rx->crypto_info.crypto_info.cipher_type) { in resync_handle_seq_match() 395 priv_rx->crypto_info.crypto_info.cipher_type); in resync_handle_seq_match() 622 switch (crypto_info->cipher_type) { in mlx5e_ktls_add_rx() 633 crypto_info->cipher_type); in mlx5e_ktls_add_rx()
|
| A D | ktls.h | 39 switch (crypto_info->cipher_type) { in mlx5e_ktls_type_check()
|
| A D | ktls_tx.c | 472 switch (crypto_info->cipher_type) { in mlx5e_ktls_add_tx() 483 crypto_info->cipher_type); in mlx5e_ktls_add_tx() 686 switch (priv_tx->crypto_info.crypto_info.cipher_type) { in tx_post_resync_params() 703 priv_tx->crypto_info.crypto_info.cipher_type); in tx_post_resync_params()
|
| A D | ktls.c | 18 switch (crypto_info->cipher_type) { in mlx5_ktls_create_key()
|
| /drivers/net/ethernet/netronome/nfp/crypto/ |
| A D | tls.c | 244 nfp_net_cipher_supported(struct nfp_net *nn, u16 cipher_type, in nfp_net_cipher_supported() argument 249 switch (cipher_type) { in nfp_net_cipher_supported() 286 if (!nfp_net_cipher_supported(nn, crypto_info->cipher_type, direction)) in nfp_net_tls_add()
|
| /drivers/net/ethernet/fungible/funeth/ |
| A D | funeth_ktls.c | 43 switch (crypto_info->cipher_type) { in fun_ktls_add()
|
| /drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
| A D | chcr_ktls.c | 82 switch (crypto_info->cipher_type) { in chcr_ktls_save_keys() 130 crypto_info->cipher_type); in chcr_ktls_save_keys()
|