]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't check the auth algorithm for GCM.
authorjhb <jhb@FreeBSD.org>
Thu, 13 Feb 2020 23:04:11 +0000 (23:04 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 13 Feb 2020 23:04:11 +0000 (23:04 +0000)
commitec37341fa9263c61adc182224b1f02ab409be429
treee7de81c7f2ef400549921338e71b63ced269a4a0
parent814657e6398f5aa6843208c02341ac4ad71ee394
Don't check the auth algorithm for GCM.

The upstream OpenSSL changes only set the cipher for GCM since the
authentication is redundant, and changes to OCF will soon remove the
GCM authentication algorithm constants entirely for the same reason.
In addition, ktls_create_session() already validates these fields and
wouldn't pass down an invalid auth_algorithm value to any drivers or
ktls backends.

Reviewed by: hselasky
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D23671
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c