commit 99425dbe24b040bb5d647e4df72f8ddd11d021e5
parent 3e63ef6198195ed141bd4b4a879dc56345fec0e3
Author: Armin Preiml <apreiml@strohwolke.at>
Date: Thu, 7 Mar 2024 14:50:09 +0100
crypto::ecdha: testcases
Signed-off-by: Armin Preiml <apreiml@strohwolke.at>
Diffstat:
2 files changed, 3768 insertions(+), 0 deletions(-)
diff --git a/crypto/ecdh/basic+test.ha b/crypto/ecdh/basic+test.ha
@@ -0,0 +1,155 @@
+// SPDX-License-Identifier: MPL-2.0
+// (c) Hare authors <https://harelang.org>
+
+use crypto::ec;
+use bytes;
+
+
+@test fn p256_invalidpoint() void = {
+ let priv = p256();
+ priv.x[..] = [
+ 0x7d, 0x7d, 0xc5, 0xf7, 0x1e, 0xb2, 0x9d, 0xda, 0xf8, 0x0d,
+ 0x62, 0x14, 0x63, 0x2e, 0xea, 0xe0, 0x3d, 0x90, 0x58, 0xaf,
+ 0x1f, 0xb6, 0xd2, 0x2e, 0xd8, 0x0b, 0xad, 0xb6, 0x2b, 0xc1,
+ 0xa5, 0x34,
+ ];
+
+ const pub: [_]u8 = [
+ 0x04, 0xea, 0xd2, 0x18, 0x59, 0x01, 0x19, 0xe8, 0x87, 0x6b,
+ 0x29, 0x14, 0x6f, 0xf8, 0x9c, 0xa6, 0x17, 0x70, 0xc4, 0xed,
+ 0xbb, 0xf9, 0x7d, 0x38, 0xce, 0x38, 0x5e, 0xd2, 0x81, 0xd8,
+ 0xa6, 0xb2, 0x30, 0x28, 0xaf, 0x61, 0x28, 0x1f, 0xd3, 0x5e,
+ 0x2f, 0xa7, 0x00, 0x25, 0x23, 0xac, 0xc8, 0x5a, 0x42, 0x9c,
+ 0xb0, 0x6e, 0xe6, 0x64, 0x83, 0x25, 0x38, 0x9f, 0x59, 0xed,
+ 0xfc, 0xe1, 0x40, 0x51, 0x41,
+ ];
+
+ const otherpub: [_]u8 = [
+ 0x04, 0x70, 0x0c, 0x48, 0xf7, 0x7f, 0x56, 0x58, 0x4c, 0x5c,
+ 0xc6, 0x32, 0x00, 0x00, 0x00, 0x00, 0xb9, 0x1b, 0x6b, 0xac,
+ 0xce, 0x3a, 0x4d, 0xf6, 0xb4, 0x2c, 0xe7, 0xcc, 0x83, 0x88,
+ 0x33, 0xd2, 0x00, 0xdb, 0x71, 0xe5, 0x09, 0xe3, 0xfd, 0x9b,
+ 0x06, 0x0d, 0xdb, 0x20, 0xba, 0x5c, 0x51, 0xdc, 0xc5, 0x94,
+ 0x8d, 0x46, 0xfb, 0xf6, 0x40, 0xdf, 0xe0, 0x44, 0x17, 0x82,
+ 0xca, 0xb8, 0x5f, 0xa4, 0xac,
+ ];
+
+ const shared: [_]u8 = [
+ 0x46, 0xfc, 0x62, 0x10, 0x64, 0x20, 0xff, 0x01, 0x2e, 0x54,
+ 0xa4, 0x34, 0xfb, 0xdd, 0x2d, 0x25, 0xcc, 0xc5, 0x85, 0x20,
+ 0x60, 0x56, 0x1e, 0x68, 0x04, 0x0d, 0xd7, 0x77, 0x89, 0x97,
+ 0xbd, 0x7b,
+ ];
+
+ let dpub: [ec::P256_POINTSZ]u8 = [0...];
+ pubkey(dpub, &priv);
+ assert(bytes::equal(dpub, pub));
+
+ let dshared: [P256_SHAREDSZ]u8 = [0...];
+ let zero: [P256_SHAREDSZ]u8 = [0...];
+
+ assert(derive(dshared, &priv, otherpub) is invalidkey);
+ assert(bytes::equal(dshared, zero));
+};
+
+@test fn p384_invalidpoint() void = {
+ let priv = p384();
+ priv.x[..] = [
+ 0x3c, 0xc3, 0x12, 0x2a, 0x68, 0xf0, 0xd9, 0x50, 0x27, 0xad,
+ 0x38, 0xc0, 0x67, 0x91, 0x6b, 0xa0, 0xeb, 0x8c, 0x38, 0x89,
+ 0x4d, 0x22, 0xe1, 0xb1, 0x56, 0x18, 0xb6, 0x81, 0x8a, 0x66,
+ 0x17, 0x74, 0xad, 0x46, 0x3b, 0x20, 0x5d, 0xa8, 0x8c, 0xf6,
+ 0x99, 0xab, 0x4d, 0x43, 0xc9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 0xc3, 0x8a, 0x49,
+ 0x74, 0x9b, 0x00, 0x00, 0x00, 0x00, 0x24, 0x34, 0x51, 0x91,
+ 0x5e, 0xd0, 0x90, 0x5a, 0x32, 0xb0, 0x60, 0x99, 0x2b, 0x46,
+ 0x8c, 0x64, 0x76, 0x6f, 0xc8, 0x43, 0x7a,
+ ];
+
+ let dpub: [ec::P384_POINTSZ]u8 = [0...];
+ pubkey(dpub, &priv);
+ assert(bytes::equal(dpub, pub));
+
+ let dshared: [P384_SHAREDSZ]u8 = [0...];
+ let zero: [P384_SHAREDSZ]u8 = [0...];
+
+ assert(derive(dshared, &priv, otherpub) is invalidkey);
+ assert(bytes::equal(dshared, zero));
+};
+
+@test fn p521_invalidpoint() void = {
+ let priv = p521();
+ priv.x[..] = [
+ 0x01, 0x7e, 0xec, 0xc0, 0x7a, 0xb4, 0xb3, 0x29, 0x06, 0x8f,
+ 0xba, 0x65, 0xe5, 0x6a, 0x1f, 0x88, 0x90, 0xaa, 0x93, 0x5e,
+ 0x57, 0x13, 0x4a, 0xe0, 0xff, 0xcc, 0xe8, 0x02, 0x73, 0x51,
+ 0x51, 0xf4, 0xea, 0xc6, 0x56, 0x4f, 0x6e, 0xe9, 0x97, 0x4c,
+ 0x5e, 0x68, 0x87, 0xa1, 0xfe, 0xfe, 0xe5, 0x74, 0x3a, 0xe2,
+ 0x24, 0x1b, 0xfe, 0xb9, 0x5d, 0x5c, 0xe3, 0x1d, 0xdc, 0xb6,
+ 0xf9, 0xed, 0xb4, 0xd6, 0xfc, 0x47,
+ ];
+ const pub: [_]u8 = [
+ 0x04, 0x00, 0x60, 0x2f, 0x9d, 0x0c, 0xf9, 0xe5, 0x26, 0xb2,
+ 0x9e, 0x22, 0x38, 0x1c, 0x20, 0x3c, 0x48, 0xa8, 0x86, 0xc2,
+ 0xb0, 0x67, 0x30, 0x33, 0x36, 0x63, 0x14, 0xf1, 0xff, 0xbc,
+ 0xba, 0x24, 0x0b, 0xa4, 0x2f, 0x4e, 0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d, 0x9e, 0x8f, 0x5d, 0xb4, 0xf0,
+ 0xcc, 0x27, 0x63, 0x6d, 0x0b, 0x74, 0x1b, 0xbe, 0x05, 0x40,
+ 0x06, 0x97, 0x94, 0x2e, 0x80, 0xb7, 0x39, 0x88, 0x4a, 0x83,
+ 0xbd, 0xe9, 0x9e, 0x0f, 0x67, 0x16, 0x93, 0x9e, 0x63, 0x2b,
+ 0xc8, 0x00, 0x00, 0x00, 0x00, 0xcc, 0xd4, 0x43, 0xa3, 0x48,
+ 0xb6, 0xc3, 0xe5, 0x22, 0x49, 0x79, 0x55, 0xa4, 0xf3, 0xc3,
+ 0x02, 0xf6, 0x76,
+ ];
+
+ let dpub: [ec::P521_POINTSZ]u8 = [0...];
+ pubkey(dpub, &priv);
+ assert(bytes::equal(dpub, pub));
+
+ let dshared: [P521_SHAREDSZ]u8 = [0...];
+ let zero: [P521_SHAREDSZ]u8 = [0...];
+
+ assert(derive(dshared, &priv, otherpub) is invalidkey);
+ assert(bytes::equal(dshared, zero));
+};
diff --git a/crypto/ecdh/nist+test.ha b/crypto/ecdh/nist+test.ha
@@ -0,0 +1,3613 @@
+// SPDX-License-Identifier: MPL-2.0
+// (c) Hare authors <https://harelang.org>
+
+use bytes;
+use crypto::ec;
+use io;
+use os;
+use test;
+
+
+type testcase = struct {
+ otherpub: []u8,
+ priv: []u8,
+ pub: []u8,
+ shared: []u8,
+};
+
+// https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Component-Testing
+
+@test fn nist_p256() void = run(p256cases[..1], &p256());
+@test fn nist_p384() void = run(p384cases[..1], &p384());
+@test fn nist_p521() void = run(p521cases[..1], &p521());
+
+@test fn nist_p256_full() void = {
+ test::require("slow");
+ run(p256cases[1..], &p256());
+};
+
+@test fn nist_p384_full() void = {
+ test::require("slow");
+ run(p384cases[1..], &p384());
+};
+
+@test fn nist_p521_full() void = {
+ test::require("slow");
+ run(p521cases[1..], &p521());
+};
+
+
+fn run(cases: []testcase, priv: *privkey) void = {
+ let pubbuf: [ec::MAX_POINTSZ]u8 = [0...];
+ let pub = pubbuf[..priv.curve.pointsz];
+
+ let sharedbuf: [ec::MAX_POINTSZ / 2]u8 = [0...];
+ let shared = sharedbuf[..priv.curve.pointsz / 2];
+
+ for (let i = 0z; i < len(cases); i += 1) {
+ const c = cases[i];
+ priv.get_x(priv)[..] = c.priv;
+
+ pubkey(pub, priv);
+ assert(bytes::equal(pub, c.pub));
+
+ derive(shared, priv, c.otherpub)!;
+ assert(bytes::equal(shared, c.shared));
+ };
+};
+
+const p256cases: [_]testcase = [
+ //COUNT = 0
+ testcase {
+ otherpub = [
+ 0x04, 0x70, 0x0c, 0x48, 0xf7, 0x7f, 0x56, 0x58, 0x4c,
+ 0x5c, 0xc6, 0x32, 0xca, 0x65, 0x64, 0x0d, 0xb9, 0x1b,
+ 0x6b, 0xac, 0xce, 0x3a, 0x4d, 0xf6, 0xb4, 0x2c, 0xe7,
+ 0xcc, 0x83, 0x88, 0x33, 0xd2, 0x87, 0xdb, 0x71, 0xe5,
+ 0x09, 0xe3, 0xfd, 0x9b, 0x06, 0x0d, 0xdb, 0x20, 0xba,
+ 0x5c, 0x51, 0xdc, 0xc5, 0x94, 0x8d, 0x46, 0xfb, 0xf6,
+ 0x40, 0xdf, 0xe0, 0x44, 0x17, 0x82, 0xca, 0xb8, 0x5f,
+ 0xa4, 0xac,
+ ],
+ priv = [
+ 0x7d, 0x7d, 0xc5, 0xf7, 0x1e, 0xb2, 0x9d, 0xda, 0xf8,
+ 0x0d, 0x62, 0x14, 0x63, 0x2e, 0xea, 0xe0, 0x3d, 0x90,
+ 0x58, 0xaf, 0x1f, 0xb6, 0xd2, 0x2e, 0xd8, 0x0b, 0xad,
+ 0xb6, 0x2b, 0xc1, 0xa5, 0x34,
+ ],
+ pub = [
+ 0x04, 0xea, 0xd2, 0x18, 0x59, 0x01, 0x19, 0xe8, 0x87,
+ 0x6b, 0x29, 0x14, 0x6f, 0xf8, 0x9c, 0xa6, 0x17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