Commit 6562444
crypto: allow GCM ciphers to have longer IV length
GCM cipher IV length can be >=1 bytes.
When not the default 12 bytes (96 bits) sets the IV length using
`EVP_CIPHER_CTX_ctrl` with type `EVP_CTRL_GCM_SET_IVLEN`
PR-URL: #6376
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>1 parent e9ff0f8 commit 6562444Copy full SHA for 6562444
File tree
Expand file treeCollapse file tree
2 files changed
+315
-24
lines changedOpen diff view settings
Filter options
- src
- test/parallel
Expand file treeCollapse file tree
2 files changed
+315
-24
lines changedOpen diff view settings
Collapse file
+13-1Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3028 | 3028 | |
3029 | 3029 | |
3030 | 3030 | |
3031 | | - |
| 3031 | + |
| 3032 | + |
3032 | 3033 | |
3033 | 3034 | |
| 3035 | + |
3034 | 3036 | |
3035 | 3037 | |
3036 | 3038 | |
| 3039 | + |
| 3040 | + |
| 3041 | + |
| 3042 | + |
| 3043 | + |
| 3044 | + |
| 3045 | + |
| 3046 | + |
| 3047 | + |
| 3048 | + |
3037 | 3049 | |
3038 | 3050 | |
3039 | 3051 | |
|
0 commit comments