Home
last modified time | relevance | path

Searched refs:sz_bytes (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dcrypto.c91 u32 sz_bytes, u8 *key_sz_p) in mlx5_crypto_dek_get_key_sz() argument
93 u32 sz_bits = sz_bytes * BITS_PER_BYTE; in mlx5_crypto_dek_get_key_sz()
112 const void *key, u32 sz_bytes) in mlx5_crypto_dek_fill_key() argument
118 err = mlx5_crypto_dek_get_key_sz(mdev, sz_bytes, &key_sz); in mlx5_crypto_dek_fill_key()
124 if (sz_bytes == 16) in mlx5_crypto_dek_fill_key()
130 memcpy(dst, key, sz_bytes); in mlx5_crypto_dek_fill_key()
189 const void *key, u32 sz_bytes, u32 key_purpose, in mlx5_crypto_modify_dek_key() argument
224 const void *key, u32 sz_bytes, in mlx5_crypto_create_dek_key() argument
276 const void *key, u32 sz_bytes, in mlx5_create_encryption_key() argument
604 const void *key, u32 sz_bytes) in mlx5_crypto_dek_create() argument
[all …]
H A Dcrypto.h15 const void *key, u32 sz_bytes,
27 const void *key, u32 sz_bytes);
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls.c16 u32 sz_bytes; in mlx5_ktls_create_key() local
24 sz_bytes = sizeof(info->key); in mlx5_ktls_create_key()
32 sz_bytes = sizeof(info->key); in mlx5_ktls_create_key()
39 return mlx5_crypto_dek_create(dek_pool, key, sz_bytes); in mlx5_ktls_create_key()