HomeFreeBSD

Correctly set the initial vector for TLS v1.3 for mlx5en(4).

Description

Correctly set the initial vector for TLS v1.3 for mlx5en(4).

For TLS v1.3 the 12 bytes of the initial vector, IV, should just be copied
as-is from the kernel to the gcm_iv field, which hold the first 4 bytes,
and the remaining 8 bytes go to the subsequent implicit_iv field.
There is no need to consider the byte order on the 12 bytes of IV like
initially done.

Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS361445: Update the TLS capability bit after recent PRM changes in mlx5en(4).
Branches
Unknown
Tags
Unknown