Home
last modified time | relevance | path

Searched refs:cipher_type (Results 1 – 20 of 20) sorted by relevance

/Linux-v4.19/drivers/crypto/cavium/cpt/
Dcptvf_algs.c126 fctx->enc.enc_ctrl.e.enc_cipher = ctx->cipher_type; in create_ctx_hdr()
130 if (ctx->cipher_type == AES_XTS) in create_ctx_hdr()
250 ctx->cipher_type = AES_XTS; in cvm_xts_setkey()
283 if (ctx->cipher_type == DES3_CBC) in cvm_validate_keylen()
293 u32 keylen, u8 cipher_type) in cvm_setkey() argument
298 ctx->cipher_type = cipher_type; in cvm_setkey()
Dcptvf_algs.h30 enum cipher_type { enum
104 u8 cipher_type:4; member
/Linux-v4.19/drivers/crypto/cavium/nitrox/
Dnitrox_algs.c120 enum flexi_cipher cipher_type; in nitrox_skcipher_setkey() local
124 cipher_type = flexi_cipher_type(name); in nitrox_skcipher_setkey()
125 if (unlikely(cipher_type == CIPHER_INVALID)) { in nitrox_skcipher_setkey()
133 fctx->w0.cipher_type = cipher_type; in nitrox_skcipher_setkey()
Dnitrox_req.h157 u64 cipher_type : 4; member
175 u64 cipher_type : 4;
/Linux-v4.19/drivers/crypto/bcm/
Dspu2.c70 static char *spu2_ciph_type_name(enum spu2_cipher_type cipher_type) in spu2_ciph_type_name() argument
72 if (cipher_type >= SPU2_CIPHER_TYPE_LAST) in spu2_ciph_type_name()
74 return spu2_cipher_type_names[cipher_type]; in spu2_ciph_type_name()
149 enum spu_cipher_type cipher_type, in spu2_cipher_xlate() argument
177 switch (cipher_type) { in spu2_cipher_xlate()
199 cipher_alg, cipher_type); in spu2_cipher_xlate()
622 enum spu2_cipher_type cipher_type, in spu2_fmd_ctrl0_write() argument
629 if ((cipher_type != SPU2_CIPHER_TYPE_NONE) && !is_inbound) in spu2_fmd_ctrl0_write()
632 ctrl0 |= ((u64)cipher_type << SPU2_CIPH_TYPE_SHIFT) | in spu2_fmd_ctrl0_write()
Dcipher.c342 cipher_parms.type = ctx->cipher_type; in handle_ablkcipher_req()
764 cipher_parms.type = ctx->cipher_type; in handle_ahash_req()
1351 cipher_parms.type = ctx->cipher_type; in handle_aead_req()
1412 hash_parms.type = (enum hash_type)ctx->cipher_type; in handle_aead_req()
1833 ctx->cipher_type = CIPHER_TYPE_DES; in des_setkey()
1856 ctx->cipher_type = CIPHER_TYPE_3DES; in threedes_setkey()
1875 ctx->cipher_type = CIPHER_TYPE_AES128; in aes_setkey()
1878 ctx->cipher_type = CIPHER_TYPE_AES192; in aes_setkey()
1881 ctx->cipher_type = CIPHER_TYPE_AES256; in aes_setkey()
1907 ctx->cipher_type = CIPHER_TYPE_INIT; in rc4_setkey()
[all …]
Dspu.c47 u32 cipher_type; in spum_dump_msg_hdr() local
92 cipher_type = (cflags & CIPHER_TYPE) >> CIPHER_TYPE_SHIFT; in spum_dump_msg_hdr()
94 cipher_alg, cipher_mode, cipher_type); in spum_dump_msg_hdr()
164 switch (cipher_type) { in spum_dump_msg_hdr()
244 switch (cipher_type) { in spum_dump_msg_hdr()
Dcipher.h207 enum spu_cipher_type cipher_type; member
/Linux-v4.19/include/uapi/linux/
Dtls.h67 __u16 cipher_type; member
/Linux-v4.19/Documentation/networking/
Dtls.txt27 unsigned short cipher_type;
42 crypto_info.info.cipher_type = TLS_CIPHER_AES_GCM_128;
/Linux-v4.19/drivers/net/wireless/atmel/
Datmel.c748 int cipher_type, cipher_length; in tx_update_descriptor() local
750 cipher_type = priv->group_cipher_suite; in tx_update_descriptor()
751 if (cipher_type == CIPHER_SUITE_WEP_64 || in tx_update_descriptor()
752 cipher_type == CIPHER_SUITE_WEP_128) in tx_update_descriptor()
754 else if (cipher_type == CIPHER_SUITE_TKIP) in tx_update_descriptor()
758 cipher_type = priv->pairwise_cipher_suite; in tx_update_descriptor()
761 cipher_type = CIPHER_SUITE_NONE; in tx_update_descriptor()
765 cipher_type = priv->pairwise_cipher_suite; in tx_update_descriptor()
766 if (cipher_type == CIPHER_SUITE_WEP_64 || in tx_update_descriptor()
767 cipher_type == CIPHER_SUITE_WEP_128) in tx_update_descriptor()
[all …]
/Linux-v4.19/net/tls/
Dtls_main.c356 switch (crypto_info->cipher_type) {
452 switch (crypto_info->cipher_type) {
Dtls_device.c690 switch (crypto_info->cipher_type) { in tls_set_device_offload()
Dtls_sw.c1201 switch (crypto_info->cipher_type) { in tls_set_sw_offload()
/Linux-v4.19/include/net/
Dtls.h54 #define TLS_CRYPTO_INFO_READY(info) ((info)->cipher_type)
/Linux-v4.19/drivers/crypto/chelsio/chtls/
Dchtls_main.c495 switch (tmp_crypto_info.cipher_type) { in do_chtls_setsockopt()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dtls.c543 switch (crypto_info->cipher_type) { in mlx5_fpga_tls_set_key_material()
/Linux-v4.19/tools/testing/selftests/net/
Dtls.c46 tls12.info.cipher_type = TLS_CIPHER_AES_GCM_128; in FIXTURE_SETUP()
/Linux-v4.19/fs/cifs/
Dcifsglob.h690 __le16 cipher_type; member
Dsmb2pdu.c469 server->cipher_type = ctxt->Ciphers[0]; in decode_encrypt_ctx()