summaryrefslogtreecommitdiff
path: root/tests/benchmark.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2013-09-07 10:06:46 +0200
committerWerner Koch <wk@gnupg.org>2013-09-17 15:22:15 +0200
commit89fe2173649a72019d75e059e6c6938efd10421f (patch)
tree2dca440a3424ed505d7015cdaf530f873b5b6467 /tests/benchmark.c
parenta7a9cdcaaf3979baa18dad51e722882581349f45 (diff)
downloadlibgcrypt-89fe2173649a72019d75e059e6c6938efd10421f.tar.gz
mpi: Support printing of negative numbers.
* mpi/mpicoder.c (twocompl, onecompl): New. (gcry_mpi_print): Use it for STD and SSH. (gcry_mpi_scan): Use it for STD and SSH. Always set NSCANNED. (gcry_mpi_aprint): Clear the extra allocated byte. * tests/t-convert.c (showhex, showmpi): New. (mpi2bitstr_nlz): New. (check_formats): New. (main): Call new test. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tests/benchmark.c')
0 files changed, 0 insertions, 0 deletions