diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/data/bn/ressol.vec | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/tests/data/bn/ressol.vec b/src/tests/data/bn/ressol.vec index fbbbceb4f..631a718dc 100644 --- a/src/tests/data/bn/ressol.vec +++ b/src/tests/data/bn/ressol.vec @@ -35,3 +35,23 @@ Output = -1 Input = 2 Modulus = 4369 Output = -1 + +Input = 1024 +Modulus = 0x40000000000000000000000000000000000000000000000000000000000c100000000000000ffff +Output = 32 + +Input = 1024 +Modulus = 174763 +Output = 174731 + +Input = 1025 +Modulus = 0x40000000000000000000000000000000000000000000000000000000000c100000000000000ffff +Output = 7195614950510915163755738138441999335431224576038191833055420996031360079131617522512565985187 + +Input = 16 +Modulus = 0x40000000000000000000000000000000000000000000000000000000000c100000000000000ffff +Output = 4 + +Input = 120846049 +Modulus = 0x40000000000000000000000000000000000000000000000000000000000c100000000000000ffff +Output = 0x40000000000000000000000000000000000000000000000000000000000c100000000000000d50e |