Repository navigation
Commit f6680cb
crypto: x86/aes-ni - use AES library instead of single-use AES cipher
The RFC4106 key derivation code instantiates an AES cipher transform
to encrypt only a single block before it is freed again. Switch to
the new AES library which is more suitable for such use cases.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>1 parent c552ffb commit f6680cb
1 file changed
Lines changed: 6 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
631 | | - | |
| 631 | + | |
632 | 632 | | |
633 | 633 | | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
| 634 | + | |
639 | 635 | | |
640 | | - | |
| 636 | + | |
641 | 637 | | |
642 | 638 | | |
643 | 639 | | |
644 | 640 | | |
645 | 641 | | |
646 | | - | |
| 642 | + | |
647 | 643 | | |
648 | | - | |
649 | | - | |
650 | | - | |
| 644 | + | |
| 645 | + | |
651 | 646 | | |
652 | 647 | | |
653 | 648 | | |
| |||
0 commit comments