Commit fa9e6f7
crypto: Allow GCM ciphers to have a 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 a4880b5 commit fa9e6f7
File tree
2 files changed
+315
-24
lines changed- src
- test/parallel
2 files changed
+315
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3271 | 3271 | | |
3272 | 3272 | | |
3273 | 3273 | | |
3274 | | - | |
| 3274 | + | |
| 3275 | + | |
3275 | 3276 | | |
3276 | 3277 | | |
| 3278 | + | |
3277 | 3279 | | |
3278 | 3280 | | |
3279 | 3281 | | |
| 3282 | + | |
| 3283 | + | |
| 3284 | + | |
| 3285 | + | |
| 3286 | + | |
| 3287 | + | |
| 3288 | + | |
| 3289 | + | |
| 3290 | + | |
| 3291 | + | |
3280 | 3292 | | |
3281 | 3293 | | |
3282 | 3294 | | |
| |||
0 commit comments