Searched refs:dek (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | crypto.c | 87 return dek->obj_id; in mlx5_crypto_dek_get_id() 450 kfree(dek); in mlx5_crypto_dek_free_locked() 538 list_del(&dek->entry); in mlx5_crypto_dek_pool_free_wait_keys() 610 struct mlx5_crypto_dek *dek; in mlx5_crypto_dek_create() local 614 dek = kzalloc(sizeof(*dek), GFP_KERNEL); in mlx5_crypto_dek_create() 615 if (!dek) in mlx5_crypto_dek_create() 620 key_purpose, &dek->obj_id); in mlx5_crypto_dek_create() 630 dek->bulk = bulk; in mlx5_crypto_dek_create() 641 kfree(dek); in mlx5_crypto_dek_create() 645 return dek; in mlx5_crypto_dek_create() [all …]
|
H A D | crypto.h | 29 struct mlx5_crypto_dek *dek); 30 u32 mlx5_crypto_dek_get_id(struct mlx5_crypto_dek *dek);
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls_rx.c | 53 struct mlx5_crypto_dek *dek; member 151 mlx5_crypto_dek_get_id(priv_rx->dek), in post_static_params() 614 struct mlx5_crypto_dek *dek; in mlx5e_ktls_add_rx() local 640 dek = mlx5_ktls_create_key(priv->tls->dek_pool, crypto_info); in mlx5e_ktls_add_rx() 641 if (IS_ERR(dek)) { in mlx5e_ktls_add_rx() 642 err = PTR_ERR(dek); in mlx5e_ktls_add_rx() 645 priv_rx->dek = dek; in mlx5e_ktls_add_rx() 681 mlx5_ktls_destroy_key(priv->tls->dek_pool, priv_rx->dek); in mlx5e_ktls_add_rx() 713 mlx5_ktls_destroy_key(priv->tls->dek_pool, priv_rx->dek); in mlx5e_ktls_del_rx()
|
H A D | ktls_tx.c | 101 struct mlx5_crypto_dek *dek; member 460 struct mlx5_crypto_dek *dek; in mlx5e_ktls_add_tx() local 488 dek = mlx5_ktls_create_key(priv->tls->dek_pool, crypto_info); in mlx5e_ktls_add_tx() 489 if (IS_ERR(dek)) { in mlx5e_ktls_add_tx() 490 err = PTR_ERR(dek); in mlx5e_ktls_add_tx() 494 priv_tx->dek = dek; in mlx5e_ktls_add_tx() 521 mlx5_ktls_destroy_key(priv->tls->dek_pool, priv_tx->dek); in mlx5e_ktls_del_tx() 561 mlx5_crypto_dek_get_id(priv_tx->dek), in post_static_params()
|
H A D | ktls.c | 43 struct mlx5_crypto_dek *dek) in mlx5_ktls_destroy_key() argument 45 mlx5_crypto_dek_destroy(dek_pool, dek); in mlx5_ktls_destroy_key()
|
H A D | ktls.h | 18 struct mlx5_crypto_dek *dek);
|