aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/pubkey/rsa_sig.vec
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/data/pubkey/rsa_sig.vec')
-rw-r--r--src/tests/data/pubkey/rsa_sig.vec9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tests/data/pubkey/rsa_sig.vec b/src/tests/data/pubkey/rsa_sig.vec
index a5420fc33..18a9b55d4 100644
--- a/src/tests/data/pubkey/rsa_sig.vec
+++ b/src/tests/data/pubkey/rsa_sig.vec
@@ -7,6 +7,15 @@ Msg = 4161436445664768496A4B
Signature = 3A3B7502D85F05128CFB74608205031339753DA50D0DB7E268C3951F04A1981EDE22613BFC38DB9FFEBE183A4F11B0B0F8D7BEB668F7C1C385A801C2DDD7C08CB2E56082F80AD1105E930ED96DB6A0309639A51F5379B682C7F75C601BD4ADE5
Padding = EMSA1(SHA-1)
+E = 5
+P = 29325971601394553435876545177861015867159370596202565748032715224855053574888335295064118595233157878850644746476053
+Q = 36340726116985810749584556273749590346658800038386619768155308882211829358443758608966414537457415767576889158645019
+
+# Msg that produces a hash with leading zeros. Test created with BouncyCastle
+Msg = FCABA2CF434AC8DCFCEC
+Signature = 39ED15BA0A0A5546A634A8D94CB9750FFB968C4DF184DA76B6ACDF89D8E0C37475E2DB053F75DF9AE3FB317B199E4ABAD3C9279EEAD5481C8F3B1B5EEBBE3A95137234AB8C6D04E9ECE72A20DC7759B1836F392B99F5F095A4591639B63B6999
+
+Padding = EMSA1(SHA-1)
E = 79
P = 12623509009920451943188704532558549088394176932350155718346677596667742587560163977859877379200333095446158075633025630956096613873547787137410366502605473
Q = 10058994615186918965498012083239602676614988922192055472853974106579876551963188584799215667527538830845937432743673569788902953125963992649722735254207979