Commit e6e1f4e
src: remove redundant AESCipherMode
For each supported variant of AES, we already have OpenSSL's associated
NID, so we can simply retrieve the block cipher mode of operation from
the NID.
PR-URL: #54438
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>1 parent afd8c1e commit e6e1f4eCopy full SHA for e6e1f4e
File tree
Expand file treeCollapse file tree
2 files changed
+26
-35
lines changedOpen diff view settings
Filter options
- src/crypto
Expand file treeCollapse file tree
2 files changed
+26
-35
lines changedOpen diff view settings
Collapse file
+13-15Lines changed: 13 additions & 15 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
471 | 471 | |
472 | 472 | |
473 | 473 | |
474 | | - |
475 | 474 | |
476 | | - |
477 | | - |
| 475 | + |
478 | 476 | |
479 | | - |
480 | 477 | |
481 | 478 | |
482 | 479 | |
| ||
487 | 484 | |
488 | 485 | |
489 | 486 | |
490 | | - |
| 487 | + |
| 488 | + |
| 489 | + |
| 490 | + |
| 491 | + |
| 492 | + |
| 493 | + |
| 494 | + |
491 | 495 | |
492 | 496 | |
493 | 497 | |
494 | | - |
| 498 | + |
495 | 499 | |
496 | 500 | |
497 | 501 | |
498 | | - |
| 502 | + |
499 | 503 | |
500 | 504 | |
501 | 505 | |
| ||
505 | 509 | |
506 | 510 | |
507 | 511 | |
508 | | - |
509 | | - |
510 | | - |
511 | | - |
512 | | - |
513 | | - |
514 | 512 | |
515 | 513 | |
516 | 514 | |
| ||
527 | 525 | |
528 | 526 | |
529 | 527 | |
530 | | - |
| 528 | + |
531 | 529 | |
532 | 530 | |
533 | 531 | |
| ||
541 | 539 | |
542 | 540 | |
543 | 541 | |
544 | | - |
| 542 | + |
545 | 543 | |
546 | 544 | |
547 | 545 | |
|
Collapse file
+13-20Lines changed: 13 additions & 20 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | 18 | |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
38 | 31 | |
39 | 32 | |
40 | | - |
| 33 | + |
41 | 34 | |
42 | 35 | |
43 | 36 | |
|
0 commit comments