MPILIB: Reinstate mpi_cmp[_ui]() and export for RSA signature verification
authorDavid Howells <dhowells@redhat.com>
Fri, 21 Sep 2012 22:25:22 +0000 (23:25 +0100)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 8 Oct 2012 03:20:15 +0000 (13:50 +1030)
commit12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5
treee8b2281155d6f962f6f4296efcd3dd02ebe02f6d
parent4ae71c1dce1e3d2270a0755988033e236b8e45d6
MPILIB: Reinstate mpi_cmp[_ui]() and export for RSA signature verification

Reinstate and export mpi_cmp() and mpi_cmp_ui() from the MPI library for use by
RSA signature verification as per RFC3447 section 5.2.2 step 1.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/mpi/Makefile
lib/mpi/mpi-cmp.c [new file with mode: 0644]