jr981008

Results 13 comments of jr981008

By attaching to process,get function param. ScalarUtil.lessThan(last, Nu, Nv) is always false.

ScalarUtil.getBitLength(last, p) It seems to keep flipping between the two values p[last]=-1 or 0. ts=2024-03-11 21:59:43; [cost=7.03E-4ms] result=[[10,[-584333345,153520642,-831589256,2107610247,-966692209,14916415,-1902580523,463978880,1487883832,0,0,-1,-1,0,0,-1]],null,null] method=org.bouncycastle.math.ec.rfc8032.ScalarUtil.getBitLength location=AtEnter ts=2024-03-11 21:59:43; [cost=0.001684ms] result=[[10,[622396389,-1262780587,502664275,298457412,-109443955,-423812610,1472549535,1017851823,-414652022,-1,-1,-1,-1,0,0,-1]],null,null] method=org.bouncycastle.math.ec.rfc8032.ScalarUtil.getBitLength location=AtEnter ts=2024-03-11 21:59:43; [cost=0.00116ms] result=[[10,[-584333345,153520642,-831589256,2107610247,-966692209,14916415,-1902580523,463978880,1487883832,0,0,-1,-1,0,0,-1]],null,null]...

ScalarUtil.addShifted_NP(last, s, Nu, Nv, p); param always like this: ts=2024-03-11 22:05:32; [cost=5.09E-4ms] result=[[10,0,[-1754378251,1998656237,-1462065216,-396282015,-1983421555,-2077490918,1914529897,49125049,1010209410,-553872943,1902535853,0,0,0,0,0],[-1206729734,1416301229,-1334253532,1809152835,-857248254,438729024,919837237,-553872943,1902535853,0,0,0,0,0,0,0],[622396389,-1262780587,502664275,298457412,-109443955,-423812610,1472549535,1017851823,-414652022,-1,-1,-1,-1,0,0,-1]],null,null]

ScalarUtil.subShifted_NP alway like this: ts=2024-03-11 22:07:19; [cost=4.79E-4ms] result=[[10,0,[-1716315207,889396293,-1790990196,2009785645,1235409578,1808580185,1484498910,1530955753,2083441220,-553872943,1902535853,0,0,0,0,0],[-1206729734,1416301229,-1334253532,1809152835,-857248254,438729024,919837237,-553872943,1902535853,0,0,0,0,0,0,0],[-584333345,153520642,-831589256,2107610247,-966692209,14916415,-1902580523,463978880,1487883832,0,0,-1,-1,0,0,-1]],null,null] method=org.bouncycastle.math.ec.rfc8032.ScalarUtil.subShifted_NP location=AtEnter ts=2024-03-11 22:07:19; [cost=5.01E-4ms] result=[[10,0,[-1716315207,889396293,-1790990196,2009785645,1235409578,1808580185,1484498910,1530955753,2083441220,-553872943,1902535853,0,0,0,0,0],[-1206729734,1416301229,-1334253532,1809152835,-857248254,438729024,919837237,-553872943,1902535853,0,0,0,0,0,0,0],[-584333345,153520642,-831589256,2107610247,-966692209,14916415,-1902580523,463978880,1487883832,0,0,-1,-1,0,0,-1]],null,null] method=org.bouncycastle.math.ec.rfc8032.ScalarUtil.subShifted_NP location=AtEnter ts=2024-03-11 22:07:19; [cost=4.96E-4ms] result=[[10,0,[-1716315207,889396293,-1790990196,2009785645,1235409578,1808580185,1484498910,1530955753,2083441220,-553872943,1902535853,0,0,0,0,0],[-1206729734,1416301229,-1334253532,1809152835,-857248254,438729024,919837237,-553872943,1902535853,0,0,0,0,0,0,0],[-584333345,153520642,-831589256,2107610247,-966692209,14916415,-1902580523,463978880,1487883832,0,0,-1,-1,0,0,-1]],null,null]

tps: indicates that the method is invoked 10000 times per second.The 10000 requests use different public and private key pairs, which are generated using the bc method. The key and...

Key generation function: ```public static KeyPair generateKeyPair(String algorithm, int keySize) { KeyPairGenerator keyGen; try { keyGen = KeyPairGenerator.getInstance(algorithm, "BC"); } catch (NoSuchAlgorithmException | NoSuchProviderException e) { RUN_LOG.error("init key pair failed....

I will try to get the data from the test environment after reproducing it, seem not hard to reproduce. I guess maybe key pairs trigger some boundary values in some...

Thank you for your prompt reply, I'm trying to reproduce and get the content of the messages that are having problems with the public-private key pairs, It's going to take...

Same code verify true without endless loop when using bcpkix-jdk15on. any one help? @dghgit

The problem is with version 1.74 @dghgit ,Is there any way to fix it?