Hi Mrinali,
> I am trying to implement RSA encryption using LibTomCrypt for a project.
Uhm, that's already there?
> I am able to compile the rsa_test program given in the document (I
> actually got help from steps given in this thread so Thank You for that!).
> My problem is that I need to be able to test the implementations for RSA
> (and some other symmetric algorithm later) against the test vector files
> provided on NIST website, here:
>
>
http://csrc.nist.gov/groups/STM/cavp/component-testing.html#RSADP
That's also already there (at least all the PKCS testvectors (c.f.
https://github.com/libtom/libtomcrypt/tree/develop/notes/rsa-testvectors )
> I started with the RSADP test vectors that would apparently be used
> against the function rsa_exptmod(). I am some issues here as the
> rsa_key structure requires p and q and the test file provides only n,e,d
> values plus k , data to be encrypted and c, the ciphertext. It also
> gives intermediate values before the mod operation.
It's pretty obvious from the rsa_exptmod() implementation that there's
no need for the CRT parts and you only need n, e & d.
> Has any one written tests to run with the test vectors from NIST website
> and if yes will appreciate any pointers regarding the same.
If you plan to somehow add a parser for the "SP 800-56B Section 7.1.2"
testvectors feel free to submit a PR.
HTH,
Steffen
>
www.duolog.com <
http://www.duolog.com/>
>
> *Revolutionary Tools for IP/SoC Integration and Verification*
> *Evaluate the Socrates Tools instantly in the cloud
> <
http://www.xuropa.com/company.php?comp_id=491>*
> Learn more about Duolog's Conference Programme - SOC Integration and
> Verification
> <
http://www.duolog.com/duolog-is-exhibiting-at-the-49th-design-automation-conference-dac-san-francisco-ca-june-3-7/>
>
> --
> *** Please reply-to-all at all times ***
> *** (do not pretend to know who is subscribed and who is not) ***
> *** Please avoid top-posting. ***
> ---
> You received this message because you are subscribed to the Google
> Groups "LibTom Projects" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
libtom+un...@googlegroups.com
> <mailto:
libtom+un...@googlegroups.com>.
> <mailto:
lib...@googlegroups.com>.
> Visit this group at
https://groups.google.com/group/libtom.
> For more options, visit
https://groups.google.com/d/optout.
--
Steffen Jaeckel -
s_ja...@gmx.de
GnuPG fingerprint: C438 6A23 7ED4 3A47 5541 B942 7B2C D0DD 4BCF F59B
My OTR key has changed on 30. Sept. 2015!
jabber:
jae...@jabber.ccc.de F052DE29 4FA9A02D 44A794E5 AE5AC0FB C5865C64