Name Description Size
aeswrap.c Now the last step again with a key reset. 8730
basic-disable-all-hwf.in 125
basic.c Convert STRING consisting of hex characters into its binary representation and return it as an allocated buffer. The valid length of the buffer is returned at R_LENGTH. The string is delimited by end of string. The function terminates on error. 610399
basic_all_hwfeature_combinations.sh 2966
bench-slope.c CPU Ghz value provided by user, allows constructing cycles/byte and other results. 54289
benchmark.c Do encryption tests with large buffers (100 KiB). 67981
blake2b.h Generated from https://raw.githubusercontent.com/BLAKE2/BLAKE2/master/testvectors/blake2-kat.h 84495
blake2s.h Generated from https://raw.githubusercontent.com/BLAKE2/BLAKE2/master/testvectors/blake2-kat.h 49679
cavs_driver.pl 60635
cavs_tests.sh 3826
ChangeLog-2011 25343
curves.c Number of curves defined in ../cipger/ecc-curves.c 6083
dsa-rfc6979.c Convert STRING consisting of hex characters into its binary representation and return it as an allocated buffer. The valid length of the buffer is returned at R_LENGTH. The string is delimited by end of string. The function returns NULL on error. 37231
fips186-dsa.c Convert STRING consisting of hex characters into its binary representation and return it as an allocated buffer. The valid length of the buffer is returned at R_LENGTH. The string is delimited by end of string. The function returns NULL on error. 21767
fipsdrv.c We need setmode(). 81543
gchash.c Allocate a pool of 16k secure memory. This make the secure memory available and also drops privileges where needed. 2831
genhashdata.c Results: $ for i in -64 -1 0 1 64; do ./genhashdata --gigs 256 --bytes $i|sha1sum;done 92fc51850c7b750e6e774b75f294f6979d4059f0 - 4bddeeb4c08683f02d4944d93dbcb02ebab50134 - 71b923afde1c8c040884c723a2e3335b333e64c6 - 2d99f9b5b86e9c9c937104f4242bd6b8bc0927ef - a60dabe8d749f798b7ec3a684cc3eab487451482 - $ for i in -64 -1 0 1 64; do ./genhashdata --gigs 256 --bytes $i|sha224sum;done b5672b54d2480a5688a2dc727a1ad4db7a81ef31ce8999e0bbaeffdc - 814ea7159473e6ffc1c64b90026a542e13ac6980f7f3ca3c4582a9b8 - 9ec0e1829455db8650ec7a8b06912196f97a7358bc3a73c79911cd4e - e578d5d523320876565bbbc892511a485427caee6dd754d57e3e58c2 - ff0464df248cd298b63765bc4f87f21e25c93c657fdf3656d3c878e5 - $ for i in -64 -1 0 1 64; do ./genhashdata --gigs 256 --bytes $i|sha256sum;done 87a9828d3de78d55d252341db2a622908c4e0ceaee9961ecf9768700fc799ec8 - 823bf95f64ef04a4a77579c38760b1d401b56bf3a8e664bdf56ca15afb468a03 - 2d0723878cb2c3d5c59dfad910cdb857f4430a6ba2a7d687938d7a20e63dde47 - 5a2e21b1e79cd866acf53a2a18ca76bd4e02c4b01bf4627354171824c812d95f - 34444808af8e9d995e67f9e155ed94bf55f195a51dc1d8a989e6bcf95511c8a2 - $ for i in -64 -1 0 1 64; do ./genhashdata --gigs 256 --bytes $i|sha512sum;done e01bf8140874bf240e8426cb2bcbc377cbed2e6037334116637149e1cd8cd462 \ 96828b71f32b9f002771d4cb51172ce578b73b7939221e4df655ecd08601e655 - 4917ff94514b1757705c289fdc3e7d6ffcce5771b20ae237ebc03d2ec9eb435f \ b7ce9f0e27272be8cced77a5edae1a01a0ad62b0a44169d88bbee45474a17734 - 1e28e8b3c79f2f47da11f3c0b7da4e7981e7d932db6d17d528a31e191922edda \ 8fc4bb2df10ea876232db5a1c606bc41886e8b2c570a3e721221f60c8c7dc4ab - 027d3324dd1cf127770ceb53681f4c70937c9bca4e3acd5fd76cb266c7d4527d \ 58140290a1822e8d60c4d3ae9725fb923183230d6dfd2d7d73c0d74a4757f34a - 49920704ea9d6ee19f0742d6c868110fa3eda8ac09f026e9ef22cc731af53020 \ de40eedef66cb1afd94c61e285fa9327e01336e804903740a9145ab1f065c2d5 - 5393
hashtest-256g.in 202
hashtest.c 13970
hmac.c 5287
keygen.c static void 21869
keygrip.c 13236
Makefile.am 4180
Makefile.in 48510
mpitests.c Set up some test patterns 20046
pkbench.c HAVE_W32_SYSTEM 11303
pkcs1v2-oaep.h pkcs1v2-oaep.h - OAEP test vector table Copyright 2011 Free Software Foundation, Inc. This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 41145
pkcs1v2-pss.h pkcs1v2-pss.h - PSS test vector table Copyright 2011 Free Software Foundation, Inc. This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 55191
pkcs1v2-v15c.h pkcs1v2-v15c.h - pkcs#1 v1.5 crypt test vector table Copyright 2011 Free Software Foundation, Inc. This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 238096
pkcs1v2-v15s.h pkcs1v2-v15s.h - pkcs#1 v1.5 sign test vector table Copyright 2011 Free Software Foundation, Inc. This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 226784
pkcs1v2.c Convert STRING consisting of hex characters into its binary representation and return it as an allocated buffer. The valid length of the buffer is returned at R_LENGTH. The string is delimited by end of string. The function returns NULL on error. 21637
prime.c Print an MPI S-expression. 6371
pubkey.c Sample RSA keys, taken from basic.c. 39031
random.c Prepend FNAME with the srcdir environment variable's value and return an allocated filename. 21315
README Some notes about the tests. 354
rsa-16k.key 18614
rsacvt.c Input data format: ======= # A hash denotes a comment line e861b700e17e8afe68[...]f1 f7a7ca5367c661f8e6[...]61 10001 # After an empty line another input block may follow. 7861b700e17e8afe68[...]f3 e7a7ca5367c661f8e6[...]71 3 ========= 9520
sha3-224.h Generated from https://raw.githubusercontent.com/gvanas/KeccakCodePackage/master/TestVectors/ShortMsgKAT_SHA3-224.txt 170510
sha3-256.h Generated from https://raw.githubusercontent.com/gvanas/KeccakCodePackage/master/TestVectors/ShortMsgKAT_SHA3-256.txt 174606
sha3-384.h Generated from https://raw.githubusercontent.com/gvanas/KeccakCodePackage/master/TestVectors/ShortMsgKAT_SHA3-384.txt 190990
sha3-512.h Generated from https://raw.githubusercontent.com/gvanas/KeccakCodePackage/master/TestVectors/ShortMsgKAT_SHA3-512.txt 207374
stopwatch.h 3250
t-common.h A couple of useful macros. 5350
t-convert.c Allocate a bit string consisting of '0' and '1' from the MPI A. Do not return any leading zero bits. Caller needs to gcry_free the result. 15348
t-cv25519.c To align above "PASS: ". 18610
t-ed448.c To align above "PASS: ". 14108
t-ed448.inp 8247
t-ed25519.c To align above "PASS: ". 12828
t-ed25519.inp 1345779
t-kdf.c 39931
t-lock.c Mingw requires us to include windows.h after winsock2.h which is included by gcrypt.h. 10719
t-mpi-bit.c Allocate a bit string consisting of '0' and '1' from the MPI A. Return the LENGTH least significant bits. Caller needs to xfree the result. 9118
t-mpi-point.c Description of the curve. 43900
t-secmem.c Allocating 28*512=14k should work in the default 16k pool even with extra alignment requirements. 5578
t-sexp.c Convert STRING consisting of hex characters into its binary representation and return it as an allocated buffer. The valid length of the buffer is returned at R_LENGTH. The string is delimited by end of string. The function returns NULL on error. 42298
t-x448.c To align above "PASS: ". 16850
testapi.c an ElGamal public key 3975
testdrv.c For some macros. 21419
version.c This test should be run first because due to a failing config.links script or bad configure parameters the just build libgcrypt may crash in case MPI function for specific CPU revisions have been enabled. Running this test first will print out information so to make it easier to figure out the problem. 4834