aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/qat
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2021-12-09 19:52:41 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2021-12-09 19:52:41 +0000
commit6e17a2e00d62fd3041e0bb511fe925079ad1c0d7 (patch)
tree56cbe69a74e6b10de1c360f8e4bee12bb5947e17 /sys/dev/qat
parentec498562b71a5e2baee3556eed7e22947f7abc5d (diff)
Diffstat (limited to 'sys/dev/qat')
-rw-r--r--sys/dev/qat/qat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/qat/qat.c b/sys/dev/qat/qat.c
index 49cb408fd702..68a3d2053f54 100644
--- a/sys/dev/qat/qat.c
+++ b/sys/dev/qat/qat.c
@@ -1911,8 +1911,6 @@ qat_probesession(device_t dev, const struct crypto_session_params *csp)
case CSP_MODE_AEAD:
switch (csp->csp_cipher_alg) {
case CRYPTO_AES_NIST_GCM_16:
- if (csp->csp_ivlen != AES_GCM_IV_LEN)
- return EINVAL;
break;
default:
return EINVAL;