gcry_mpi_powm(res,base,exp,mod) does not correctly handle the situation when any
of (base,exp,mod) refers to the same underlying MPI structure as res. This sets
it apart from all the other MPI calculation functions. The attached file
demonstrates the bug.
Description
Description
Details
Details
- Version
- 1.4.1
Event Timeline
Comment Actions
Fixed in svn revision 1364. Will go into 1.4.4. If you want to test it, grab
http://cvs.gnupg.org/cgi-bin/viewcvs.cgi/*checkout*/trunk/mpi/mpi-pow.c?rev=1364&root=Libgcrypt