diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2021-12-09 19:52:41 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2021-12-09 19:52:41 +0000 |
| commit | 6e17a2e00d62fd3041e0bb511fe925079ad1c0d7 (patch) | |
| tree | 56cbe69a74e6b10de1c360f8e4bee12bb5947e17 /sys/opencrypto/cryptosoft.c | |
| parent | ec498562b71a5e2baee3556eed7e22947f7abc5d (diff) | |
Diffstat (limited to 'sys/opencrypto/cryptosoft.c')
| -rw-r--r-- | sys/opencrypto/cryptosoft.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/opencrypto/cryptosoft.c b/sys/opencrypto/cryptosoft.c index f8dfef5323d5..5013cf145288 100644 --- a/sys/opencrypto/cryptosoft.c +++ b/sys/opencrypto/cryptosoft.c @@ -1308,9 +1308,6 @@ swcr_setup_gcm(struct swcr_session *ses, struct swcr_auth *swa; const struct auth_hash *axf; - if (csp->csp_ivlen != AES_GCM_IV_LEN) - return (EINVAL); - /* First, setup the auth side. */ swa = &ses->swcr_auth; switch (csp->csp_cipher_klen * 8) { |
