Home
last modified time | relevance | path

Searched refs:dek (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dcrypto.c85 u32 mlx5_crypto_dek_get_id(struct mlx5_crypto_dek *dek) in mlx5_crypto_dek_get_id() argument
87 return dek->obj_id; in mlx5_crypto_dek_get_id()
427 struct mlx5_crypto_dek *dek) in mlx5_crypto_dek_free_locked() argument
429 struct mlx5_crypto_dek_bulk *bulk = dek->bulk; in mlx5_crypto_dek_free_locked()
434 obj_offset = dek->obj_id - bulk->base_obj_id; in mlx5_crypto_dek_free_locked()
450 kfree(dek); in mlx5_crypto_dek_free_locked()
455 struct mlx5_crypto_dek *dek) in mlx5_crypto_dek_pool_push() argument
461 list_add(&dek->entry, &pool->wait_for_free); in mlx5_crypto_dek_pool_push()
463 err = mlx5_crypto_dek_free_locked(pool, dek); in mlx5_crypto_dek_pool_push()
535 struct mlx5_crypto_dek *dek, *next; in mlx5_crypto_dek_pool_free_wait_keys() local
[all …]
Dcrypto.h29 struct mlx5_crypto_dek *dek);
30 u32 mlx5_crypto_dek_get_id(struct mlx5_crypto_dek *dek);
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_rx.c53 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()
Dktls_tx.c101 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()
Dktls.c43 struct mlx5_crypto_dek *dek) in mlx5_ktls_destroy_key() argument
45 mlx5_crypto_dek_destroy(dek_pool, dek); in mlx5_ktls_destroy_key()
Dktls.h18 struct mlx5_crypto_dek *dek);