/Linux-v5.4/drivers/crypto/cavium/cpt/ |
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() 245 ctx->cipher_type = AES_XTS; in cvm_xts_setkey() 278 if (ctx->cipher_type == DES3_CBC) in cvm_validate_keylen() 288 u32 keylen, u8 cipher_type) in cvm_setkey() argument 293 ctx->cipher_type = cipher_type; in cvm_setkey()
|
D | cptvf_algs.h | 27 enum cipher_type { enum 101 u8 cipher_type:4; member
|
/Linux-v5.4/net/tls/ |
D | tls_main.c | 371 switch (crypto_info->cipher_type) { in do_tls_getsockopt_tx() 501 alt_crypto_info->cipher_type != crypto_info->cipher_type) { in do_tls_setsockopt_conf() 507 switch (crypto_info->cipher_type) { in do_tls_setsockopt_conf() 823 u16 version, cipher_type; in tls_get_info() local 844 cipher_type = ctx->prot_info.cipher_type; in tls_get_info() 845 if (cipher_type) { in tls_get_info() 846 err = nla_put_u16(skb, TLS_INFO_CIPHER, cipher_type); in tls_get_info()
|
D | tls_device.c | 922 switch (crypto_info->cipher_type) { in tls_set_device_offload() 944 prot->cipher_type = crypto_info->cipher_type; in tls_set_device_offload()
|
D | tls_sw.c | 493 if (prot->cipher_type == TLS_CIPHER_AES_CCM_128) { in tls_do_encryption() 1407 if (prot->cipher_type == TLS_CIPHER_AES_CCM_128) { in decrypt_internal() 2270 switch (crypto_info->cipher_type) { in tls_set_sw_offload() 2344 prot->cipher_type = crypto_info->cipher_type; in tls_set_sw_offload()
|
/Linux-v5.4/drivers/crypto/cavium/nitrox/ |
D | nitrox_skcipher.c | 100 enum flexi_cipher cipher_type; in nitrox_skcipher_setkey() local 104 cipher_type = flexi_cipher_type(name); in nitrox_skcipher_setkey() 105 if (unlikely(cipher_type == CIPHER_INVALID)) { in nitrox_skcipher_setkey() 114 flags->w0.cipher_type = cipher_type; in nitrox_skcipher_setkey()
|
D | nitrox_req.h | 152 u64 cipher_type : 4; member 170 u64 cipher_type : 4;
|
/Linux-v5.4/drivers/crypto/bcm/ |
D | spu2.c | 59 static char *spu2_ciph_type_name(enum spu2_cipher_type cipher_type) in spu2_ciph_type_name() argument 61 if (cipher_type >= SPU2_CIPHER_TYPE_LAST) in spu2_ciph_type_name() 63 return spu2_cipher_type_names[cipher_type]; in spu2_ciph_type_name() 138 enum spu_cipher_type cipher_type, in spu2_cipher_xlate() argument 166 switch (cipher_type) { in spu2_cipher_xlate() 188 cipher_alg, cipher_type); in spu2_cipher_xlate() 611 enum spu2_cipher_type cipher_type, in spu2_fmd_ctrl0_write() argument 618 if ((cipher_type != SPU2_CIPHER_TYPE_NONE) && !is_inbound) in spu2_fmd_ctrl0_write() 621 ctrl0 |= ((u64)cipher_type << SPU2_CIPH_TYPE_SHIFT) | in spu2_fmd_ctrl0_write()
|
D | cipher.c | 331 cipher_parms.type = ctx->cipher_type; in handle_ablkcipher_req() 753 cipher_parms.type = ctx->cipher_type; in handle_ahash_req() 1340 cipher_parms.type = ctx->cipher_type; in handle_aead_req() 1401 hash_parms.type = (enum hash_type)ctx->cipher_type; in handle_aead_req() 1811 ctx->cipher_type = CIPHER_TYPE_DES; in des_setkey() 1825 ctx->cipher_type = CIPHER_TYPE_3DES; in threedes_setkey() 1840 ctx->cipher_type = CIPHER_TYPE_AES128; in aes_setkey() 1843 ctx->cipher_type = CIPHER_TYPE_AES192; in aes_setkey() 1846 ctx->cipher_type = CIPHER_TYPE_AES256; in aes_setkey() 1872 ctx->cipher_type = CIPHER_TYPE_INIT; in rc4_setkey() [all …]
|
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() 230 switch (cipher_type) { in spum_dump_msg_hdr()
|
D | cipher.h | 194 enum spu_cipher_type cipher_type; member
|
/Linux-v5.4/tools/include/uapi/linux/ |
D | tls.h | 67 __u16 cipher_type; member
|
/Linux-v5.4/include/uapi/linux/ |
D | tls.h | 85 __u16 cipher_type; member
|
/Linux-v5.4/fs/cifs/ |
D | cifs_ioctl.h | 62 __u16 cipher_type; member
|
D | ioctl.c | 287 pkey_inf.cipher_type = in cifs_ioctl() 288 le16_to_cpu(tcon->ses->server->cipher_type); in cifs_ioctl()
|
D | smb2transport.c | 739 if (server->cipher_type == SMB2_ENCRYPTION_AES128_GCM) in smb3_crypto_aead_allocate() 752 if (server->cipher_type == SMB2_ENCRYPTION_AES128_GCM) in smb3_crypto_aead_allocate()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/accel/ |
D | tls.c | 95 switch (crypto_info->cipher_type) { in mlx5_ktls_create_key()
|
D | tls.h | 60 switch (crypto_info->cipher_type) { in mlx5e_ktls_type_check()
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/crypto/ |
D | tls.c | 243 nfp_net_cipher_supported(struct nfp_net *nn, u16 cipher_type, in nfp_net_cipher_supported() argument 248 switch (cipher_type) { in nfp_net_cipher_supported() 285 if (!nfp_net_cipher_supported(nn, crypto_info->cipher_type, direction)) in nfp_net_tls_add()
|
/Linux-v5.4/include/net/ |
D | tls.h | 59 #define TLS_CRYPTO_INFO_READY(info) ((info)->cipher_type) 238 u16 cipher_type; member
|
/Linux-v5.4/Documentation/networking/ |
D | tls.rst | 37 unsigned short cipher_type; 52 crypto_info.info.cipher_type = TLS_CIPHER_AES_GCM_128;
|
/Linux-v5.4/tools/testing/selftests/net/ |
D | tls.c | 120 tls12.info.cipher_type = TLS_CIPHER_AES_GCM_128; in FIXTURE_SETUP() 709 tls12.info.cipher_type = TLS_CIPHER_AES_GCM_128; in TEST_F() 1129 tls12.info.cipher_type = TLS_CIPHER_AES_GCM_256; in TEST() 1183 tls12.info.cipher_type = TLS_CIPHER_AES_GCM_256; in TEST() 1247 tls12.info.cipher_type = TLS_CIPHER_AES_GCM_128; in TEST()
|
/Linux-v5.4/drivers/net/wireless/atmel/ |
D | atmel.c | 748 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-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | tls.c | 538 switch (crypto_info->cipher_type) { in mlx5_fpga_tls_set_key_material()
|
/Linux-v5.4/drivers/crypto/chelsio/chtls/ |
D | chtls_main.c | 512 switch (tmp_crypto_info.cipher_type) { in do_chtls_setsockopt()
|