Commit ba24b8e
crypto: testmgr - Add some test vectors for cmac(camellia)
Add some test vectors for 128-bit cmac(camellia) as found in
draft-kato-ipsec-camellia-cmac96and128-01 section 6.2.
The document also shows vectors for camellia-cmac-96, and for VK with a
length greater than 16, but I'm not sure how to express those in testmgr.
This also leaves cts(cbc(camellia)) untested, but I can't seem to find any
tests for that that I could put into testmgr.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Herbert Xu <herbert@gondor.apana.org.au>
cc: Chuck Lever <chuck.lever@oracle.com>
cc: Scott Mayhew <smayhew@redhat.com>
cc: linux-nfs@vger.kernel.org
cc: linux-crypto@vger.kernel.org
Link: https://datatracker.ietf.org/doc/pdf/draft-kato-ipsec-camellia-cmac96and128-01
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>1 parent cfbda73 commit ba24b8e
2 files changed
Lines changed: 53 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4644 | 4644 | | |
4645 | 4645 | | |
4646 | 4646 | | |
| 4647 | + | |
| 4648 | + | |
| 4649 | + | |
| 4650 | + | |
| 4651 | + | |
| 4652 | + | |
4647 | 4653 | | |
4648 | 4654 | | |
4649 | 4655 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25665 | 25665 | | |
25666 | 25666 | | |
25667 | 25667 | | |
| 25668 | + | |
| 25669 | + | |
| 25670 | + | |
| 25671 | + | |
| 25672 | + | |
| 25673 | + | |
| 25674 | + | |
| 25675 | + | |
| 25676 | + | |
| 25677 | + | |
| 25678 | + | |
| 25679 | + | |
| 25680 | + | |
| 25681 | + | |
| 25682 | + | |
| 25683 | + | |
| 25684 | + | |
| 25685 | + | |
| 25686 | + | |
| 25687 | + | |
| 25688 | + | |
| 25689 | + | |
| 25690 | + | |
| 25691 | + | |
| 25692 | + | |
| 25693 | + | |
| 25694 | + | |
| 25695 | + | |
| 25696 | + | |
| 25697 | + | |
| 25698 | + | |
| 25699 | + | |
| 25700 | + | |
| 25701 | + | |
| 25702 | + | |
| 25703 | + | |
| 25704 | + | |
| 25705 | + | |
| 25706 | + | |
| 25707 | + | |
| 25708 | + | |
| 25709 | + | |
| 25710 | + | |
| 25711 | + | |
| 25712 | + | |
| 25713 | + | |
| 25714 | + | |
25668 | 25715 | | |
25669 | 25716 | | |
25670 | 25717 | | |
| |||
0 commit comments