[Cryptech-Commits] [core/util/keywrap] 46/95: Adding testcase for wrapping 4096 bit data.
git at cryptech.is
git at cryptech.is
Wed Mar 25 17:18:45 UTC 2020
This is an automated email from the git hooks/post-receive script.
paul at psgd.org pushed a commit to branch master
in repository core/util/keywrap.
commit d96a6b9a9bd49ee15ac97d23bb0ea3e1037ce453
Author: Joachim Strömbergson <joachim at secworks.se>
AuthorDate: Thu Jul 5 12:24:59 2018 +0200
Adding testcase for wrapping 4096 bit data.
---
src/model/aes_keywrap.py | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/model/aes_keywrap.py b/src/model/aes_keywrap.py
index 8b9d2b0..0e74ed8 100755
--- a/src/model/aes_keywrap.py
+++ b/src/model/aes_keywrap.py
@@ -296,10 +296,17 @@ if __name__ == "__main__":
# Q = "49575527bc59530f be",
# C = "b43781062eb0317e b2dec6329f2d64de 1c33d85570d57db6")
- def test_kwp_ae_128_4(self):
- self.rfc5649_test(K = "c03db3cc1416dcd1 c069a195a8d77e3d",
- Q = "46f87f58cdda4200 f53d99ce2e49bdb7 6212511fe0cd4d0 b5f37a27d45a288",
- C = "57e3b6699c6e8177 59a69492bb7e2cd0 0160d2ebef9bf4d 4eb16fbf798f134 0f6df6558a4fb84cd0")
+# def test_kwp_ae_128_4(self):
+# self.rfc5649_test(K = "c03db3cc1416dcd1 c069a195a8d77e3d",
+# Q = "46f87f58cdda4200 f53d99ce2e49bdb7 6212511fe0cd4d0 b5f37a27d45a288",
+# C = "57e3b6699c6e8177 59a69492bb7e2cd0 0160d2ebef9bf4d 4eb16fbf798f134 0f6df6558a4fb84cd0")
+
+ def test_kwp_ae_128_5(self):
+ self.rfc5649_test(K = "6b8ba9cc9b31068b a175abfcc60c1338",
+
+ Q = "8af887c58dfbc38e e0423eefcc0e032d cc79dd116638ca65 ad75dca2a2459f13 934dbe61a62cb26d 8bbddbabf9bf52bb e137ef1d3e30eacf 0fe456ec808d6798 dc29fe54fa1f784a a3c11cf394050095 81d3f1d596843813 a6685e503fac8535 e0c06ecca8561b6a 1f22c578eefb6919 12be2e1667946101 ae8c3501e6c66eb1 7e14f2608c9ce6fb ab4a1597ed49ccb3 930b1060f98c97d8 dc4ce81e35279c4d 30d1bf86c9b919a3 ce4f0109e77929e5 8c4c3aeb5de1ec5e 0afa38ae896df912 1c72c255141f2f5c 9a51be5072547cf8 a3b067404e62f96 [...]
+
+ C = "aea19443d7f8ad7d 4501c1ecadc6b5e3 f1c23c29eca60890 5f9cabdd46e34a55 e1f7ac8308e75c90 3675982bda99173a 2ba57d2ccf2e01a0 2589f89dfd4b3c7f d229ec91c9d0c46e a5dee3c048cd4611 bfeadc9bf26daa1e 02cb72e222cf3dab 120dd1e8c2dd9bd5 8bbefa5d14526abd 1e8d2170a6ba8283 c243ec2fd5ef0703 0b1ef5f69f9620e4 b17a363934100588 7b9ffc7935335947 03e5dcae67bd0ce7 a3c98ca65815a4d0 67f27e6e66d6636c ebb789732566a52a c3970e14c37310dc 2fcee0e739a16291 029fd2b4d534e304 45474b26711a8b3 [...]
# def test_kwp_ae_256_1(self):
More information about the Commits
mailing list