Home
last modified time | relevance | path

Searched refs:gcm_iv (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_txrx.c27 char *initial_rn, *gcm_iv; in fill_static_params() local
37 gcm_iv = MLX5_ADDR_OF(tls_static_params, ctx, gcm_iv); in fill_static_params()
40 memcpy(gcm_iv, salt, salt_sz); in fill_static_params()
/drivers/net/
Dmacsec.c83 struct gcm_iv { struct
430 struct gcm_iv_xpn *gcm_iv = (struct gcm_iv_xpn *)iv; in macsec_fill_iv_xpn() local
432 gcm_iv->ssci = ssci ^ salt.ssci; in macsec_fill_iv_xpn()
433 gcm_iv->pn = cpu_to_be64(pn) ^ salt.pn; in macsec_fill_iv_xpn()
438 struct gcm_iv *gcm_iv = (struct gcm_iv *)iv; in macsec_fill_iv() local
440 gcm_iv->sci = sci; in macsec_fill_iv()
441 gcm_iv->pn = htonl(pn); in macsec_fill_iv()