diff options
Diffstat (limited to 'src/tests/data')
-rw-r--r-- | src/tests/data/aead/gcm.vec | 2 | ||||
-rw-r--r-- | src/tests/data/stream/ctr.vec | 18 |
2 files changed, 19 insertions, 1 deletions
diff --git a/src/tests/data/aead/gcm.vec b/src/tests/data/aead/gcm.vec index 4a3c955b5..3eaa85d34 100644 --- a/src/tests/data/aead/gcm.vec +++ b/src/tests/data/aead/gcm.vec @@ -1,5 +1,5 @@ -#test cpuid aesni ssse3 clmul +#test cpuid aesni clmul pmull ssse3 [AES-128/GCM] # Nist | Test Case 1 diff --git a/src/tests/data/stream/ctr.vec b/src/tests/data/stream/ctr.vec index 9fddf1cfc..3eccc3cf6 100644 --- a/src/tests/data/stream/ctr.vec +++ b/src/tests/data/stream/ctr.vec @@ -280,6 +280,24 @@ Nonce = 88D9C46E992B27AE In = CD Out = 9D +[CTR-BE(AES-128,4)] +Key = 2B7E151628AED2A6ABF7158809CF4F3C +Nonce = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF +In = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +Out = 8AF2860142F786F409307C1A3F7EAAAC597D5761063D8BAD232CB0136888AABB90B8CF63F44412CEEE802A522AB6566313C5E10652749056AD2F02CE3BBF5BEC + +[CTR-BE(AES-128,5)] +Key = 2B7E151628AED2A6ABF7158809CF4F3C +Nonce = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF +In = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +Out = 8AF2860142F786F409307C1A3F7EAAACE0828A20E49595A19191201820125CC1B976913097C4A3245CAB186AE3B581F173DFEE01730EBB880CB63C673CBD4FC1 + +[CTR-BE(AES-128,6)] +Key = 2B7E151628AED2A6ABF7158809CF4F3C +Nonce = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF +In = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +Out = 8AF2860142F786F409307C1A3F7EAAAC33E25A114853DFEA903DB7B182593CB439E12B65EBFE27B2C1557F1EAD7AB52F0D42E2BB9772747085DD8C2AF5F357BB + [CTR-BE(AES-128)] Key = 2B7E151628AED2A6ABF7158809CF4F3C Nonce = F0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF |