diff options
Diffstat (limited to 'src/tests/data/bn/sqr.vec')
-rw-r--r-- | src/tests/data/bn/sqr.vec | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/src/tests/data/bn/sqr.vec b/src/tests/data/bn/sqr.vec new file mode 100644 index 000000000..20c8eb167 --- /dev/null +++ b/src/tests/data/bn/sqr.vec @@ -0,0 +1,64 @@ +[Square] +Input = 0x0 +Output = 0x0 + +Input = -0x1 +Output = 0x1 + +Input = 0x1 +Output = 0x1 + +Input = 0x8000000000 +Output = 0x40000000000000000000 + +Input = 0xFBC09CE6C7753664 +Output = 0xF793449845751B9B8A4F0BEA3AF65710 + +Input = 0xFFFFFFFFFFFFFFFF +Output = 0xFFFFFFFFFFFFFFFE0000000000000001 + +Input = 0x3FFFFFFF3FFFFFFF3FFFFFFF3FFFFFFF +Output = 0xFFFFFFFA000000030000000C000000130000002A00000021000000180000001 + +Input = 0x3FFFFFFF3FFFFFFF3FFFFFFF0FFFFFFF +Output = 0xFFFFFFFA000000030000000A800000178000002E800000261000001E0000001 + +Input = 0x3FFFFFFF3FFFFFFF7FFFFFFF3FFFFFFF +Output = 0xFFFFFFFA00000005000000060000000E0000002400000019000000180000001 + +Input = 0x3FFFFFFF3FFFFFFFFFFFFFFF3FFFFFFF +Output = 0xFFFFFFFA00000008FFFFFFFA0000000A0000001800000009000000180000001 + +Input = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF +Output = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE00000000000000000000000000000001 + +Input = 0x80000000000000000000000000000000FBC09CE6C7753664 +Output = 0x40000000000000000000000000000000FBC09CE6C77536640000000000000000F793449845751B9B8A4F0BEA3AF65710 + +Input = 0x8000000000000000000000000000000000000FBC09CE6C7753664 +Output = 0x4000000000000000000000000000000000000FBC09CE6C7753664000000000000000000000F793449845751B9B8A4F0BEA3AF65710 + +Input = 0xBD0195D16E7CCFAECBAEA99C93AF0BD7 +Output = 0x8B8B5739C0749D94995991A47AC664214DA95AA566D243C0826ECB521A7E2E91 + +Input = 0xCDE6BF0C9E537153D5784F7718F6EC90 +Output = 0xA59B5DF60ED1F64FA35F16EF3BDF88FD5D1C21AA1A318B56050008667F59D100 + +Input = 0xCC1B05F112A67F4D0EF8A4389E60CFCE +Output = 0xA2BB145276B697C049EDF608F44309FFC4EF6B4A93F16FAADDB67F3ECB2EC9C4 + +Input = 0xF047C0A0B6B0EFA1D8B47490FE62DB56 +Output = 0xE1869D49C0A28E62A916ED0A94CBCFBADB6BE0913A62BBFA53B5022B51C440E4 + +Input = 0xDCE99F85EA38416FFC953675A9F5F410 +Output = 0xBEA25F61EFBCA9DEAE023B52967834AB9A4E8AF06763B076293E7F2A2F4E8100 + +Input = 0x9836531F6B1705CFA8E091FF3931A950 +Output = 0x5A808E3C7B69E7E9164A3CD6D343CC596184436E884551BE8B831467E09AB900 + +Input = 0xE8B538496B78657A89704090991CEE6B +Output = 0xD388F64DB6FC6440BC8F27389A3FA2CE51637C690CB33AB636F550A0EB7320B9 + +Input = 0xAFA871FFA1C6B4E8A55CBACCFE843667 +Output = 0x7887BAB15175AC389F3B2457B4625759536AD3FDFD3355D69ED7006489C79D71 + |