Home GnuPG

rsa: Use modern MPI allocation function.

Description

rsa: Use modern MPI allocation function.

* cipher/rsa.c (secret_core_crt): Use modern function _gcry_mpi_snew.

Eventually we want to get rid of the notion of limb sizes in mpi using
code. Thus it is better to use the modern function/macro.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 29 2017, 8:31 AM
Parents
rC85a9a913da9e: build: Minor API fixes to fix build problems on AIX.
Branches
Unknown
Tags
Unknown