| /drivers/crypto/rockchip/ |
| A D | rk3288_crypto.c | 324 if (!crypto_info) { in rk_crypto_probe() 329 crypto_info->dev = &pdev->dev; in rk_crypto_probe() 333 if (!crypto_info->variant) { in rk_crypto_probe() 339 if (IS_ERR(crypto_info->rst)) { in rk_crypto_probe() 340 err = PTR_ERR(crypto_info->rst); in rk_crypto_probe() 349 if (IS_ERR(crypto_info->reg)) { in rk_crypto_probe() 359 if (crypto_info->irq < 0) { in rk_crypto_probe() 360 err = crypto_info->irq; in rk_crypto_probe() 374 if (!crypto_info->engine) { in rk_crypto_probe() 399 register_debugfs(crypto_info); in rk_crypto_probe() [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| A D | ktls_txrx.c | 24 union mlx5e_crypto_info *crypto_info, in fill_static_params() argument 35 switch (crypto_info->crypto_info.cipher_type) { in fill_static_params() 38 &crypto_info->crypto_info_128; in fill_static_params() 45 &crypto_info->crypto_info_256; in fill_static_params() 52 crypto_info->crypto_info.cipher_type); in fill_static_params() 76 union mlx5e_crypto_info *crypto_info, in mlx5e_ktls_build_static_params() argument 97 fill_static_params(&wqe->params, crypto_info, key_id, resync_tcp_sn); in mlx5e_ktls_build_static_params()
|
| A D | ktls.c | 13 struct tls_crypto_info *crypto_info) in mlx5_ktls_create_key() argument 18 switch (crypto_info->cipher_type) { in mlx5_ktls_create_key() 21 (struct tls12_crypto_info_aes_gcm_128 *)crypto_info; in mlx5_ktls_create_key() 29 (struct tls12_crypto_info_aes_gcm_256 *)crypto_info; in mlx5_ktls_create_key() 50 struct tls_crypto_info *crypto_info, in mlx5e_ktls_add() argument 57 if (!mlx5e_ktls_type_check(mdev, crypto_info)) in mlx5e_ktls_add() 61 err = mlx5e_ktls_add_tx(netdev, sk, crypto_info, start_offload_tcp_sn); in mlx5e_ktls_add() 63 err = mlx5e_ktls_add_rx(netdev, sk, crypto_info, start_offload_tcp_sn); in mlx5e_ktls_add()
|
| A D | ktls.h | 17 struct tls_crypto_info *crypto_info); 37 struct tls_crypto_info *crypto_info) in mlx5e_ktls_type_check() argument 39 switch (crypto_info->cipher_type) { in mlx5e_ktls_type_check() 41 if (crypto_info->version == TLS_1_2_VERSION) in mlx5e_ktls_type_check() 45 if (crypto_info->version == TLS_1_2_VERSION) in mlx5e_ktls_type_check()
|
| A D | ktls_rx.c | 46 union mlx5e_crypto_info crypto_info; member 376 switch (priv_rx->crypto_info.crypto_info.cipher_type) { in resync_handle_seq_match() 379 &priv_rx->crypto_info.crypto_info_128; in resync_handle_seq_match() 387 &priv_rx->crypto_info.crypto_info_256; in resync_handle_seq_match() 395 priv_rx->crypto_info.crypto_info.cipher_type); in resync_handle_seq_match() 606 struct tls_crypto_info *crypto_info, in mlx5e_ktls_add_rx() argument 622 switch (crypto_info->cipher_type) { in mlx5e_ktls_add_rx() 624 priv_rx->crypto_info.crypto_info_128 = in mlx5e_ktls_add_rx() 625 *(struct tls12_crypto_info_aes_gcm_128 *)crypto_info; in mlx5e_ktls_add_rx() 628 priv_rx->crypto_info.crypto_info_256 = in mlx5e_ktls_add_rx() [all …]
|
| A D | ktls_utils.h | 23 struct tls_crypto_info *crypto_info, u32 start_offload_tcp_sn); 26 struct tls_crypto_info *crypto_info, u32 start_offload_tcp_sn); 31 struct tls_crypto_info crypto_info; member 81 union mlx5e_crypto_info *crypto_info,
|
| A D | ktls_tx.c | 97 union mlx5e_crypto_info crypto_info; member 455 struct tls_crypto_info *crypto_info, u32 start_offload_tcp_sn) in mlx5e_ktls_add_tx() argument 472 switch (crypto_info->cipher_type) { in mlx5e_ktls_add_tx() 474 priv_tx->crypto_info.crypto_info_128 = in mlx5e_ktls_add_tx() 475 *(struct tls12_crypto_info_aes_gcm_128 *)crypto_info; in mlx5e_ktls_add_tx() 478 priv_tx->crypto_info.crypto_info_256 = in mlx5e_ktls_add_tx() 479 *(struct tls12_crypto_info_aes_gcm_256 *)crypto_info; in mlx5e_ktls_add_tx() 483 crypto_info->cipher_type); in mlx5e_ktls_add_tx() 488 dek = mlx5_ktls_create_key(priv->tls->dek_pool, crypto_info); in mlx5e_ktls_add_tx() 686 switch (priv_tx->crypto_info.crypto_info.cipher_type) { in tx_post_resync_params() [all …]
|
| /drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
| A D | chtls_main.c | 471 struct tls_crypto_info crypto_info = { 0 }; in do_chtls_getsockopt() local 473 crypto_info.version = TLS_1_2_VERSION; in do_chtls_getsockopt() 519 crypto_info = (struct tls_crypto_info *)&csk->tlshws.crypto_info; in do_chtls_setsockopt() 527 crypto_info[0] = tmp_crypto_info; in do_chtls_setsockopt() 530 sizeof(*crypto_info), in do_chtls_setsockopt() 531 optval, sizeof(*crypto_info), in do_chtls_setsockopt() 533 - sizeof(*crypto_info)); in do_chtls_setsockopt() 545 crypto_info[0] = tmp_crypto_info; in do_chtls_setsockopt() 547 sizeof(*crypto_info), in do_chtls_setsockopt() 548 optval, sizeof(*crypto_info), in do_chtls_setsockopt() [all …]
|
| A D | chtls_hw.c | 263 &csk->tlshws.crypto_info; in chtls_key_info() 276 &csk->tlshws.crypto_info; in chtls_key_info()
|
| A D | chtls.h | 275 } crypto_info; member
|
| /drivers/net/ethernet/fungible/funeth/ |
| A D | funeth_ktls.c | 20 struct tls_crypto_info *crypto_info, in fun_ktls_add() argument 38 if (crypto_info->version == TLS_1_2_VERSION) in fun_ktls_add() 43 switch (crypto_info->cipher_type) { in fun_ktls_add() 45 struct tls12_crypto_info_aes_gcm_128 *c = (void *)crypto_info; in fun_ktls_add()
|
| /drivers/net/ethernet/netronome/nfp/crypto/ |
| A D | tls.c | 266 struct tls_crypto_info *crypto_info, in nfp_net_tls_add() argument 286 if (!nfp_net_cipher_supported(nn, crypto_info->cipher_type, direction)) in nfp_net_tls_add() 337 tls_ci = (struct tls12_crypto_info_aes_gcm_128 *)crypto_info; in nfp_net_tls_add()
|
| /drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
| A D | chcr_ktls.c | 72 struct tls_crypto_info *crypto_info, in chcr_ktls_save_keys() argument 82 switch (crypto_info->cipher_type) { in chcr_ktls_save_keys() 85 (struct tls12_crypto_info_aes_gcm_128 *)crypto_info; in chcr_ktls_save_keys() 130 crypto_info->cipher_type); in chcr_ktls_save_keys() 414 struct tls_crypto_info *crypto_info, in chcr_ktls_dev_add() argument 472 ret = chcr_ktls_save_keys(tx_info, crypto_info, direction); in chcr_ktls_dev_add()
|
| /drivers/net/ethernet/chelsio/cxgb4/ |
| A D | cxgb4_main.c | 6429 struct tls_crypto_info *crypto_info, in cxgb4_ktls_dev_add() argument 6446 crypto_info, in cxgb4_ktls_dev_add()
|