Page MenuHomeFreeBSD

D23671.id68289.diff
No OneTemporary

D23671.id68289.diff

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

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)

Event Timeline