Re: Fwd: CAVP fips_rsastest.c not producing the correct signature?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 28, 2017 at 12:15 AM, Swetha Hariharan
<swethahariharan1810@xxxxxxxxx> wrote:
>
>
> I am trying test the rsa 186-2 openssl fips module 2.0.16 implementation
> using the NIST Testvectors. Using the  fips_rsastest.c file the
> FIPS_rsa_x931_generate_key_ex(rsa, keylen, bn_e, NULL) function called to
> generate the modulus n as the output and taking modulus size as the input
> i,e [mod=1024]. Then this modulus along with the appropriate hash function
> and message is passed to FIPS_rsa_sign(rsa, Msg, Msglen, dgst, pad_mode,
> Saltlen, NULL,sigbuf, (unsigned int *)&siglen) to obtain the signature as
> the output.
> But each time i execute the c code it generates different modulus n. Why is
> output changing after every execution. What am i doing wrong? I am facing
> the same problem with DSA parameter generation also. It will help me.

Key generation for RSA and DSA use pairwise consistency checks, not
known answer tests.

Jeff
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux