From 5acaf988be4979c57b354f0cd6e9fbe852db39d3 Mon Sep 17 00:00:00 2001 From: Quinn Slack Date: Tue, 19 Apr 2011 16:28:23 -0700 Subject: [PATCH] sample vals from RFC 5054 --- test/bn_vectors.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/bn_vectors.js b/test/bn_vectors.js index 34cba08f..b01ba408 100644 --- a/test/bn_vectors.js +++ b/test/bn_vectors.js @@ -82,4 +82,11 @@ sjcl.test.vector.bn_powermod = [ N: "b48130d6e07674df740e1d33b4816e0d5d8e20e2050b98be48e457674df74096ea", v: "9c3219b694befb9caac51a13eb1ac7053b02c654b6a0541cfa60c483592d478630" }, +// // The following values are from TLS-SRP RFC 5054. +// { +// g: 2, +// x: "94B7555AABE9127CC58CCF4993DB6CF84D16C124", +// N: "EEAF0AB9ADB38DD69C33F80AFA8FC5E86072618775FF3C0B9EA2314C9C256576D674DF7496EA81D3383B4813D692C6E0E0D5D8E250B98BE48E495C1D6089DAD15DC7D7B46154D6B6CE8EF4AD69B15D4982559B297BCF1885C529F566660E57EC68EDBC3C05726CC02FD4CBF4976EAA9AFD5138FE8376435B9FC61D2FC0EB06E3", +// v: "7E273DE8696FFC4F4E337D05B4B375BEB0DDE1569E8FA00A9886D8129BADA1F1822223CA1A605B530E379BA4729FDC59F105B4787E5186F5C671085A1447B52A48CF1970B4FB6F8400BBF4CEBFBB168152E08AB5EA53D15C1AFF87B2B9DA6E04E058AD51CC72BFC9033B564E26480D78E955A5E29E7AB245DB2BE315E2099AFB" +// } ]