diff options
-rw-r--r-- | crypto/testmgr.h | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/crypto/testmgr.h b/crypto/testmgr.h index fa0b1af9f751..5d8f867b9b83 100644 --- a/crypto/testmgr.h +++ b/crypto/testmgr.h | |||
@@ -16889,6 +16889,111 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = { | |||
16889 | .result = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9" | 16889 | .result = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9" |
16890 | "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b", | 16890 | "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b", |
16891 | .rlen = 16, | 16891 | .rlen = 16, |
16892 | }, { | ||
16893 | .key = zeroed_string, | ||
16894 | .klen = 32, | ||
16895 | .input = zeroed_string, | ||
16896 | .ilen = 16, | ||
16897 | .result = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e" | ||
16898 | "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18" | ||
16899 | "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0" | ||
16900 | "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19", | ||
16901 | .rlen = 32, | ||
16902 | }, { | ||
16903 | .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" | ||
16904 | "\x6d\x6a\x8f\x94\x67\x30\x83\x08" | ||
16905 | "\xfe\xff\xe9\x92\x86\x65\x73\x1c" | ||
16906 | "\x6d\x6a\x8f\x94\x67\x30\x83\x08", | ||
16907 | .klen = 32, | ||
16908 | .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" | ||
16909 | "\xde\xca\xf8\x88", | ||
16910 | .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5" | ||
16911 | "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a" | ||
16912 | "\x86\xa7\xa9\x53\x15\x34\xf7\xda" | ||
16913 | "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72" | ||
16914 | "\x1c\x3c\x0c\x95\x95\x68\x09\x53" | ||
16915 | "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25" | ||
16916 | "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57" | ||
16917 | "\xba\x63\x7b\x39\x1a\xaf\xd2\x55", | ||
16918 | .ilen = 64, | ||
16919 | .result = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07" | ||
16920 | "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d" | ||
16921 | "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9" | ||
16922 | "\x75\x98\xa2\xbd\x25\x55\xd1\xaa" | ||
16923 | "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d" | ||
16924 | "\xa7\xb0\x8b\x10\x56\x82\x88\x38" | ||
16925 | "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a" | ||
16926 | "\xbc\xc9\xf6\x62\x89\x80\x15\xad" | ||
16927 | "\xb0\x94\xda\xc5\xd9\x34\x71\xbd" | ||
16928 | "\xec\x1a\x50\x22\x70\xe3\xcc\x6c", | ||
16929 | .rlen = 80, | ||
16930 | }, { | ||
16931 | .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" | ||
16932 | "\x6d\x6a\x8f\x94\x67\x30\x83\x08" | ||
16933 | "\xfe\xff\xe9\x92\x86\x65\x73\x1c" | ||
16934 | "\x6d\x6a\x8f\x94\x67\x30\x83\x08", | ||
16935 | .klen = 32, | ||
16936 | .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" | ||
16937 | "\xde\xca\xf8\x88", | ||
16938 | .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5" | ||
16939 | "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a" | ||
16940 | "\x86\xa7\xa9\x53\x15\x34\xf7\xda" | ||
16941 | "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72" | ||
16942 | "\x1c\x3c\x0c\x95\x95\x68\x09\x53" | ||
16943 | "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25" | ||
16944 | "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57" | ||
16945 | "\xba\x63\x7b\x39", | ||
16946 | .ilen = 60, | ||
16947 | .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef" | ||
16948 | "\xfe\xed\xfa\xce\xde\xad\xbe\xef" | ||
16949 | "\xab\xad\xda\xd2", | ||
16950 | .alen = 20, | ||
16951 | .result = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07" | ||
16952 | "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d" | ||
16953 | "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9" | ||
16954 | "\x75\x98\xa2\xbd\x25\x55\xd1\xaa" | ||
16955 | "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d" | ||
16956 | "\xa7\xb0\x8b\x10\x56\x82\x88\x38" | ||
16957 | "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a" | ||
16958 | "\xbc\xc9\xf6\x62" | ||
16959 | "\x76\xfc\x6e\xce\x0f\x4e\x17\x68" | ||
16960 | "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b", | ||
16961 | .rlen = 76, | ||
16962 | .np = 2, | ||
16963 | .tap = { 48, 12 }, | ||
16964 | .anp = 3, | ||
16965 | .atap = { 8, 8, 4 } | ||
16966 | }, { | ||
16967 | .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" | ||
16968 | "\x6d\x6a\x8f\x94\x67\x30\x83\x08" | ||
16969 | "\xfe\xff\xe9\x92\x86\x65\x73\x1c", | ||
16970 | .klen = 24, | ||
16971 | .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" | ||
16972 | "\xde\xca\xf8\x88", | ||
16973 | .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5" | ||
16974 | "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a" | ||
16975 | "\x86\xa7\xa9\x53\x15\x34\xf7\xda" | ||
16976 | "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72" | ||
16977 | "\x1c\x3c\x0c\x95\x95\x68\x09\x53" | ||
16978 | "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25" | ||
16979 | "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57" | ||
16980 | "\xba\x63\x7b\x39", | ||
16981 | .ilen = 60, | ||
16982 | .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef" | ||
16983 | "\xfe\xed\xfa\xce\xde\xad\xbe\xef" | ||
16984 | "\xab\xad\xda\xd2", | ||
16985 | .alen = 20, | ||
16986 | .result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41" | ||
16987 | "\xeb\x06\xfa\xc4\x87\x2a\x27\x57" | ||
16988 | "\x85\x9e\x1c\xea\xa6\xef\xd9\x84" | ||
16989 | "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c" | ||
16990 | "\x7d\x77\x3d\x00\xc1\x44\xc5\x25" | ||
16991 | "\xac\x61\x9d\x18\xc8\x4a\x3f\x47" | ||
16992 | "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9" | ||
16993 | "\xcc\xda\x27\x10" | ||
16994 | "\x25\x19\x49\x8e\x80\xf1\x47\x8f" | ||
16995 | "\x37\xba\x55\xbd\x6d\x27\x61\x8c", | ||
16996 | .rlen = 76, | ||
16892 | } | 16997 | } |
16893 | }; | 16998 | }; |
16894 | 16999 | ||