Home GnuPG

mpi: New internal function _gcry_mpi_cmpabs.

Description

mpi: New internal function _gcry_mpi_cmpabs.

* mpi/mpi-cmp.c (_gcry_mpi_cmp): Factor out to ...
(do_mpi_cmp): New.  Add arg absmode.
(_gcry_mpi_cmpabs): New.
* src/gcrypt-int.h (mpi_cmpabs): New macro.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 5 2018, 2:29 PM
Parents
rC61dbb7c08ab1: build: Convince gcc not to delete NULL ptr checks.
Branches
Unknown
Tags
Unknown