Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154821212
D23671.id68289.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
855 B
Referenced Files
None
Subscribers
None
D23671.id68289.diff
View Options
Index: head/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c
===================================================================
--- head/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c
+++ head/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c
@@ -339,10 +339,6 @@
case CRYPTO_AES_NIST_GCM_16:
switch (en->cipher_key_len) {
case 128 / 8:
- if (en->auth_algorithm != CRYPTO_AES_128_NIST_GMAC) {
- error = EINVAL;
- goto failure;
- }
if (en->tls_vminor == TLS_MINOR_VER_TWO) {
if (MLX5_CAP_TLS(priv->mdev, tls_1_2_aes_gcm_128) == 0) {
error = EPROTONOSUPPORT;
@@ -360,10 +356,6 @@
break;
case 256 / 8:
- if (en->auth_algorithm != CRYPTO_AES_256_NIST_GMAC) {
- error = EINVAL;
- goto failure;
- }
if (en->tls_vminor == TLS_MINOR_VER_TWO) {
if (MLX5_CAP_TLS(priv->mdev, tls_1_2_aes_gcm_256) == 0) {
error = EPROTONOSUPPORT;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 30, 1:02 PM (3 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32451194
Default Alt Text
D23671.id68289.diff (855 B)
Attached To
Mode
D23671: Don't check the auth algorithm for GCM.
Attached
Detach File
Event Timeline
Log In to Comment