Commit 6bfb522
committed
Allow we_aes_cbc_init to be called with NULL IV and key.
Previously, if the IV and key were both NULL, we treated it as an error.
However, now that we're using `EVP_CIPH_ALWAYS_CALL_INIT`, this function can
potentially be called with both parameters NULL. OpenSSL handles this case fine,
so wolfEngine should, too. It's a no-op.1 parent 8309c37 commit 6bfb522
1 file changed
+1
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 74 | | |
80 | 75 | | |
81 | 76 | | |
| |||
289 | 284 | | |
290 | 285 | | |
291 | 286 | | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
| 287 | + | |
298 | 288 | | |
299 | 289 | | |
300 | 290 | | |
| |||
0 commit comments