From bd35c07cbd76f7484d7c391344ea2d460508cd1e Mon Sep 17 00:00:00 2001 From: "Laszlo Boszormenyi (GCS)" Date: Thu, 25 Aug 2022 18:44:25 +0100 Subject: [PATCH 1/1] Import libcrypto++_8.7.0+git220824.orig.tar.gz [dgit import orig libcrypto++_8.7.0+git220824.orig.tar.gz] --- .appveyor.yml | 55 + .cirrus.yml | 59 + .gitattributes | 1 + .github/issue_template.md | 19 + .github/workflows/c-cpp.yml | 19 + .gitignore | 294 + .travis.yml | 615 ++ 3way.cpp | 143 + 3way.h | 63 + Doxyfile | 2429 ++++++ Filelist.txt | 652 ++ GNUmakefile | 1825 +++++ GNUmakefile-cross | 1079 +++ History.txt | 582 ++ Install.txt | 241 + License.txt | 84 + Readme.txt | 449 + Security.md | 15 + TestData/3desval.dat | 3 + TestData/3wayval.dat | 5 + TestData/aria.dat | 45 + TestData/camellia.dat | 45 + TestData/cast128v.dat | 11 + TestData/cast256v.dat | 11 + TestData/defdmac1.bin | 1 + TestData/defdmac2.bin | Bin 0 -> 136 bytes TestData/descert.dat | 171 + TestData/dh1024.dat | 1 + TestData/dh2048.dat | 1 + TestData/dlie1024.dat | 1 + TestData/dlie2048.dat | 1 + TestData/dsa1024.dat | 1 + TestData/dsa1024b.dat | 1 + TestData/dsa512.dat | 1 + TestData/ecies_p160.dat | 1 + TestData/ecies_t163.dat | 1 + TestData/ed25519.dat | 1 + TestData/ed25519v0.dat | 1 + TestData/ed25519v1.dat | 1 + TestData/elgc1024.dat | 1 + TestData/esig1023.dat | 1 + TestData/esig1536.dat | 1 + TestData/esig2046.dat | 1 + TestData/fhmqv160.dat | 1 + TestData/fhmqv256.dat | 1 + TestData/fhmqv384.dat | 1 + TestData/fhmqv512.dat | 1 + TestData/gostval.dat | 23 + TestData/hmqv160.dat | 1 + TestData/hmqv256.dat | 1 + TestData/hmqv384.dat | 1 + TestData/hmqv512.dat | 1 + TestData/ideaval.dat | 11 + TestData/luc1024.dat | 1 + TestData/luc2048.dat | 1 + TestData/lucc1024.dat | 1 + TestData/lucc512.dat | 1 + TestData/lucd1024.dat | 4 + TestData/lucd512.dat | 2 + TestData/lucs1024.dat | 1 + TestData/lucs512.dat | 1 + TestData/marsval.dat | 9 + TestData/mqv1024.dat | 1 + TestData/mqv2048.dat | 1 + TestData/nr1024.dat | 1 + TestData/nr2048.dat | 1 + TestData/rabi1024.dat | 1 + TestData/rabi2048.dat | 1 + TestData/rc2val.dat | 48 + TestData/rc5val.dat | 5 + TestData/rc6val.dat | 17 + TestData/rijndael.dat | 9 + TestData/rsa1024.dat | 32 + TestData/rsa2048.dat | 61 + TestData/rsa2048a.dat | 77 + TestData/rsa400pb.dat | 10 + TestData/rsa400pv.dat | 41 + TestData/rsa512a.dat | 35 + TestData/rw1024.dat | 1 + TestData/rw2048.dat | 1 + TestData/saferval.dat | 16 + TestData/serpentv.dat | 12 + TestData/shacal2v.dat | 14 + TestData/sharkval.dat | 7 + TestData/skipjack.dat | 1 + TestData/squareva.dat | 8 + TestData/twofishv.dat | 9 + TestData/usage.dat | 81 + TestData/x25519.dat | 1 + TestData/x25519v0.dat | 1 + TestData/x25519v1.dat | 1 + TestData/xtrdh171.dat | 3 + TestData/xtrdh342.dat | 5 + TestPrograms/dump2def.cpp | 214 + TestPrograms/test_32bit.cpp | 7 + TestPrograms/test_64bit.cpp | 7 + TestPrograms/test_arm_acle_header.cpp | 6 + TestPrograms/test_arm_aes.cpp | 14 + TestPrograms/test_arm_armv7.cpp | 13 + TestPrograms/test_arm_asimd.cpp | 11 + TestPrograms/test_arm_crc.cpp | 23 + TestPrograms/test_arm_neon.cpp | 11 + TestPrograms/test_arm_neon_header.cpp | 6 + TestPrograms/test_arm_pmull.cpp | 26 + TestPrograms/test_arm_sha1.cpp | 13 + TestPrograms/test_arm_sha256.cpp | 13 + TestPrograms/test_arm_sha3.cpp | 19 + TestPrograms/test_arm_sha512.cpp | 17 + TestPrograms/test_arm_sm3.cpp | 19 + TestPrograms/test_arm_sm4.cpp | 15 + TestPrograms/test_asm_mixed.cpp | 31 + TestPrograms/test_cxx.cpp | 6 + TestPrograms/test_cxx11.cpp | 11 + TestPrograms/test_cxx11_alignas.cpp | 5 + TestPrograms/test_cxx11_alignof.cpp | 6 + TestPrograms/test_cxx11_assert.cpp | 10 + TestPrograms/test_cxx11_atomic.cpp | 7 + TestPrograms/test_cxx11_auto.cpp | 5 + TestPrograms/test_cxx11_constexpr.cpp | 10 + TestPrograms/test_cxx11_deletefn.cpp | 10 + TestPrograms/test_cxx11_enumtype.cpp | 7 + TestPrograms/test_cxx11_initializer.cpp | 6 + TestPrograms/test_cxx11_lambda.cpp | 10 + TestPrograms/test_cxx11_noexcept.cpp | 29 + TestPrograms/test_cxx11_nullptr.cpp | 6 + TestPrograms/test_cxx11_staticinit.cpp | 11 + TestPrograms/test_cxx11_sync.cpp | 7 + TestPrograms/test_cxx11_vartemplates.cpp | 9 + TestPrograms/test_cxx14.cpp | 9 + TestPrograms/test_cxx17.cpp | 9 + TestPrograms/test_cxx17_assert.cpp | 10 + TestPrograms/test_cxx17_exceptions.cpp | 11 + TestPrograms/test_cxx98_exception.cpp | 12 + TestPrograms/test_glibc.cpp | 8 + TestPrograms/test_newlib.cpp | 8 + TestPrograms/test_nodevirtualize.cpp | 19 + TestPrograms/test_ppc_aes.cpp | 26 + TestPrograms/test_ppc_altivec.cpp | 13 + TestPrograms/test_ppc_power7.cpp | 44 + TestPrograms/test_ppc_power8.cpp | 46 + TestPrograms/test_ppc_power9.cpp | 33 + TestPrograms/test_ppc_sha.cpp | 23 + TestPrograms/test_ppc_vmull.cpp | 17 + TestPrograms/test_pthreads.cpp | 15 + TestPrograms/test_x86_aes.cpp | 11 + TestPrograms/test_x86_avx.cpp | 7 + TestPrograms/test_x86_avx2.cpp | 9 + TestPrograms/test_x86_avx512.cpp | 8 + TestPrograms/test_x86_clmul.cpp | 8 + TestPrograms/test_x86_cpuid.cpp | 7 + TestPrograms/test_x86_rdrand.cpp | 10 + TestPrograms/test_x86_rdseed.cpp | 10 + TestPrograms/test_x86_sha.cpp | 14 + TestPrograms/test_x86_sse2.cpp | 7 + TestPrograms/test_x86_sse3.cpp | 8 + TestPrograms/test_x86_sse41.cpp | 10 + TestPrograms/test_x86_sse42.cpp | 7 + TestPrograms/test_x86_ssse3.cpp | 8 + TestPrograms/test_x86_via_aes.cpp | 39 + TestPrograms/test_x86_via_rng.cpp | 38 + TestPrograms/test_x86_via_sha.cpp | 39 + TestScripts/change-version.sh | 29 + TestScripts/configure.sh | 938 +++ TestScripts/coverity-linux.txt | 30 + TestScripts/coverity-macosx.txt | 36 + TestScripts/coverity-windows.txt | 30 + TestScripts/cryptdll-windows.cmd | 18 + TestScripts/cryptest-android-mk.sh | 125 + TestScripts/cryptest-android.sh | 242 + TestScripts/cryptest-autotools.sh | 147 + TestScripts/cryptest-coverage.sh | 149 + TestScripts/cryptest-coverity.cpp | 12 + TestScripts/cryptest-ios.sh | 186 + TestScripts/cryptest-pem.sh | 111 + TestScripts/cryptest-symbols.sh | 224 + TestScripts/cryptest-tidy.sh | 18 + TestScripts/cryptest.sh | 8095 +++++++++++++++++++ TestScripts/governor.sh | 79 + TestScripts/install-ndk.sh | 207 + TestScripts/make-benchmarks.sh | 173 + TestScripts/reset-fork.sh | 17 + TestScripts/setenv-android.sh | 506 ++ TestScripts/setenv-embedded.sh | 184 + TestScripts/setenv-ios.sh | 397 + TestScripts/setenv-macos.sh | 422 + TestVectors/Readme.txt | 89 + TestVectors/aead.txt | 6 + TestVectors/aes.txt | 347 + TestVectors/all.txt | 65 + TestVectors/aria.txt | 158 + TestVectors/blake2.txt | 4 + TestVectors/blake2b.txt | 438 + TestVectors/blake2s.txt | 223 + TestVectors/camellia.txt | 8646 ++++++++++++++++++++ TestVectors/ccm.txt | 240 + TestVectors/chacha.txt | 776 ++ TestVectors/chacha20poly1305.txt | 9439 ++++++++++++++++++++++ TestVectors/chacha_tls.txt | 337 + TestVectors/cham.txt | 471 ++ TestVectors/cmac.txt | 38 + TestVectors/dlies.txt | 542 ++ TestVectors/dsa.txt | 397 + TestVectors/dsa_1363.txt | 553 ++ TestVectors/dsa_rfc6979.txt | 663 ++ TestVectors/eax.txt | 75 + TestVectors/esign.txt | 93 + TestVectors/gcm.txt | 168 + TestVectors/hc128.txt | 645 ++ TestVectors/hc256.txt | 2330 ++++++ TestVectors/hight.txt | 522 ++ TestVectors/hkdf.txt | 173 + TestVectors/hmac.txt | 281 + TestVectors/kalyna.txt | 94 + TestVectors/keccak.txt | 861 ++ TestVectors/lea.txt | 713 ++ TestVectors/lsh.txt | 5 + TestVectors/lsh256.txt | 1477 ++++ TestVectors/lsh512.txt | 1477 ++++ TestVectors/lsh512_256.txt | 738 ++ TestVectors/mars.txt | 66 + TestVectors/nr.txt | 615 ++ TestVectors/ocb.txt | 177 + TestVectors/panama.txt | 76 + TestVectors/poly1305_tls.txt | 1687 ++++ TestVectors/poly1305aes.txt | 2229 +++++ TestVectors/rabbit.txt | 1980 +++++ TestVectors/rsa_oaep.txt | 1765 ++++ TestVectors/rsa_pkcs1_1_5.txt | 89 + TestVectors/rsa_pss.txt | 2083 +++++ TestVectors/rw.txt | 166 + TestVectors/salsa.txt | 596 ++ TestVectors/seal.txt | 137 + TestVectors/seed.txt | 19 + TestVectors/sha.txt | 59 + TestVectors/sha1_160_fips_180.txt | 519 ++ TestVectors/sha1_fips_180.txt | 3 + TestVectors/sha2.txt | 6 + TestVectors/sha2_224_fips_180.txt | 519 ++ TestVectors/sha2_256_fips_180.txt | 519 ++ TestVectors/sha2_384_fips_180.txt | 1031 +++ TestVectors/sha2_512_fips_180.txt | 1031 +++ TestVectors/sha2_fips_180.txt | 6 + TestVectors/sha3.txt | 6 + TestVectors/sha3_224_fips_202.txt | 983 +++ TestVectors/sha3_256_fips_202.txt | 951 +++ TestVectors/sha3_384_fips_202.txt | 823 ++ TestVectors/sha3_512_fips_202.txt | 695 ++ TestVectors/sha3_fips_202.txt | 6 + TestVectors/shacal2.txt | 5123 ++++++++++++ TestVectors/shake.txt | 1206 +++ TestVectors/simeck.txt | 317 + TestVectors/simon.txt | 885 ++ TestVectors/siphash.txt | 3849 +++++++++ TestVectors/skipjack.txt | 1046 +++ TestVectors/sm3.txt | 358 + TestVectors/sm4.txt | 392 + TestVectors/sosemanuk.txt | 25 + TestVectors/speck.txt | 885 ++ TestVectors/tea.txt | 711 ++ TestVectors/threefish.txt | 117 + TestVectors/ttmac.txt | 40 + TestVectors/vmac.txt | 77 + TestVectors/wake.txt | 10 + TestVectors/whrlpool.txt | 39 + TestVectors/xchacha.txt | 75 + TestVectors/xts.txt | 8228 +++++++++++++++++++ adhoc.cpp.proto | 42 + adler32.cpp | 82 + adler32.h | 33 + adv_simd.h | 1281 +++ aes.h | 30 + aes_armv4.S | 1215 +++ aes_armv4.h | 30 + algebra.cpp | 341 + algebra.h | 453 ++ algparam.cpp | 75 + algparam.h | 520 ++ allocate.cpp | 107 + allocate.h | 74 + arc4.cpp | 122 + arc4.h | 89 + argnames.h | 99 + aria.cpp | 357 + aria.h | 71 + aria_simd.cpp | 194 + ariatab.cpp | 166 + arm_simd.h | 449 + asn.cpp | 717 ++ asn.h | 965 +++ authenc.cpp | 188 + authenc.h | 87 + base32.cpp | 97 + base32.h | 158 + base64.cpp | 111 + base64.h | 158 + basecode.cpp | 247 + basecode.h | 146 + bds10.zip | Bin 0 -> 6812 bytes bench.h | 105 + bench1.cpp | 520 ++ bench2.cpp | 267 + bench3.cpp | 480 ++ bfinit.cpp | 277 + blake2.cpp | 797 ++ blake2.h | 444 + blake2b_simd.cpp | 1276 +++ blake2s_simd.cpp | 1091 +++ blowfish.cpp | 99 + blowfish.h | 54 + blumshub.cpp | 64 + blumshub.h | 70 + camellia.cpp | 539 ++ camellia.h | 49 + cast.cpp | 292 + cast.h | 109 + casts.cpp | 545 ++ cbcmac.cpp | 62 + cbcmac.h | 63 + ccm.cpp | 139 + ccm.h | 123 + chacha.cpp | 568 ++ chacha.h | 223 + chacha_avx.cpp | 421 + chacha_simd.cpp | 1109 +++ chachapoly.cpp | 211 + chachapoly.h | 322 + cham.cpp | 365 + cham.h | 179 + cham_simd.cpp | 478 ++ channels.cpp | 316 + channels.h | 142 + cmac.cpp | 164 + cmac.h | 76 + config.h | 33 + config_align.h | 72 + config_asm.h | 488 ++ config_cpu.h | 211 + config_cxx.h | 247 + config_dll.h | 178 + config_int.h | 253 + config_misc.h | 194 + config_ns.h | 76 + config_os.h | 169 + config_ver.h | 90 + cpu.cpp | 1466 ++++ cpu.h | 1089 +++ crc.cpp | 367 + crc.h | 90 + crc_simd.cpp | 172 + cryptdll.vcxproj | 334 + cryptdll.vcxproj.filters | 450 ++ cryptest.nmake | 363 + cryptest.sln | 89 + cryptest.vcxproj | 381 + cryptest.vcxproj.filters | 524 ++ cryptest.vcxproj.user | 6 + cryptlib.cpp | 1054 +++ cryptlib.h | 3379 ++++++++ cryptlib.vcxproj | 585 ++ cryptlib.vcxproj.filters | 1107 +++ cryptopp.mapfile | 15 + cryptopp.rc | 99 + cryptopp.supp | 8 + darn.cpp | 236 + darn.h | 95 + datatest.cpp | 1358 ++++ default.cpp | 307 + default.h | 310 + des.cpp | 465 ++ des.h | 163 + dessp.cpp | 88 + dh.cpp | 21 + dh.h | 275 + dh2.cpp | 69 + dh2.h | 70 + dll.cpp | 169 + dll.h | 71 + dlltest.cpp | 212 + dlltest.vcxproj | 135 + dlltest.vcxproj.filters | 14 + dmac.h | 114 + donna.h | 178 + donna_32.cpp | 2102 +++++ donna_32.h | 411 + donna_64.cpp | 1815 +++++ donna_64.h | 457 ++ donna_sse.cpp | 1123 +++ donna_sse.h | 86 + drbg.h | 718 ++ dsa.cpp | 66 + dsa.h | 53 + eax.cpp | 59 + eax.h | 112 + ec2n.cpp | 320 + ec2n.h | 136 + eccrypto.cpp | 840 ++ eccrypto.h | 686 ++ ecp.cpp | 506 ++ ecp.h | 167 + ecpoint.h | 146 + elgamal.cpp | 22 + elgamal.h | 308 + emsa2.cpp | 44 + emsa2.h | 101 + eprecomp.cpp | 114 + eprecomp.h | 162 + esign.cpp | 233 + esign.h | 169 + factory.h | 179 + fhmqv.h | 408 + files.cpp | 300 + files.h | 181 + filters.cpp | 1270 +++ filters.h | 1529 ++++ fips140.cpp | 84 + fips140.h | 112 + fipsalgt.cpp | 1293 +++ fipstest.cpp | 652 ++ fltrimpl.h | 87 + gcm.cpp | 856 ++ gcm.h | 139 + gcm_simd.cpp | 681 ++ gf256.cpp | 34 + gf256.h | 72 + gf2_32.cpp | 99 + gf2_32.h | 73 + gf2n.cpp | 1070 +++ gf2n.h | 404 + gf2n_simd.cpp | 614 ++ gfpcrypt.cpp | 334 + gfpcrypt.h | 1036 +++ gost.cpp | 123 + gost.h | 66 + gzip.cpp | 208 + gzip.h | 144 + hashfwd.h | 38 + hc128.cpp | 279 + hc128.h | 67 + hc256.cpp | 158 + hc256.h | 67 + hex.cpp | 58 + hex.h | 50 + hight.cpp | 271 + hight.h | 81 + hkdf.h | 179 + hmac.cpp | 90 + hmac.h | 80 + hmqv.h | 417 + hrtimer.cpp | 174 + hrtimer.h | 134 + ida.cpp | 418 + ida.h | 182 + idea.cpp | 191 + idea.h | 66 + integer.cpp | 4946 ++++++++++++ integer.h | 839 ++ iterhash.cpp | 200 + iterhash.h | 218 + kalyna.cpp | 1362 ++++ kalyna.h | 218 + kalynatab.cpp | 1232 +++ keccak.cpp | 67 + keccak.h | 118 + keccak_core.cpp | 261 + keccak_simd.cpp | 2681 ++++++ lea.cpp | 899 +++ lea.h | 108 + lea_simd.cpp | 1072 +++ lsh.h | 262 + lsh256.cpp | 817 ++ lsh256_avx.cpp | 651 ++ lsh256_sse.cpp | 713 ++ lsh512.cpp | 893 ++ lsh512_avx.cpp | 763 ++ lsh512_sse.cpp | 941 +++ lubyrack.h | 137 + luc.cpp | 231 + luc.h | 338 + mars.cpp | 154 + mars.h | 60 + marss.cpp | 140 + md2.cpp | 120 + md2.h | 56 + md4.cpp | 110 + md4.h | 35 + md5.cpp | 124 + md5.h | 35 + mdc.h | 84 + mersenne.h | 231 + misc.cpp | 394 + misc.h | 3013 +++++++ modarith.h | 344 + modes.cpp | 306 + modes.h | 609 ++ modexppc.h | 48 + mqueue.cpp | 175 + mqueue.h | 145 + mqv.cpp | 46 + mqv.h | 268 + naclite.h | 438 + nbtheory.cpp | 1141 +++ nbtheory.h | 317 + neon_simd.cpp | 197 + nr.h | 11 + oaep.cpp | 98 + oaep.h | 54 + oids.h | 197 + osrng.cpp | 337 + osrng.h | 304 + ossig.h | 128 + padlkrng.cpp | 105 + padlkrng.h | 138 + panama.cpp | 533 ++ panama.h | 169 + pch.cpp | 1 + pch.h | 31 + pkcspad.cpp | 160 + pkcspad.h | 123 + poly1305.cpp | 403 + poly1305.h | 241 + polynomi.cpp | 577 ++ polynomi.h | 463 ++ power7_ppc.cpp | 93 + power8_ppc.cpp | 267 + power9_ppc.cpp | 136 + ppc_simd.cpp | 96 + ppc_simd.h | 2764 +++++++ pssr.cpp | 163 + pssr.h | 105 + pubkey.cpp | 170 + pubkey.h | 2378 ++++++ pwdbased.h | 481 ++ queue.cpp | 601 ++ queue.h | 272 + rabbit.cpp | 259 + rabbit.h | 112 + rabin.cpp | 241 + rabin.h | 135 + randpool.cpp | 174 + randpool.h | 104 + rc2.cpp | 118 + rc2.h | 90 + rc5.cpp | 80 + rc5.h | 59 + rc6.cpp | 96 + rc6.h | 60 + rdrand.asm | 230 + rdrand.cpp | 327 + rdrand.h | 145 + rdseed.asm | 230 + rdtables.cpp | 166 + regtest1.cpp | 160 + regtest2.cpp | 105 + regtest3.cpp | 156 + regtest4.cpp | 58 + resource.h | 15 + rijndael.cpp | 1333 +++ rijndael.h | 109 + rijndael_simd.cpp | 734 ++ ripemd.cpp | 803 ++ ripemd.h | 65 + rng.cpp | 166 + rng.h | 111 + rsa.cpp | 335 + rsa.h | 263 + rw.cpp | 314 + rw.h | 146 + safer.cpp | 157 + safer.h | 98 + salsa.cpp | 759 ++ salsa.h | 104 + scrypt.cpp | 329 + scrypt.h | 103 + seal.cpp | 222 + seal.h | 59 + secblock.h | 1310 +++ secblockfwd.h | 29 + seckey.h | 444 + seed.cpp | 113 + seed.h | 44 + serpent.cpp | 125 + serpent.h | 72 + serpentp.h | 439 + sha.cpp | 1449 ++++ sha.h | 210 + sha1_armv4.S | 1410 ++++ sha1_armv4.h | 23 + sha256_armv4.S | 2670 ++++++ sha256_armv4.h | 23 + sha3.cpp | 71 + sha3.h | 106 + sha512_armv4.S | 1861 +++++ sha512_armv4.h | 23 + sha_simd.cpp | 1506 ++++ shacal2.cpp | 172 + shacal2.h | 66 + shacal2_simd.cpp | 94 + shake.cpp | 85 + shake.h | 161 + shark.cpp | 163 + shark.h | 77 + sharkbox.cpp | 4166 ++++++++++ simeck.cpp | 154 + simeck.h | 162 + simon.cpp | 505 ++ simon.h | 206 + simon128_simd.cpp | 862 ++ simple.cpp | 13 + simple.h | 506 ++ siphash.h | 314 + skipjack.cpp | 202 + skipjack.h | 80 + sm3.cpp | 255 + sm3.h | 61 + sm4.cpp | 212 + sm4.h | 96 + sm4_simd.cpp | 323 + smartptr.h | 257 + sosemanuk.cpp | 728 ++ sosemanuk.h | 62 + speck.cpp | 487 ++ speck.h | 206 + speck128_simd.cpp | 754 ++ square.cpp | 187 + square.h | 63 + squaretb.cpp | 582 ++ sse_simd.cpp | 115 + stdcpp.h | 101 + strciphr.cpp | 300 + strciphr.h | 737 ++ tea.cpp | 165 + tea.h | 161 + test.cpp | 1098 +++ tftables.cpp | 323 + threefish.cpp | 503 ++ threefish.h | 201 + tiger.cpp | 282 + tiger.h | 61 + tigertab.cpp | 525 ++ trap.h | 163 + trunhash.h | 63 + ttmac.cpp | 348 + ttmac.h | 44 + tweetnacl.cpp | 924 +++ tweetnacl.h | 281 + twofish.cpp | 171 + twofish.h | 64 + validat0.cpp | 1672 ++++ validat1.cpp | 1225 +++ validat10.cpp | 535 ++ validat2.cpp | 1288 +++ validat3.cpp | 1341 +++ validat4.cpp | 1813 +++++ validat5.cpp | 2225 +++++ validat6.cpp | 408 + validat7.cpp | 705 ++ validat8.cpp | 624 ++ validat9.cpp | 735 ++ validate.h | 395 + vc60.zip | Bin 0 -> 7884 bytes vmac.cpp | 894 ++ vmac.h | 91 + vs2005.zip | Bin 0 -> 12635 bytes wake.cpp | 111 + wake.h | 59 + whrlpool.cpp | 730 ++ whrlpool.h | 42 + words.h | 225 + x64dll.asm | 2021 +++++ x64masm.asm | 1565 ++++ xed25519.cpp | 900 +++ xed25519.h | 825 ++ xtr.cpp | 120 + xtr.h | 219 + xtrcrypt.cpp | 122 + xtrcrypt.h | 55 + xts.cpp | 521 ++ xts.h | 224 + zdeflate.cpp | 821 ++ zdeflate.h | 174 + zinflate.cpp | 662 ++ zinflate.h | 164 + zlib.cpp | 93 + zlib.h | 65 + 684 files changed, 267004 insertions(+) create mode 100644 .appveyor.yml create mode 100644 .cirrus.yml create mode 100644 .gitattributes create mode 100644 .github/issue_template.md create mode 100644 .github/workflows/c-cpp.yml create mode 100644 .gitignore create mode 100644 .travis.yml create mode 100644 3way.cpp create mode 100644 3way.h create mode 100644 Doxyfile create mode 100644 Filelist.txt create mode 100644 GNUmakefile create mode 100644 GNUmakefile-cross create mode 100644 History.txt create mode 100644 Install.txt create mode 100644 License.txt create mode 100644 Readme.txt create mode 100644 Security.md create mode 100644 TestData/3desval.dat create mode 100644 TestData/3wayval.dat create mode 100644 TestData/aria.dat create mode 100644 TestData/camellia.dat create mode 100644 TestData/cast128v.dat create mode 100644 TestData/cast256v.dat create mode 100644 TestData/defdmac1.bin create mode 100644 TestData/defdmac2.bin create mode 100644 TestData/descert.dat create mode 100644 TestData/dh1024.dat create mode 100644 TestData/dh2048.dat create mode 100644 TestData/dlie1024.dat create mode 100644 TestData/dlie2048.dat create mode 100644 TestData/dsa1024.dat create mode 100644 TestData/dsa1024b.dat create mode 100644 TestData/dsa512.dat create mode 100644 TestData/ecies_p160.dat create mode 100644 TestData/ecies_t163.dat create mode 100644 TestData/ed25519.dat create mode 100644 TestData/ed25519v0.dat create mode 100644 TestData/ed25519v1.dat create mode 100644 TestData/elgc1024.dat create mode 100644 TestData/esig1023.dat create mode 100644 TestData/esig1536.dat create mode 100644 TestData/esig2046.dat create mode 100644 TestData/fhmqv160.dat create mode 100644 TestData/fhmqv256.dat create mode 100644 TestData/fhmqv384.dat create mode 100644 TestData/fhmqv512.dat create mode 100644 TestData/gostval.dat create mode 100644 TestData/hmqv160.dat create mode 100644 TestData/hmqv256.dat create mode 100644 TestData/hmqv384.dat create mode 100644 TestData/hmqv512.dat create mode 100644 TestData/ideaval.dat create mode 100644 TestData/luc1024.dat create mode 100644 TestData/luc2048.dat create mode 100644 TestData/lucc1024.dat create mode 100644 TestData/lucc512.dat create mode 100644 TestData/lucd1024.dat create mode 100644 TestData/lucd512.dat create mode 100644 TestData/lucs1024.dat create mode 100644 TestData/lucs512.dat create mode 100644 TestData/marsval.dat create mode 100644 TestData/mqv1024.dat create mode 100644 TestData/mqv2048.dat create mode 100644 TestData/nr1024.dat create mode 100644 TestData/nr2048.dat create mode 100644 TestData/rabi1024.dat create mode 100644 TestData/rabi2048.dat create mode 100644 TestData/rc2val.dat create mode 100644 TestData/rc5val.dat create mode 100644 TestData/rc6val.dat create mode 100644 TestData/rijndael.dat create mode 100644 TestData/rsa1024.dat create mode 100644 TestData/rsa2048.dat create mode 100644 TestData/rsa2048a.dat create mode 100644 TestData/rsa400pb.dat create mode 100644 TestData/rsa400pv.dat create mode 100644 TestData/rsa512a.dat create mode 100644 TestData/rw1024.dat create mode 100644 TestData/rw2048.dat create mode 100644 TestData/saferval.dat create mode 100644 TestData/serpentv.dat create mode 100644 TestData/shacal2v.dat create mode 100644 TestData/sharkval.dat create mode 100644 TestData/skipjack.dat create mode 100644 TestData/squareva.dat create mode 100644 TestData/twofishv.dat create mode 100644 TestData/usage.dat create mode 100644 TestData/x25519.dat create mode 100644 TestData/x25519v0.dat create mode 100644 TestData/x25519v1.dat create mode 100644 TestData/xtrdh171.dat create mode 100644 TestData/xtrdh342.dat create mode 100644 TestPrograms/dump2def.cpp create mode 100644 TestPrograms/test_32bit.cpp create mode 100644 TestPrograms/test_64bit.cpp create mode 100644 TestPrograms/test_arm_acle_header.cpp create mode 100644 TestPrograms/test_arm_aes.cpp create mode 100644 TestPrograms/test_arm_armv7.cpp create mode 100644 TestPrograms/test_arm_asimd.cpp create mode 100644 TestPrograms/test_arm_crc.cpp create mode 100644 TestPrograms/test_arm_neon.cpp create mode 100644 TestPrograms/test_arm_neon_header.cpp create mode 100644 TestPrograms/test_arm_pmull.cpp create mode 100644 TestPrograms/test_arm_sha1.cpp create mode 100644 TestPrograms/test_arm_sha256.cpp create mode 100644 TestPrograms/test_arm_sha3.cpp create mode 100644 TestPrograms/test_arm_sha512.cpp create mode 100644 TestPrograms/test_arm_sm3.cpp create mode 100644 TestPrograms/test_arm_sm4.cpp create mode 100644 TestPrograms/test_asm_mixed.cpp create mode 100644 TestPrograms/test_cxx.cpp create mode 100644 TestPrograms/test_cxx11.cpp create mode 100644 TestPrograms/test_cxx11_alignas.cpp create mode 100644 TestPrograms/test_cxx11_alignof.cpp create mode 100644 TestPrograms/test_cxx11_assert.cpp create mode 100644 TestPrograms/test_cxx11_atomic.cpp create mode 100644 TestPrograms/test_cxx11_auto.cpp create mode 100644 TestPrograms/test_cxx11_constexpr.cpp create mode 100644 TestPrograms/test_cxx11_deletefn.cpp create mode 100644 TestPrograms/test_cxx11_enumtype.cpp create mode 100644 TestPrograms/test_cxx11_initializer.cpp create mode 100644 TestPrograms/test_cxx11_lambda.cpp create mode 100644 TestPrograms/test_cxx11_noexcept.cpp create mode 100644 TestPrograms/test_cxx11_nullptr.cpp create mode 100644 TestPrograms/test_cxx11_staticinit.cpp create mode 100644 TestPrograms/test_cxx11_sync.cpp create mode 100644 TestPrograms/test_cxx11_vartemplates.cpp create mode 100644 TestPrograms/test_cxx14.cpp create mode 100644 TestPrograms/test_cxx17.cpp create mode 100644 TestPrograms/test_cxx17_assert.cpp create mode 100644 TestPrograms/test_cxx17_exceptions.cpp create mode 100644 TestPrograms/test_cxx98_exception.cpp create mode 100644 TestPrograms/test_glibc.cpp create mode 100644 TestPrograms/test_newlib.cpp create mode 100644 TestPrograms/test_nodevirtualize.cpp create mode 100644 TestPrograms/test_ppc_aes.cpp create mode 100644 TestPrograms/test_ppc_altivec.cpp create mode 100644 TestPrograms/test_ppc_power7.cpp create mode 100644 TestPrograms/test_ppc_power8.cpp create mode 100644 TestPrograms/test_ppc_power9.cpp create mode 100644 TestPrograms/test_ppc_sha.cpp create mode 100644 TestPrograms/test_ppc_vmull.cpp create mode 100644 TestPrograms/test_pthreads.cpp create mode 100644 TestPrograms/test_x86_aes.cpp create mode 100644 TestPrograms/test_x86_avx.cpp create mode 100644 TestPrograms/test_x86_avx2.cpp create mode 100644 TestPrograms/test_x86_avx512.cpp create mode 100644 TestPrograms/test_x86_clmul.cpp create mode 100644 TestPrograms/test_x86_cpuid.cpp create mode 100644 TestPrograms/test_x86_rdrand.cpp create mode 100644 TestPrograms/test_x86_rdseed.cpp create mode 100644 TestPrograms/test_x86_sha.cpp create mode 100644 TestPrograms/test_x86_sse2.cpp create mode 100644 TestPrograms/test_x86_sse3.cpp create mode 100644 TestPrograms/test_x86_sse41.cpp create mode 100644 TestPrograms/test_x86_sse42.cpp create mode 100644 TestPrograms/test_x86_ssse3.cpp create mode 100644 TestPrograms/test_x86_via_aes.cpp create mode 100644 TestPrograms/test_x86_via_rng.cpp create mode 100644 TestPrograms/test_x86_via_sha.cpp create mode 100755 TestScripts/change-version.sh create mode 100755 TestScripts/configure.sh create mode 100644 TestScripts/coverity-linux.txt create mode 100644 TestScripts/coverity-macosx.txt create mode 100644 TestScripts/coverity-windows.txt create mode 100755 TestScripts/cryptdll-windows.cmd create mode 100755 TestScripts/cryptest-android-mk.sh create mode 100755 TestScripts/cryptest-android.sh create mode 100755 TestScripts/cryptest-autotools.sh create mode 100755 TestScripts/cryptest-coverage.sh create mode 100644 TestScripts/cryptest-coverity.cpp create mode 100755 TestScripts/cryptest-ios.sh create mode 100755 TestScripts/cryptest-pem.sh create mode 100755 TestScripts/cryptest-symbols.sh create mode 100755 TestScripts/cryptest-tidy.sh create mode 100755 TestScripts/cryptest.sh create mode 100755 TestScripts/governor.sh create mode 100755 TestScripts/install-ndk.sh create mode 100755 TestScripts/make-benchmarks.sh create mode 100755 TestScripts/reset-fork.sh create mode 100755 TestScripts/setenv-android.sh create mode 100755 TestScripts/setenv-embedded.sh create mode 100755 TestScripts/setenv-ios.sh create mode 100755 TestScripts/setenv-macos.sh create mode 100644 TestVectors/Readme.txt create mode 100644 TestVectors/aead.txt create mode 100644 TestVectors/aes.txt create mode 100644 TestVectors/all.txt create mode 100644 TestVectors/aria.txt create mode 100644 TestVectors/blake2.txt create mode 100644 TestVectors/blake2b.txt create mode 100644 TestVectors/blake2s.txt create mode 100644 TestVectors/camellia.txt create mode 100644 TestVectors/ccm.txt create mode 100644 TestVectors/chacha.txt create mode 100644 TestVectors/chacha20poly1305.txt create mode 100644 TestVectors/chacha_tls.txt create mode 100644 TestVectors/cham.txt create mode 100644 TestVectors/cmac.txt create mode 100644 TestVectors/dlies.txt create mode 100644 TestVectors/dsa.txt create mode 100644 TestVectors/dsa_1363.txt create mode 100644 TestVectors/dsa_rfc6979.txt create mode 100644 TestVectors/eax.txt create mode 100644 TestVectors/esign.txt create mode 100644 TestVectors/gcm.txt create mode 100644 TestVectors/hc128.txt create mode 100644 TestVectors/hc256.txt create mode 100644 TestVectors/hight.txt create mode 100644 TestVectors/hkdf.txt create mode 100644 TestVectors/hmac.txt create mode 100644 TestVectors/kalyna.txt create mode 100644 TestVectors/keccak.txt create mode 100644 TestVectors/lea.txt create mode 100644 TestVectors/lsh.txt create mode 100644 TestVectors/lsh256.txt create mode 100644 TestVectors/lsh512.txt create mode 100644 TestVectors/lsh512_256.txt create mode 100644 TestVectors/mars.txt create mode 100644 TestVectors/nr.txt create mode 100644 TestVectors/ocb.txt create mode 100644 TestVectors/panama.txt create mode 100644 TestVectors/poly1305_tls.txt create mode 100644 TestVectors/poly1305aes.txt create mode 100644 TestVectors/rabbit.txt create mode 100644 TestVectors/rsa_oaep.txt create mode 100644 TestVectors/rsa_pkcs1_1_5.txt create mode 100644 TestVectors/rsa_pss.txt create mode 100644 TestVectors/rw.txt create mode 100644 TestVectors/salsa.txt create mode 100644 TestVectors/seal.txt create mode 100644 TestVectors/seed.txt create mode 100644 TestVectors/sha.txt create mode 100644 TestVectors/sha1_160_fips_180.txt create mode 100644 TestVectors/sha1_fips_180.txt create mode 100644 TestVectors/sha2.txt create mode 100644 TestVectors/sha2_224_fips_180.txt create mode 100644 TestVectors/sha2_256_fips_180.txt create mode 100644 TestVectors/sha2_384_fips_180.txt create mode 100644 TestVectors/sha2_512_fips_180.txt create mode 100644 TestVectors/sha2_fips_180.txt create mode 100644 TestVectors/sha3.txt create mode 100644 TestVectors/sha3_224_fips_202.txt create mode 100644 TestVectors/sha3_256_fips_202.txt create mode 100644 TestVectors/sha3_384_fips_202.txt create mode 100644 TestVectors/sha3_512_fips_202.txt create mode 100644 TestVectors/sha3_fips_202.txt create mode 100644 TestVectors/shacal2.txt create mode 100644 TestVectors/shake.txt create mode 100644 TestVectors/simeck.txt create mode 100644 TestVectors/simon.txt create mode 100644 TestVectors/siphash.txt create mode 100644 TestVectors/skipjack.txt create mode 100644 TestVectors/sm3.txt create mode 100644 TestVectors/sm4.txt create mode 100644 TestVectors/sosemanuk.txt create mode 100644 TestVectors/speck.txt create mode 100644 TestVectors/tea.txt create mode 100644 TestVectors/threefish.txt create mode 100644 TestVectors/ttmac.txt create mode 100644 TestVectors/vmac.txt create mode 100644 TestVectors/wake.txt create mode 100644 TestVectors/whrlpool.txt create mode 100644 TestVectors/xchacha.txt create mode 100644 TestVectors/xts.txt create mode 100644 adhoc.cpp.proto create mode 100644 adler32.cpp create mode 100644 adler32.h create mode 100644 adv_simd.h create mode 100644 aes.h create mode 100644 aes_armv4.S create mode 100644 aes_armv4.h create mode 100644 algebra.cpp create mode 100644 algebra.h create mode 100644 algparam.cpp create mode 100644 algparam.h create mode 100644 allocate.cpp create mode 100644 allocate.h create mode 100644 arc4.cpp create mode 100644 arc4.h create mode 100644 argnames.h create mode 100644 aria.cpp create mode 100644 aria.h create mode 100644 aria_simd.cpp create mode 100644 ariatab.cpp create mode 100644 arm_simd.h create mode 100644 asn.cpp create mode 100644 asn.h create mode 100644 authenc.cpp create mode 100644 authenc.h create mode 100644 base32.cpp create mode 100644 base32.h create mode 100644 base64.cpp create mode 100644 base64.h create mode 100644 basecode.cpp create mode 100644 basecode.h create mode 100644 bds10.zip create mode 100644 bench.h create mode 100644 bench1.cpp create mode 100644 bench2.cpp create mode 100644 bench3.cpp create mode 100644 bfinit.cpp create mode 100644 blake2.cpp create mode 100644 blake2.h create mode 100644 blake2b_simd.cpp create mode 100644 blake2s_simd.cpp create mode 100644 blowfish.cpp create mode 100644 blowfish.h create mode 100644 blumshub.cpp create mode 100644 blumshub.h create mode 100644 camellia.cpp create mode 100644 camellia.h create mode 100644 cast.cpp create mode 100644 cast.h create mode 100644 casts.cpp create mode 100644 cbcmac.cpp create mode 100644 cbcmac.h create mode 100644 ccm.cpp create mode 100644 ccm.h create mode 100644 chacha.cpp create mode 100644 chacha.h create mode 100644 chacha_avx.cpp create mode 100644 chacha_simd.cpp create mode 100644 chachapoly.cpp create mode 100644 chachapoly.h create mode 100644 cham.cpp create mode 100644 cham.h create mode 100644 cham_simd.cpp create mode 100644 channels.cpp create mode 100644 channels.h create mode 100644 cmac.cpp create mode 100644 cmac.h create mode 100644 config.h create mode 100644 config_align.h create mode 100644 config_asm.h create mode 100644 config_cpu.h create mode 100644 config_cxx.h create mode 100644 config_dll.h create mode 100644 config_int.h create mode 100644 config_misc.h create mode 100644 config_ns.h create mode 100644 config_os.h create mode 100644 config_ver.h create mode 100644 cpu.cpp create mode 100644 cpu.h create mode 100644 crc.cpp create mode 100644 crc.h create mode 100644 crc_simd.cpp create mode 100644 cryptdll.vcxproj create mode 100644 cryptdll.vcxproj.filters create mode 100644 cryptest.nmake create mode 100644 cryptest.sln create mode 100644 cryptest.vcxproj create mode 100644 cryptest.vcxproj.filters create mode 100644 cryptest.vcxproj.user create mode 100644 cryptlib.cpp create mode 100644 cryptlib.h create mode 100644 cryptlib.vcxproj create mode 100644 cryptlib.vcxproj.filters create mode 100644 cryptopp.mapfile create mode 100644 cryptopp.rc create mode 100644 cryptopp.supp create mode 100644 darn.cpp create mode 100644 darn.h create mode 100644 datatest.cpp create mode 100644 default.cpp create mode 100644 default.h create mode 100644 des.cpp create mode 100644 des.h create mode 100644 dessp.cpp create mode 100644 dh.cpp create mode 100644 dh.h create mode 100644 dh2.cpp create mode 100644 dh2.h create mode 100644 dll.cpp create mode 100644 dll.h create mode 100644 dlltest.cpp create mode 100644 dlltest.vcxproj create mode 100644 dlltest.vcxproj.filters create mode 100644 dmac.h create mode 100644 donna.h create mode 100644 donna_32.cpp create mode 100644 donna_32.h create mode 100644 donna_64.cpp create mode 100644 donna_64.h create mode 100644 donna_sse.cpp create mode 100644 donna_sse.h create mode 100644 drbg.h create mode 100644 dsa.cpp create mode 100644 dsa.h create mode 100644 eax.cpp create mode 100644 eax.h create mode 100644 ec2n.cpp create mode 100644 ec2n.h create mode 100644 eccrypto.cpp create mode 100644 eccrypto.h create mode 100644 ecp.cpp create mode 100644 ecp.h create mode 100644 ecpoint.h create mode 100644 elgamal.cpp create mode 100644 elgamal.h create mode 100644 emsa2.cpp create mode 100644 emsa2.h create mode 100644 eprecomp.cpp create mode 100644 eprecomp.h create mode 100644 esign.cpp create mode 100644 esign.h create mode 100644 factory.h create mode 100644 fhmqv.h create mode 100644 files.cpp create mode 100644 files.h create mode 100644 filters.cpp create mode 100644 filters.h create mode 100644 fips140.cpp create mode 100644 fips140.h create mode 100644 fipsalgt.cpp create mode 100644 fipstest.cpp create mode 100644 fltrimpl.h create mode 100644 gcm.cpp create mode 100644 gcm.h create mode 100644 gcm_simd.cpp create mode 100644 gf256.cpp create mode 100644 gf256.h create mode 100644 gf2_32.cpp create mode 100644 gf2_32.h create mode 100644 gf2n.cpp create mode 100644 gf2n.h create mode 100644 gf2n_simd.cpp create mode 100644 gfpcrypt.cpp create mode 100644 gfpcrypt.h create mode 100644 gost.cpp create mode 100644 gost.h create mode 100644 gzip.cpp create mode 100644 gzip.h create mode 100644 hashfwd.h create mode 100644 hc128.cpp create mode 100644 hc128.h create mode 100644 hc256.cpp create mode 100644 hc256.h create mode 100644 hex.cpp create mode 100644 hex.h create mode 100644 hight.cpp create mode 100644 hight.h create mode 100644 hkdf.h create mode 100644 hmac.cpp create mode 100644 hmac.h create mode 100644 hmqv.h create mode 100644 hrtimer.cpp create mode 100644 hrtimer.h create mode 100644 ida.cpp create mode 100644 ida.h create mode 100644 idea.cpp create mode 100644 idea.h create mode 100644 integer.cpp create mode 100644 integer.h create mode 100644 iterhash.cpp create mode 100644 iterhash.h create mode 100644 kalyna.cpp create mode 100644 kalyna.h create mode 100644 kalynatab.cpp create mode 100644 keccak.cpp create mode 100644 keccak.h create mode 100644 keccak_core.cpp create mode 100644 keccak_simd.cpp create mode 100644 lea.cpp create mode 100644 lea.h create mode 100644 lea_simd.cpp create mode 100644 lsh.h create mode 100644 lsh256.cpp create mode 100644 lsh256_avx.cpp create mode 100644 lsh256_sse.cpp create mode 100644 lsh512.cpp create mode 100644 lsh512_avx.cpp create mode 100644 lsh512_sse.cpp create mode 100644 lubyrack.h create mode 100644 luc.cpp create mode 100644 luc.h create mode 100644 mars.cpp create mode 100644 mars.h create mode 100644 marss.cpp create mode 100644 md2.cpp create mode 100644 md2.h create mode 100644 md4.cpp create mode 100644 md4.h create mode 100644 md5.cpp create mode 100644 md5.h create mode 100644 mdc.h create mode 100644 mersenne.h create mode 100644 misc.cpp create mode 100644 misc.h create mode 100644 modarith.h create mode 100644 modes.cpp create mode 100644 modes.h create mode 100644 modexppc.h create mode 100644 mqueue.cpp create mode 100644 mqueue.h create mode 100644 mqv.cpp create mode 100644 mqv.h create mode 100644 naclite.h create mode 100644 nbtheory.cpp create mode 100644 nbtheory.h create mode 100644 neon_simd.cpp create mode 100644 nr.h create mode 100644 oaep.cpp create mode 100644 oaep.h create mode 100644 oids.h create mode 100644 osrng.cpp create mode 100644 osrng.h create mode 100644 ossig.h create mode 100644 padlkrng.cpp create mode 100644 padlkrng.h create mode 100644 panama.cpp create mode 100644 panama.h create mode 100644 pch.cpp create mode 100644 pch.h create mode 100644 pkcspad.cpp create mode 100644 pkcspad.h create mode 100644 poly1305.cpp create mode 100644 poly1305.h create mode 100644 polynomi.cpp create mode 100644 polynomi.h create mode 100644 power7_ppc.cpp create mode 100644 power8_ppc.cpp create mode 100644 power9_ppc.cpp create mode 100644 ppc_simd.cpp create mode 100644 ppc_simd.h create mode 100644 pssr.cpp create mode 100644 pssr.h create mode 100644 pubkey.cpp create mode 100644 pubkey.h create mode 100644 pwdbased.h create mode 100644 queue.cpp create mode 100644 queue.h create mode 100644 rabbit.cpp create mode 100644 rabbit.h create mode 100644 rabin.cpp create mode 100644 rabin.h create mode 100644 randpool.cpp create mode 100644 randpool.h create mode 100644 rc2.cpp create mode 100644 rc2.h create mode 100644 rc5.cpp create mode 100644 rc5.h create mode 100644 rc6.cpp create mode 100644 rc6.h create mode 100644 rdrand.asm create mode 100644 rdrand.cpp create mode 100644 rdrand.h create mode 100644 rdseed.asm create mode 100644 rdtables.cpp create mode 100644 regtest1.cpp create mode 100644 regtest2.cpp create mode 100644 regtest3.cpp create mode 100644 regtest4.cpp create mode 100644 resource.h create mode 100644 rijndael.cpp create mode 100644 rijndael.h create mode 100644 rijndael_simd.cpp create mode 100644 ripemd.cpp create mode 100644 ripemd.h create mode 100644 rng.cpp create mode 100644 rng.h create mode 100644 rsa.cpp create mode 100644 rsa.h create mode 100644 rw.cpp create mode 100644 rw.h create mode 100644 safer.cpp create mode 100644 safer.h create mode 100644 salsa.cpp create mode 100644 salsa.h create mode 100644 scrypt.cpp create mode 100644 scrypt.h create mode 100644 seal.cpp create mode 100644 seal.h create mode 100644 secblock.h create mode 100644 secblockfwd.h create mode 100644 seckey.h create mode 100644 seed.cpp create mode 100644 seed.h create mode 100644 serpent.cpp create mode 100644 serpent.h create mode 100644 serpentp.h create mode 100644 sha.cpp create mode 100644 sha.h create mode 100644 sha1_armv4.S create mode 100644 sha1_armv4.h create mode 100644 sha256_armv4.S create mode 100644 sha256_armv4.h create mode 100644 sha3.cpp create mode 100644 sha3.h create mode 100644 sha512_armv4.S create mode 100644 sha512_armv4.h create mode 100644 sha_simd.cpp create mode 100644 shacal2.cpp create mode 100644 shacal2.h create mode 100644 shacal2_simd.cpp create mode 100644 shake.cpp create mode 100644 shake.h create mode 100644 shark.cpp create mode 100644 shark.h create mode 100644 sharkbox.cpp create mode 100644 simeck.cpp create mode 100644 simeck.h create mode 100644 simon.cpp create mode 100644 simon.h create mode 100644 simon128_simd.cpp create mode 100644 simple.cpp create mode 100644 simple.h create mode 100644 siphash.h create mode 100644 skipjack.cpp create mode 100644 skipjack.h create mode 100644 sm3.cpp create mode 100644 sm3.h create mode 100644 sm4.cpp create mode 100644 sm4.h create mode 100644 sm4_simd.cpp create mode 100644 smartptr.h create mode 100644 sosemanuk.cpp create mode 100644 sosemanuk.h create mode 100644 speck.cpp create mode 100644 speck.h create mode 100644 speck128_simd.cpp create mode 100644 square.cpp create mode 100644 square.h create mode 100644 squaretb.cpp create mode 100644 sse_simd.cpp create mode 100644 stdcpp.h create mode 100644 strciphr.cpp create mode 100644 strciphr.h create mode 100644 tea.cpp create mode 100644 tea.h create mode 100644 test.cpp create mode 100644 tftables.cpp create mode 100644 threefish.cpp create mode 100644 threefish.h create mode 100644 tiger.cpp create mode 100644 tiger.h create mode 100644 tigertab.cpp create mode 100644 trap.h create mode 100644 trunhash.h create mode 100644 ttmac.cpp create mode 100644 ttmac.h create mode 100644 tweetnacl.cpp create mode 100644 tweetnacl.h create mode 100644 twofish.cpp create mode 100644 twofish.h create mode 100644 validat0.cpp create mode 100644 validat1.cpp create mode 100644 validat10.cpp create mode 100644 validat2.cpp create mode 100644 validat3.cpp create mode 100644 validat4.cpp create mode 100644 validat5.cpp create mode 100644 validat6.cpp create mode 100644 validat7.cpp create mode 100644 validat8.cpp create mode 100644 validat9.cpp create mode 100644 validate.h create mode 100644 vc60.zip create mode 100644 vmac.cpp create mode 100644 vmac.h create mode 100644 vs2005.zip create mode 100644 wake.cpp create mode 100644 wake.h create mode 100644 whrlpool.cpp create mode 100644 whrlpool.h create mode 100644 words.h create mode 100644 x64dll.asm create mode 100644 x64masm.asm create mode 100644 xed25519.cpp create mode 100644 xed25519.h create mode 100644 xtr.cpp create mode 100644 xtr.h create mode 100644 xtrcrypt.cpp create mode 100644 xtrcrypt.h create mode 100644 xts.cpp create mode 100644 xts.h create mode 100644 zdeflate.cpp create mode 100644 zdeflate.h create mode 100644 zinflate.cpp create mode 100644 zinflate.h create mode 100644 zlib.cpp create mode 100644 zlib.h diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..0c83300 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,55 @@ +# Appveyor's documentation is at https://www.appveyor.com/docs/build-phase/, +# and a sample configuration file is at https://www.appveyor.com/docs/appveyor-yml/. +# I have to admit its a bit complex and I don't fully understand it. + +version: 1.0.{build} +clone_depth: 5 +skip_tags: true + +configuration: + +- Debug +- Release + +platform: + +- Win32 +- x64 + +image: + +- Visual Studio 2019 +- Visual Studio 2017 +- Visual Studio 2015 +- Visual Studio 2013 + +environment: + + matrix: + + - BUILD_MODE: MSBuild + +# Disable build through solution file +build: off + +# Build through commands in script below +test_script: + +- ps: >- + + msbuild /t:Build /p:platform="$env:platform" /p:configuration="$env:configuration" cryptlib.vcxproj + + msbuild /t:Build /p:platform="$env:platform" /p:configuration="$env:configuration" cryptest.vcxproj + + msbuild /t:CopyCryptestToRoot cryptest.vcxproj + + .\cryptest.exe v + + .\cryptest.exe tv all + +notifications: + - provider: Email + to: + - cryptopp-build@googlegroups.com + on_build_success: true + on_build_failure: true diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 0000000..c1e0b02 --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,59 @@ +# https://cirrus-ci.org/examples/ +# https://github.com/curl/curl/blob/master/.cirrus.yml + +# FreeBSD seems to have constant version problems, which requires IGNORE_OSVERSION. + +env: + CIRRUS_CLONE_DEPTH: 5 + IGNORE_OSVERSION: yes + +task: + matrix: + - name: Debug build, FreeBSD 12.1 + freebsd_instance: + image_family: freebsd-12-1 + pkginstall_script: + - pkg update -f + - pkg install -y gmake + configure_script: + compile_script: + - CXXFLAGS="-DDEBUG -g3 -O0" gmake -j 3 + test_script: + - ./cryptest.exe v + - ./cryptest.exe tv all + - name: Release build, FreeBSD 12.1 + freebsd_instance: + image_family: freebsd-12-1 + pkginstall_script: + - pkg update -f + - pkg install -y gmake + configure_script: + compile_script: + - gmake -j 3 + test_script: + - ./cryptest.exe v + - ./cryptest.exe tv all + - name: Debug build, FreeBSD 13.0 (snap) + freebsd_instance: + image_family: freebsd-13-0-snap + pkginstall_script: + - pkg update -f + - pkg install -y gmake + configure_script: + compile_script: + - CXXFLAGS="-DDEBUG -g3 -O0" gmake -j 3 + test_script: + - ./cryptest.exe v + - ./cryptest.exe tv all + - name: Release build, FreeBSD 13.0 (snap) + freebsd_instance: + image_family: freebsd-13-0-snap + pkginstall_script: + - pkg update -f + - pkg install -y gmake + configure_script: + compile_script: + - gmake -j 3 + test_script: + - ./cryptest.exe v + - ./cryptest.exe tv all diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..50ca329 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.sh eol=lf diff --git a/.github/issue_template.md b/.github/issue_template.md new file mode 100644 index 0000000..af15781 --- /dev/null +++ b/.github/issue_template.md @@ -0,0 +1,19 @@ +### Crypto++ Issue Report + +Thanks for taking the time to report an issue. Reporting issues helps us improve stability and reliability for all users, so it is a valuable contribution. + +Please do not ask questions in the bug tracker. Please ask questions on the Crypto++ Users List at http://groups.google.com/forum/#!forum/cryptopp-users. + +Please do not ask questions about unsupported build systems, like Autotools, CMake, Conan and NuGet. They are other people's projects. We don't know anything about them. + +Please do not ask questions at Stack Overflow. We do not patrol Stack Overflow. We will not be able to answer your question. + +There is a wiki page with information on filing useful bug reports. If you have some time please visit http://www.cryptopp.com/wiki/Bug_Report on the wiki. The executive summary is: + +* State the operating system and version (Ubutnu 17 x86_64, Windows 7 Professional x64, etc) +* State the version of the Crypto++ library (Crypto++ 7.0, Master, etc) +* State how you built the library (Visual Studio, Makefile, distro provided, etc) +* Show a typical command line (the output of the compiler for cryptlib.cpp) +* Show the link command (the output of the linker for libcryptopp.so or cryptest.exe) +* Show the exact error message you are receiving (copy and paste it); or +* Clearly state the undesired behavior (and state the expected behavior) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..d802cdb --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,19 @@ +name: C/C++ CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: make + run: make all + - name: make test + run: make test diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..31faea7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,294 @@ +#################################### +# C++ generic ignore +# Allows you to use test.cxx and +# avoid getting in the way of things +#################################### +*.cxx + +#################### +## Crypto++ specific +#################### +adhoc.cpp +adhoc.cpp.copied +libcryptopp.a +libcryptopp.so +libcryptopp.dylib +cryptest.exe +cryptopp-test.cxx +cryptopp-test.exe +cryptopp-test.s +cryptopp.mac.done +GNUmakefile.deps + +############## +## Patch files +############## +*.diff +*.patch + +################# +## GNU/GCC +################# + +## Ignore GNU/GCC artifacts +a.out + +## Ignore GCC temproary files. It appears Fedora +## changed a behavior somewhere along the lines + +*.o + +################# +## Emacs +################# +*~ +\#*\# + +################# +## Vi swap +################# +*.swp +*.swo + +################# +## Eclipse +################# + +*.pydevproject +.project +.metadata +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# CDT-specific +.cproject + +# PDT-specific +.buildpath + +################# +## Visual Studio +################# + +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## https://msdn.microsoft.com/en-us/library/hx0cxhaw.aspx + +# User-specific files +*.suo +*.user +*.sdf +/.vs + +# Build results + +[Dd]ebug/ +[Rr]elease/ +Win32/ +x64/ +Arm/ +Arm64/ +build/ +[Bb]in/ +[Oo]bj/ +[Ll]ibs/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +*_i.c +*_p.c +*.ilk +*.meta +*.obj +*.o +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.log +*.scc +*.exe +*.a + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf +*.cachefile + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +*.ncrunch* +.*crunch*.local.xml + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.Publish.xml +*.pubxml +*.publishproj + +# NuGet Packages Directory +## TODO: If you have NuGet Package Restore enabled, uncomment the next line +#packages/ + +# Windows Azure Build Output +csx +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +sql/ +*.Cache +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.[Pp]ublish.xml +*.pfx +*.publishsettings + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file to a newer +# Visual Studio version. Backup files are not needed, because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +App_Data/*.mdf +App_Data/*.ldf + +############# +## Windows detritus +############# + +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +############# +# Mac crap +############# + +.DS_Store + +############# +## Python +############# + +*.py[cod] + +# Packages +*.egg +*.egg-info +dist/ +build/ +eggs/ +parts/ +var/ +sdist/ +develop-eggs/ +.installed.cfg + +# Installer logs +pip-log.txt + +# Unit test / coverage reports +.coverage +.tox + +#Translations +*.mo + +#Mr Developer +.mr.developer.cfg + +################# +## C++Builder +################# + +## Ignore C++Builder temporary files and build results. +## http://docwiki.embarcadero.com/RADStudio/en/File_Extensions_of_Files_Generated_by_RAD_Studio + +# Static library file +*.lib + +# User-specific project options +*.local + +# Dependency file +*.d diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e5a7b99 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,615 @@ +# In the YML below each job gets an environment that includes +# BUILD_OS and BUILD_MODE. The variables are used in the driver +# scripts and is used to select a test. For example, BUILD_OS=linux +# and BUILD_MODE=all means run 'make all' on Linux. The Android +# tests specify a ANDROID_API, ANDROID_CPU; and the iOS tests +# specify IOS_SDK and IOS_CPU. They are exported for the underlying +# setenv-*.sh scripts. + +# DO NOT create top level (global) keys like env, arch, os, compiler. +# The top level/global keys invoke [unwanted] matrix expansion. Also +# see https://stackoverflow.com/q/58473000/608639 and +# https://docs.travis-ci.com/user/reference/overview/ and +# https://docs.travis-ci.com/user/multi-cpu-architectures and +# https://github.com/travis-ci/travis-yml/blob/master/schema.json. + +language: cpp +dist: bionic + +git: + depth: 5 + +# Use jobs rather than matrix since we are precisely +# specifiying our test cases. Do not move any of the +# keys (env, os, arch, compiler, etc) into global. +# Putting them in global invokes the matrix expansion. +jobs: + include: + - name: Standard build, GCC, Linux, amd64 + os: linux + arch: amd64 + compiler: gcc + env: + - BUILD_OS=linux + - BUILD_MODE=all + - name: Native build, GCC, Linux, amd64 + os: linux + arch: amd64 + compiler: gcc + env: + - BUILD_OS=linux + - BUILD_MODE=native + - name: No-asm build, GCC, Linux, amd64 + os: linux + arch: amd64 + compiler: gcc + env: + - BUILD_OS=linux + - BUILD_MODE=no-asm + - name: Debug build, GCC, Linux, amd64 + os: linux + arch: amd64 + compiler: gcc + env: + - BUILD_OS=linux + - BUILD_MODE=debug + - name: Asan build, GCC, Linux, amd64 + os: linux + arch: amd64 + compiler: gcc + env: + - BUILD_OS=linux + - BUILD_MODE=asan + - name: UBsan build, GCC, Linux, amd64 + os: linux + arch: amd64 + compiler: gcc + env: + - BUILD_OS=linux + - BUILD_MODE=ubsan + - name: PEM build, GCC, Linux, amd64 + os: linux + arch: amd64 + compiler: gcc + env: + - BUILD_OS=linux + - BUILD_MODE=pem + - name: Autotools build, GCC, Linux, amd64 + os: linux + arch: amd64 + compiler: gcc + env: + - BUILD_OS=linux + - BUILD_MODE=autotools + - name: Standard build, Clang, Linux, amd64 + os: linux + arch: amd64 + compiler: clang + env: + - BUILD_OS=linux + - BUILD_MODE=all + - name: Native build, Clang, Linux, amd64 + os: linux + arch: amd64 + compiler: clang + env: + - BUILD_OS=linux + - BUILD_MODE=native + - name: No-asm build, Clang, Linux, amd64 + os: linux + arch: amd64 + compiler: clang + env: + - BUILD_OS=linux + - BUILD_MODE=no-asm + - name: Debug build, Clang, Linux, amd64 + os: linux + arch: amd64 + compiler: clang + env: + - BUILD_OS=linux + - BUILD_MODE=debug + - name: Asan build, Clang, Linux, amd64 + os: linux + arch: amd64 + compiler: clang + env: + - BUILD_OS=linux + - BUILD_MODE=asan + - name: UBsan build, Clang, Linux, amd64 + os: linux + arch: amd64 + compiler: clang + env: + - BUILD_OS=linux + - BUILD_MODE=ubsan + - name: PEM build, Clang, Linux, amd64 + os: linux + arch: amd64 + compiler: clang + env: + - BUILD_OS=linux + - BUILD_MODE=pem + - name: Autotools build, Clang, Linux, amd64 + os: linux + arch: amd64 + compiler: clang + env: + - BUILD_OS=linux + - BUILD_MODE=autotools + - name: Standard build, Clang, OS X, amd64 + os: osx + osx_image: xcode10.1 + arch: amd64 + compiler: clang + env: + - BUILD_OS=osx + - BUILD_MODE=all + - name: Standard build (64-bit), Clang, OS X, amd64 + os: osx + osx_image: xcode10.1 + arch: amd64 + compiler: clang + env: + - CXXFLAGS="-DNDEBUG -g2 -O3 -arch x86_64" + - BUILD_OS=osx + - BUILD_MODE=all + - name: Standard build (32-bit), Clang, OS X, amd64 + os: osx + osx_image: xcode10.1 + arch: amd64 + compiler: clang + env: + - CXXFLAGS="-DNDEBUG -g2 -O3 -arch i386" + - BUILD_OS=osx + - BUILD_MODE=all + - name: Standard build (fat), Clang, OS X, amd64 + os: osx + osx_image: xcode10.1 + arch: amd64 + compiler: clang + env: + - CXXFLAGS="-DNDEBUG -g2 -O3 -arch i386 -arch x86_64" + - BUILD_OS=osx + - BUILD_MODE=osx-fat + - name: Native build, Clang, OS X, amd64 + os: osx + osx_image: xcode10.1 + arch: amd64 + compiler: clang + env: + - BUILD_OS=osx + - BUILD_MODE=native + - name: No-asm build, Clang, OS X, amd64 + os: osx + osx_image: xcode10.1 + arch: amd64 + compiler: clang + env: + - BUILD_OS=osx + - BUILD_MODE=no-asm + - name: Debug build, Clang, OS X, amd64 + os: osx + osx_image: xcode10.1 + arch: amd64 + compiler: clang + env: + - BUILD_OS=osx + - BUILD_MODE=debug + - name: Asan build, Clang, OS X, amd64 + os: osx + osx_image: xcode10.1 + arch: amd64 + compiler: clang + env: + - BUILD_OS=osx + - BUILD_MODE=asan + - name: UBsan build, Clang, OS X, amd64 + os: osx + osx_image: xcode10.1 + arch: amd64 + compiler: clang + env: + - BUILD_OS=osx + - BUILD_MODE=ubsan + - name: PEM build, Clang, OS X, amd64 + os: osx + osx_image: xcode10.1 + arch: amd64 + compiler: clang + env: + - BUILD_OS=osx + - BUILD_MODE=pem + - name: Autotools build, Clang, OS X, amd64 + os: osx + osx_image: xcode10.1 + arch: amd64 + compiler: clang + env: + - BUILD_OS=osx + - BUILD_MODE=autotools + - name: Standard build, GCC, Linux, arm64 + os: linux + arch: arm64 + compiler: gcc + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=all + - name: Native build, GCC, Linux, arm64 + os: linux + arch: arm64 + compiler: gcc + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=native + - name: No-asm build, GCC, Linux, arm64 + os: linux + arch: arm64 + compiler: gcc + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=no-asm + - name: Debug build, GCC, Linux, arm64 + os: linux + arch: arm64 + compiler: gcc + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=debug + - name: Asan build, GCC, Linux, arm64 + os: linux + arch: arm64 + compiler: gcc + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=asan + - name: UBsan build, GCC, Linux, arm64 + os: linux + arch: arm64 + compiler: gcc + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=ubsan + - name: PEM build, GCC, Linux, arm64 + os: linux + arch: arm64 + compiler: gcc + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=pem + - name: Autotools build, GCC, Linux, arm64 + os: linux + arch: arm64 + compiler: gcc + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=autotools + - name: Standard build, Clang, Linux, arm64 + os: linux + arch: arm64 + compiler: clang + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=all + - name: Native build, Clang, Linux, arm64 + os: linux + arch: arm64 + compiler: clang + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=native + - name: No-asm build, Clang, Linux, arm64 + os: linux + arch: arm64 + compiler: clang + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=no-asm + - name: Debug build, Clang, Linux, arm64 + os: linux + arch: arm64 + compiler: clang + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=debug + - name: Asan build, Clang, Linux, arm64 + os: linux + arch: arm64 + compiler: clang + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=asan + - name: UBsan build, Clang, Linux, arm64 + os: linux + arch: arm64 + compiler: clang + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=ubsan + - name: PEM build, Clang, Linux, arm64 + os: linux + arch: arm64 + compiler: clang + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=pem + - name: Autotools build, Clang, Linux, arm64 + os: linux + arch: arm64 + compiler: clang + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=autotools + - name: Standard build, GCC, Linux, ppc64le + os: linux + arch: ppc64le + compiler: gcc + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=all + - name: Debug build, GCC, Linux, ppc64le + os: linux + arch: ppc64le + compiler: gcc + env: + - BUILD_OS=linux + - BUILD_MODE=debug + - name: Standard build, Clang, Linux, ppc64le + os: linux + arch: ppc64le + compiler: clang + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=all + - CC=clang-8 + - CXX=clang++-8 + - name: Debug build, Clang, Linux, ppc64le + os: linux + arch: ppc64le + compiler: clang + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=debug + - CC=clang-8 + - CXX=clang++-8 + - name: Standard build, GCC, Linux, s390x + os: linux + arch: s390x + compiler: gcc + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=all + - name: Debug build, GCC, Linux, s390x + os: linux + arch: s390x + compiler: gcc + env: + - BUILD_OS=linux + - BUILD_MODE=debug + - name: Standard build, Clang, Linux, s390x + os: linux + arch: s390x + compiler: clang + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=all + - CC=clang-8 + - CXX=clang++-8 + - name: Debug build, Clang, Linux, s390x + os: linux + arch: s390x + compiler: clang + dist: bionic + env: + - BUILD_OS=linux + - BUILD_MODE=debug + - CC=clang-8 + - CXX=clang++-8 + - name: Android, armv7a, Linux + os: linux + arch: amd64 + env: + - BUILD_OS=linux + - BUILD_MODE=android + - ANDROID_CPU=armv7a + - ANDROID_API=23 + - ANDROID_SDK_ROOT="/opt/android-sdk" + - ANDROID_NDK_ROOT="/opt/android-ndk" + - name: Android, aarch64, Linux + os: linux + arch: amd64 + env: + - BUILD_OS=linux + - BUILD_MODE=android + - ANDROID_CPU=aarch64 + - ANDROID_API=23 + - ANDROID_SDK_ROOT="/opt/android-sdk" + - ANDROID_NDK_ROOT="/opt/android-ndk" + - name: Android, x86, Linux + os: linux + arch: amd64 + env: + - BUILD_OS=linux + - BUILD_MODE=android + - ANDROID_CPU=x86 + - ANDROID_API=23 + - ANDROID_SDK_ROOT="/opt/android-sdk" + - ANDROID_NDK_ROOT="/opt/android-ndk" + - name: Android, x86_64, Linux + os: linux + arch: amd64 + env: + - BUILD_OS=linux + - BUILD_MODE=android + - ANDROID_CPU=x86_64 + - ANDROID_API=23 + - ANDROID_SDK_ROOT="/opt/android-sdk" + - ANDROID_NDK_ROOT="/opt/android-ndk" + - name: iPhoneOS, armv7, iOS + os: osx + osx_image: xcode10.1 + arch: amd64 + env: + - BUILD_OS=osx + - BUILD_MODE=ios + - IOS_CPU=armv7s + - IOS_SDK=iPhoneOS + - name: iPhoneOS, arm64, iOS + os: osx + osx_image: xcode10.1 + arch: amd64 + env: + - BUILD_OS=osx + - BUILD_MODE=ios + - IOS_CPU=arm64 + - IOS_SDK=iPhoneOS + - name: AppleTVOS, arm64, iOS + os: osx + osx_image: xcode10.1 + arch: amd64 + env: + - BUILD_OS=osx + - BUILD_MODE=ios + - IOS_CPU=arm64 + - IOS_SDK=AppleTVOS + - name: WatchOS, armv7, iOS + os: osx + osx_image: xcode10.1 + arch: amd64 + env: + - BUILD_OS=osx + - BUILD_MODE=ios + - IOS_CPU=armv7k + - IOS_SDK=WatchOS + - name: iPhoneSimulator, i386, OS X + os: osx + osx_image: xcode10.1 + arch: amd64 + env: + - BUILD_OS=osx + - BUILD_MODE=ios + - IOS_CPU=i386 + - IOS_SDK=iPhoneSimulator + - name: iPhoneSimulator, x86_64, OS X + os: osx + osx_image: xcode10.1 + arch: amd64 + env: + - BUILD_OS=osx + - BUILD_MODE=ios + - IOS_CPU=x86_64 + - IOS_SDK=iPhoneSimulator + - name: AppleTVSimulator, x86_64, OS X + os: osx + osx_image: xcode10.1 + arch: amd64 + env: + - BUILD_OS=osx + - BUILD_MODE=ios + - IOS_CPU=x86_64 + - IOS_SDK=AppleTVSimulator + - name: WatchSimulator, i386, OS X + os: osx + osx_image: xcode10.1 + arch: amd64 + env: + - BUILD_OS=osx + - BUILD_MODE=ios + - IOS_CPU=i386 + - IOS_SDK=WatchSimulator + + allow_failures: + # Clang has a fair amount of trouble + # on platforms Apple does not support + - os: linux + arch: s390x + compiler: clang + # Clang 7.0 and below will likely have trouble on ppc64le + # due to https://bugs.llvm.org/show_bug.cgi?id=39704. + - os: linux + arch: ppc64le + compiler: clang + +before_install: + - | + if [[ "$BUILD_OS" == "linux" ]] && [[ "$BUILD_MODE" == "android" ]]; then + # https://github.com/travis-ci/travis-ci/issues/9037 + sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A145 + sudo apt-get -qq -y update + sudo -E TestScripts/install-ndk.sh + fi + if [[ "$BUILD_OS" == "linux" ]] && [[ "$BUILD_MODE" == "autotools" ]]; then + # https://github.com/travis-ci/travis-ci/issues/9037 + sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A145 + sudo apt-get -qq -y install autoconf automake libtool + fi + # Clang 7 compiler is completely broken on PPC64 and s390x + if [[ "$TRAVIS_CPU_ARCH" == "ppc64le" ]] || [[ "$TRAVIS_CPU_ARCH" == "s390x" ]]; then + if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$TRAVIS_COMPILER" == "clang" ]]; then + # https://github.com/travis-ci/travis-ci/issues/9037 + sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A145 + sudo apt-get -qq -y install --no-install-recommends clang-8 + fi + fi + +script: + - | + if [[ "$BUILD_MODE" == "ios" ]]; then + source TestScripts/setenv-ios.sh + make -f GNUmakefile-cross -j 2 all static dynamic + elif [[ "$BUILD_MODE" == "android" ]]; then + source TestScripts/setenv-android.sh + make -f GNUmakefile-cross -j 2 all static dynamic + elif [[ "$BUILD_MODE" == "autotools" ]]; then + bash TestScripts/cryptest-autotools.sh + elif [[ "$BUILD_MODE" == "pem" ]]; then + bash TestScripts/cryptest-pem.sh + elif [[ "$BUILD_MODE" == "osx-fat" ]]; then + CXXFLAGS="-DNDEBUG -g2 -O3 -arch i386 -arch x86_64" make -j 2 + arch -i386 ./cryptest.exe v + arch -i386 ./cryptest.exe tv all + arch -x86_64 ./cryptest.exe v + arch -x86_64 ./cryptest.exe tv all + elif [[ "$BUILD_MODE" == "debug" ]]; then + CXXFLAGS="-DDEBUG -g2 -O1" make -j 2 + ./cryptest.exe v + ./cryptest.exe tv all + else + make "$BUILD_MODE" -j 2 + ./cryptest.exe v + ./cryptest.exe tv all + fi + +# Whitelist branches to avoid testing feature branches twice +branches: + only: + - master + - /\/ci$/ + +notifications: + email: + recipients: + - cryptopp-build@googlegroups.com + on_success: always # default: change + on_failure: always # default: always diff --git a/3way.cpp b/3way.cpp new file mode 100644 index 0000000..aecbaf0 --- /dev/null +++ b/3way.cpp @@ -0,0 +1,143 @@ +// 3way.cpp - modified by Wei Dai from Joan Daemen's 3way.c +// The original code and all modifications are in the public domain. + +#include "pch.h" +#include "3way.h" +#include "misc.h" + +NAMESPACE_BEGIN(CryptoPP) + +#if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING) +void ThreeWay_TestInstantiations() +{ + ThreeWay::Encryption x1; + ThreeWay::Decryption x2; +} +#endif + +namespace +{ + const word32 START_E = 0x0b0b; // round constant of first encryption round + const word32 START_D = 0xb1b1; // round constant of first decryption round +} + +static inline word32 reverseBits(word32 a) +{ + a = ((a & 0xAAAAAAAA) >> 1) | ((a & 0x55555555) << 1); + a = ((a & 0xCCCCCCCC) >> 2) | ((a & 0x33333333) << 2); + return ((a & 0xF0F0F0F0) >> 4) | ((a & 0x0F0F0F0F) << 4); +} + +#define mu(a0, a1, a2) \ +{ \ + a1 = reverseBits(a1); \ + word32 t = reverseBits(a0); \ + a0 = reverseBits(a2); \ + a2 = t; \ +} + +#define pi_gamma_pi(a0, a1, a2) \ +{ \ + word32 b0, b2; \ + b2 = rotlConstant<1>(a2); \ + b0 = rotlConstant<22>(a0); \ + a0 = rotlConstant<1>(b0 ^ (a1|(~b2))); \ + a2 = rotlConstant<22>(b2 ^ (b0|(~a1))); \ + a1 ^= (b2|(~b0)); \ +} + +// thanks to Paulo Barreto for this optimized theta() +#define theta(a0, a1, a2) \ +{ \ + word32 b0, b1, c; \ + c = a0 ^ a1 ^ a2; \ + c = rotlConstant<16>(c) ^ rotlConstant<8>(c); \ + b0 = (a0 << 24) ^ (a2 >> 8) ^ (a1 << 8) ^ (a0 >> 24); \ + b1 = (a1 << 24) ^ (a0 >> 8) ^ (a2 << 8) ^ (a1 >> 24); \ + a0 ^= c ^ b0; \ + a1 ^= c ^ b1; \ + a2 ^= c ^ (b0 >> 16) ^ (b1 << 16); \ +} + +#define rho(a0, a1, a2) \ +{ \ + theta(a0, a1, a2); \ + pi_gamma_pi(a0, a1, a2); \ +} + +void ThreeWay::Base::UncheckedSetKey(const byte *uk, unsigned int length, const NameValuePairs ¶ms) +{ + AssertValidKeyLength(length); + + m_rounds = GetRoundsAndThrowIfInvalid(params, this); + + for (unsigned int i=0; i<3; i++) + m_k[i] = (word32)uk[4*i+3] | ((word32)uk[4*i+2]<<8) | ((word32)uk[4*i+1]<<16) | ((word32)uk[4*i]<<24); + + if (!IsForwardTransformation()) + { + theta(m_k[0], m_k[1], m_k[2]); + mu(m_k[0], m_k[1], m_k[2]); + m_k[0] = ByteReverse(m_k[0]); + m_k[1] = ByteReverse(m_k[1]); + m_k[2] = ByteReverse(m_k[2]); + } +} + +void ThreeWay::Enc::ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, byte *outBlock) const +{ + typedef BlockGetAndPut Block; + + word32 a0, a1, a2; + Block::Get(inBlock)(a0)(a1)(a2); + + word32 rc = START_E; + + for(unsigned i=0; i Block; + + word32 a0, a1, a2; + Block::Get(inBlock)(a0)(a1)(a2); + + word32 rc = START_D; + + mu(a0, a1, a2); + for(unsigned i=0; i, public FixedKeyLength<12>, public VariableRounds<11> +{ + CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "3-Way";} +}; + +/// \brief ThreeWay block cipher +/// \sa 3-Way +class ThreeWay : public ThreeWay_Info, public BlockCipherDocumentation +{ + /// \brief Class specific implementation and overrides used to operate the cipher. + /// \details Implementations and overrides in \p Base apply to both \p ENCRYPTION and \p DECRYPTION directions + class CRYPTOPP_NO_VTABLE Base : public BlockCipherImpl + { + public: + void UncheckedSetKey(const byte *key, unsigned int length, const NameValuePairs ¶ms); + + protected: + unsigned int m_rounds; + FixedSizeSecBlock m_k; + }; + + /// \brief Class specific methods used to operate the cipher in the forward direction. + /// \details Implementations and overrides in \p Enc apply to \p ENCRYPTION. + class CRYPTOPP_NO_VTABLE Enc : public Base + { + public: + void ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, byte *outBlock) const; + }; + + /// \brief Class specific methods used to operate the cipher in the reverse direction. + /// \details Implementations and overrides in \p Dec apply to \p DECRYPTION. + class CRYPTOPP_NO_VTABLE Dec : public Base + { + public: + void ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, byte *outBlock) const; + }; + +public: + typedef BlockCipherFinal Encryption; + typedef BlockCipherFinal Decryption; +}; + +typedef ThreeWay::Encryption ThreeWayEncryption; +typedef ThreeWay::Decryption ThreeWayDecryption; + +NAMESPACE_END + +#endif diff --git a/Doxyfile b/Doxyfile new file mode 100644 index 0000000..0655650 --- /dev/null +++ b/Doxyfile @@ -0,0 +1,2429 @@ +# Doxyfile 1.8.13 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project. +# +# All text after a double hash (##) is considered a comment and is placed in +# front of the TAG it is preceding. +# +# All text after a single hash (#) is considered a comment and will be ignored. +# The format is: +# TAG = value [value, ...] +# For lists, items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (\" \"). + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# This tag specifies the encoding used for all characters in the config file +# that follow. The default is UTF-8 which is also the encoding used for all text +# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv +# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv +# for the list of possible encodings. +# The default value is: UTF-8. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by +# double-quotes, unless you are using Doxywizard) that should identify the +# project for which the documentation is generated. This name is used in the +# title of most generated pages and in a few other places. +# The default value is: My Project. + +PROJECT_NAME = Crypto++ + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. This +# could be handy for archiving the generated documentation or if some version +# control system is used. + +PROJECT_NUMBER = 8.7 + +# Using the PROJECT_BRIEF tag one can provide an optional one line description +# for a project that appears at the top of each page and should give viewer a +# quick idea about the purpose of the project. Keep the description short. + +PROJECT_BRIEF = "Free C++ class library of cryptographic schemes" + +# With the PROJECT_LOGO tag one can specify a logo or an icon that is included +# in the documentation. The maximum height of the logo should not exceed 55 +# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy +# the logo to the output directory. + +# The logo looks really bad here. Don't use it. +# PROJECT_LOGO = Logo-Steel.png + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path +# into which the generated documentation will be written. If a relative path is +# entered, it will be relative to the location where doxygen was started. If +# left blank the current directory will be used. + +OUTPUT_DIRECTORY = html-docs + +# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- +# directories (in 2 levels) under the output directory of each output format and +# will distribute the generated files over these directories. Enabling this +# option can be useful when feeding doxygen a huge amount of source files, where +# putting all generated files in the same directory would otherwise causes +# performance problems for the file system. +# The default value is: NO. + +CREATE_SUBDIRS = NO + +# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII +# characters to appear in the names of generated files. If set to NO, non-ASCII +# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode +# U+3044. +# The default value is: NO. + +ALLOW_UNICODE_NAMES = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese, +# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States), +# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian, +# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages), +# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian, +# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian, +# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish, +# Ukrainian and Vietnamese. +# The default value is: English. + +OUTPUT_LANGUAGE = English + +# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member +# descriptions after the members that are listed in the file and class +# documentation (similar to Javadoc). Set to NO to disable this. +# The default value is: YES. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief +# description of a member or function before the detailed description +# +# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. +# The default value is: YES. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator that is +# used to form the text in various listings. Each string in this list, if found +# as the leading text of the brief description, will be stripped from the text +# and the result, after processing the whole list, is used as the annotated +# text. Otherwise, the brief description is used as-is. If left blank, the +# following values are used ($name is automatically replaced with the name of +# the entity):The $name class, The $name widget, The $name file, is, provides, +# specifies, contains, represents, a, an and the. + +ABBREVIATE_BRIEF = + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# doxygen will generate a detailed section even if there is only a brief +# description. +# The default value is: NO. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. +# The default value is: NO. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path +# before files name in the file list and in the header files. If set to NO the +# shortest path that makes the file name unique will be used +# The default value is: YES. + +FULL_PATH_NAMES = NO + +# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. +# Stripping is only done if one of the specified strings matches the left-hand +# part of the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the path to +# strip. +# +# Note that you can specify absolute paths here, but also relative paths, which +# will be relative from the directory where doxygen is started. +# This tag requires that the tag FULL_PATH_NAMES is set to YES. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the +# path mentioned in the documentation of a class, which tells the reader which +# header file to include in order to use a class. If left blank only the name of +# the header file containing the class definition is used. Otherwise one should +# specify the list of include paths that are normally passed to the compiler +# using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but +# less readable) file names. This can be useful is your file systems doesn't +# support long names like on DOS, Mac, or CD-ROM. +# The default value is: NO. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the +# first line (until the first dot) of a Javadoc-style comment as the brief +# description. If set to NO, the Javadoc-style will behave just like regular Qt- +# style comments (thus requiring an explicit @brief command for a brief +# description.) +# The default value is: NO. + +JAVADOC_AUTOBRIEF = YES + +# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first +# line (until the first dot) of a Qt-style comment as the brief description. If +# set to NO, the Qt-style will behave just like regular Qt-style comments (thus +# requiring an explicit \brief command for a brief description.) +# The default value is: NO. + +QT_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a +# multi-line C++ special comment block (i.e. a block of //! or /// comments) as +# a brief description. This used to be the default behavior. The new default is +# to treat a multi-line C++ comment block as a detailed description. Set this +# tag to YES if you prefer the old behavior instead. +# +# Note that setting this tag to YES also means that rational rose comments are +# not recognized any more. +# The default value is: NO. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the +# documentation from any documented member that it re-implements. +# The default value is: YES. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new +# page for each member. If set to NO, the documentation of a member will be part +# of the file/class/namespace that contains it. +# The default value is: NO. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen +# uses this value to replace tabs by spaces in code fragments. +# Minimum value: 1, maximum value: 16, default value: 4. + +TAB_SIZE = 4 + +# This tag can be used to specify a number of aliases that act as commands in +# the documentation. An alias has the form: +# name=value +# For example adding +# "sideeffect=@par Side Effects:\n" +# will allow you to put the command \sideeffect (or @sideeffect) in the +# documentation, which will result in a user-defined paragraph with heading +# "Side Effects:". You can put \n's in the value part of an alias to insert +# newlines. + +ALIASES = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources +# only. Doxygen will then generate output that is more tailored for C. For +# instance, some of the names that are used will be different. The list of all +# members will be omitted, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or +# Python sources only. Doxygen will then generate output that is more tailored +# for that language. For instance, namespaces will be presented as packages, +# qualified scopes will look different, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources. Doxygen will then generate output that is tailored for Fortran. +# The default value is: NO. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for VHDL. +# The default value is: NO. + +OPTIMIZE_OUTPUT_VHDL = NO + +# Doxygen selects the parser to use depending on the extension of the files it +# parses. With this tag you can assign which parser to use for a given +# extension. Doxygen has a built-in mapping, but you can override or extend it +# using this tag. The format is ext=language, where ext is a file extension, and +# language is one of the parsers supported by doxygen: IDL, Java, Javascript, +# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran: +# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran: +# Fortran. In the later case the parser tries to guess whether the code is fixed +# or free formatted code, this is the default for Fortran type files), VHDL. For +# instance to make doxygen treat .inc files as Fortran files (default is PHP), +# and .f files as C (default is Fortran), use: inc=Fortran f=C. +# +# Note: For files without extension you can use no_extension as a placeholder. +# +# Note that for custom extensions you also need to set FILE_PATTERNS otherwise +# the files are not read by doxygen. + +EXTENSION_MAPPING = + +# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments +# according to the Markdown format, which allows for more readable +# documentation. See http://daringfireball.net/projects/markdown/ for details. +# The output of markdown processing is further processed by doxygen, so you can +# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in +# case of backward compatibilities issues. +# The default value is: YES. + +MARKDOWN_SUPPORT = NO + +# When the TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings up +# to that level are automatically included in the table of contents, even if +# they do not have an id attribute. +# Note: This feature currently applies only to Markdown headings. +# Minimum value: 0, maximum value: 99, default value: 0. +# This tag requires that the tag MARKDOWN_SUPPORT is set to YES. + +TOC_INCLUDE_HEADINGS = 0 + +# When enabled doxygen tries to link words that correspond to documented +# classes, or namespaces to their corresponding documentation. Such a link can +# be prevented in individual cases by putting a % sign in front of the word or +# globally by setting AUTOLINK_SUPPORT to NO. +# The default value is: YES. + +AUTOLINK_SUPPORT = YES + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should set this +# tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); +# versus func(std::string) {}). This also make the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. +# The default value is: NO. + +BUILTIN_STL_SUPPORT = YES + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. +# The default value is: NO. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip (see: +# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen +# will parse them like normal C++ but will assume all classes use public instead +# of private inheritance when no explicit protection keyword is present. +# The default value is: NO. + +SIP_SUPPORT = NO + +# For Microsoft's IDL there are propget and propput attributes to indicate +# getter and setter methods for a property. Setting this option to YES will make +# doxygen to replace the get and set methods by a property in the documentation. +# This will only work if the methods are indeed getting or setting a simple +# type. If this is not the case, or you want to show the methods anyway, you +# should set this option to NO. +# The default value is: YES. + +IDL_PROPERTY_SUPPORT = NO + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. +# The default value is: NO. + +DISTRIBUTE_GROUP_DOC = NO + +# If one adds a struct or class to a group and this option is enabled, then also +# any nested class or struct is added to the same group. By default this option +# is disabled and one has to add nested compounds explicitly via \ingroup. +# The default value is: NO. + +GROUP_NESTED_COMPOUNDS = NO + +# Set the SUBGROUPING tag to YES to allow class member groups of the same type +# (for instance a group of public functions) to be put as a subgroup of that +# type (e.g. under the Public Functions section). Set it to NO to prevent +# subgrouping. Alternatively, this can be done per class using the +# \nosubgrouping command. +# The default value is: YES. + +SUBGROUPING = YES + +# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions +# are shown inside the group in which they are included (e.g. using \ingroup) +# instead of on a separate page (for HTML and Man pages) or section (for LaTeX +# and RTF). +# +# Note that this feature does not work in combination with +# SEPARATE_MEMBER_PAGES. +# The default value is: NO. + +INLINE_GROUPED_CLASSES = NO + +# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions +# with only public data fields or simple typedef fields will be shown inline in +# the documentation of the scope in which they are defined (i.e. file, +# namespace, or group documentation), provided this scope is documented. If set +# to NO, structs, classes, and unions are shown on a separate page (for HTML and +# Man pages) or section (for LaTeX and RTF). +# The default value is: NO. + +INLINE_SIMPLE_STRUCTS = NO + +# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or +# enum is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically be +# useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. +# The default value is: NO. + +TYPEDEF_HIDES_STRUCT = NO + +# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This +# cache is used to resolve symbols given their name and scope. Since this can be +# an expensive process and often the same symbol appears multiple times in the +# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small +# doxygen will become slower. If the cache is too large, memory is wasted. The +# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range +# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536 +# symbols. At the end of a run doxygen will report the cache usage and suggest +# the optimal cache size from a speed point of view. +# Minimum value: 0, maximum value: 9, default value: 0. + +LOOKUP_CACHE_SIZE = 0 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in +# documentation are documented, even if no documentation was available. Private +# class members and static file members will be hidden unless the +# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. +# Note: This will also disable the warnings about undocumented members that are +# normally produced when WARNINGS is set to YES. +# The default value is: NO. + +EXTRACT_ALL = NO + +# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will +# be included in the documentation. +# The default value is: NO. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal +# scope will be included in the documentation. +# The default value is: NO. + +EXTRACT_PACKAGE = NO + +# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be +# included in the documentation. +# The default value is: NO. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined +# locally in source files will be included in the documentation. If set to NO, +# only classes defined in header files are included. Does not have any effect +# for Java sources. +# The default value is: YES. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. If set to YES, local methods, +# which are defined in the implementation section but not in the interface are +# included in the documentation. If set to NO, only methods in the interface are +# included. +# The default value is: NO. + +EXTRACT_LOCAL_METHODS = NO + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base name of +# the file that contains the anonymous namespace. By default anonymous namespace +# are hidden. +# The default value is: NO. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all +# undocumented members inside documented classes or files. If set to NO these +# members will be included in the various overviews, but no documentation +# section is generated. This option has no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. If set +# to NO, these classes will be included in the various overviews. This option +# has no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend +# (class|struct|union) declarations. If set to NO, these declarations will be +# included in the documentation. +# The default value is: NO. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any +# documentation blocks found inside the body of a function. If set to NO, these +# blocks will be appended to the function's detailed documentation block. +# The default value is: NO. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation that is typed after a +# \internal command is included. If the tag is set to NO then the documentation +# will be excluded. Set it to YES to include the internal documentation. +# The default value is: NO. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file +# names in lower-case letters. If set to YES, upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. +# The default value is: system dependent. + +CASE_SENSE_NAMES = NO + +# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with +# their full class and namespace scopes in the documentation. If set to YES, the +# scope will be hidden. +# The default value is: NO. + +HIDE_SCOPE_NAMES = NO + +# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will +# append additional text to a page's title, such as Class Reference. If set to +# YES the compound reference will be hidden. +# The default value is: NO. + +HIDE_COMPOUND_REFERENCE= NO + +# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of +# the files that are included by a file in the documentation of that file. +# The default value is: YES. + +SHOW_INCLUDE_FILES = NO + +# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each +# grouped member an include statement to the documentation, telling the reader +# which file to include in order to use the member. +# The default value is: NO. + +SHOW_GROUPED_MEMB_INC = NO + +# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include +# files with double quotes in the documentation rather than with sharp brackets. +# The default value is: NO. + +FORCE_LOCAL_INCLUDES = NO + +# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the +# documentation for inline members. +# The default value is: YES. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the +# (detailed) documentation of file and class members alphabetically by member +# name. If set to NO, the members will appear in declaration order. +# The default value is: YES. + +SORT_MEMBER_DOCS = NO + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief +# descriptions of file, namespace and class members alphabetically by member +# name. If set to NO, the members will appear in declaration order. Note that +# this will also influence the order of the classes in the class list. +# The default value is: NO. + +SORT_BRIEF_DOCS = NO + +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the +# (brief and detailed) documentation of class members so that constructors and +# destructors are listed first. If set to NO the constructors will appear in the +# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS. +# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief +# member documentation. +# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting +# detailed member documentation. +# The default value is: NO. + +SORT_MEMBERS_CTORS_1ST = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy +# of group names into alphabetical order. If set to NO the group names will +# appear in their defined order. +# The default value is: NO. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by +# fully-qualified names, including namespaces. If set to NO, the class list will +# be sorted only by class name, not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the alphabetical +# list. +# The default value is: NO. + +SORT_BY_SCOPE_NAME = NO + +# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper +# type resolution of all parameters of a function it will reject a match between +# the prototype and the implementation of a member function even if there is +# only one candidate or it is obvious which candidate to choose by doing a +# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still +# accept a match between prototype and implementation in such cases. +# The default value is: NO. + +STRICT_PROTO_MATCHING = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo +# list. This list is created by putting \todo commands in the documentation. +# The default value is: YES. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test +# list. This list is created by putting \test commands in the documentation. +# The default value is: YES. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug +# list. This list is created by putting \bug commands in the documentation. +# The default value is: YES. + +GENERATE_BUGLIST = NO + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO) +# the deprecated list. This list is created by putting \deprecated commands in +# the documentation. +# The default value is: YES. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional documentation +# sections, marked by \if ... \endif and \cond +# ... \endcond blocks. + +ENABLED_SECTIONS = NO + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the +# initial value of a variable or macro / define can have for it to appear in the +# documentation. If the initializer consists of more lines than specified here +# it will be hidden. Use a value of 0 to hide initializers completely. The +# appearance of the value of individual variables and macros / defines can be +# controlled using \showinitializer or \hideinitializer command in the +# documentation regardless of this setting. +# Minimum value: 0, maximum value: 10000, default value: 30. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at +# the bottom of the documentation of classes and structs. If set to YES, the +# list will mention the files that were used to generate the documentation. +# The default value is: YES. + +SHOW_USED_FILES = YES + +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This +# will remove the Files entry from the Quick Index and from the Folder Tree View +# (if specified). +# The default value is: YES. + +SHOW_FILES = YES + +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces +# page. This will remove the Namespaces entry from the Quick Index and from the +# Folder Tree View (if specified). +# The default value is: YES. + +SHOW_NAMESPACES = YES + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command command input-file, where command is the value of the +# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided +# by doxygen. Whatever the program writes to standard output is used as the file +# version. For an example see the documentation. + +FILE_VERSION_FILTER = + +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed +# by doxygen. The layout file controls the global structure of the generated +# output files in an output format independent way. To create the layout file +# that represents doxygen's defaults, run doxygen with the -l option. You can +# optionally specify a file name after the option, if omitted DoxygenLayout.xml +# will be used as the name of the layout file. +# +# Note that if you run doxygen from a directory containing a file called +# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE +# tag is left empty. + +LAYOUT_FILE = + +# The CITE_BIB_FILES tag can be used to specify one or more bib files containing +# the reference definitions. This must be a list of .bib files. The .bib +# extension is automatically appended if omitted. This requires the bibtex tool +# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info. +# For LaTeX the style of the bibliography can be controlled using +# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the +# search path. See also \cite for info how to create references. + +CITE_BIB_FILES = + +#--------------------------------------------------------------------------- +# Configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated to +# standard output by doxygen. If QUIET is set to YES this implies that the +# messages are off. +# The default value is: NO. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES +# this implies that the warnings are on. +# +# Tip: Turn warnings on while writing the documentation. +# The default value is: YES. + +WARNINGS = NO + +# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate +# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag +# will automatically be disabled. +# The default value is: YES. + +WARN_IF_UNDOCUMENTED = NO + +# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some parameters +# in a documented function, or documenting parameters that don't exist or using +# markup commands wrongly. +# The default value is: YES. + +WARN_IF_DOC_ERROR = YES + +# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that +# are documented, but have no documentation for their parameters or return +# value. If set to NO, doxygen will only warn about wrong or incomplete +# parameter documentation, but not about the absence of documentation. +# The default value is: NO. + +WARN_NO_PARAMDOC = NO + +# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when +# a warning is encountered. +# The default value is: NO. + +WARN_AS_ERROR = NO + +# The WARN_FORMAT tag determines the format of the warning messages that doxygen +# can produce. The string should contain the $file, $line, and $text tags, which +# will be replaced by the file and line number from which the warning originated +# and the warning text. Optionally the format may contain $version, which will +# be replaced by the version of the file (if it could be obtained via +# FILE_VERSION_FILTER) +# The default value is: $file:$line: $text. + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning and error +# messages should be written. If left blank the output is written to standard +# error (stderr). + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# Configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag is used to specify the files and/or directories that contain +# documented source files. You may enter file names like myfile.cpp or +# directories like /usr/src/myproject. Separate the files or directories with +# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING +# Note: If this tag is empty the current directory is searched. + +INPUT = . \ + GNUmakefile \ + GNUmakefile-cross \ + rdrand.asm + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses +# libiconv (or the iconv built into libc) for the transcoding. See the libiconv +# documentation (see: http://www.gnu.org/software/libiconv) for the list of +# possible encodings. +# The default value is: UTF-8. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and +# *.h) to filter out the source-files in the directories. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# read by doxygen. +# +# If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp, +# *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, +# *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, +# *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.pyw, *.f90, *.f95, *.f03, *.f08, +# *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf and *.qsf. + +FILE_PATTERNS = *.h \ + *.cpp + +# The RECURSIVE tag can be used to specify whether or not subdirectories should +# be searched for input files as well. +# The default value is: NO. + +RECURSIVE = NO + +# The EXCLUDE tag can be used to specify files and/or directories that should be +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. +# +# Note that relative paths are relative to the directory from which doxygen is +# run. + +EXCLUDE = adhoc.cpp + +# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or +# directories that are symbolic links (a Unix file system feature) are excluded +# from the input. +# The default value is: NO. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories for example use the pattern */test/* + +EXCLUDE_PATTERNS = *test* \ + *validat* + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories use the pattern */test/* + +EXCLUDE_SYMBOLS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or directories +# that contain example code fragments that are included (see the \include +# command). + +EXAMPLE_PATH = . + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and +# *.h) to filter out the source-files in the directories. If left blank all +# files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude commands +# irrespective of the value of the RECURSIVE tag. +# The default value is: NO. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or directories +# that contain images that are to be included in the documentation (see the +# \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command: +# +# +# +# where is the value of the INPUT_FILTER tag, and is the +# name of an input file. Doxygen will then use the output that the filter +# program writes to standard output. If FILTER_PATTERNS is specified, this tag +# will be ignored. +# +# Note that the filter must not add or remove lines; it is applied before the +# code is scanned, but not when the output code is generated. If lines are added +# or removed, the anchors will not be placed correctly. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# properly processed by doxygen. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: pattern=filter +# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how +# filters are used. If the FILTER_PATTERNS tag is empty or if none of the +# patterns match the file name, INPUT_FILTER is applied. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# properly processed by doxygen. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will also be used to filter the input files that are used for +# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). +# The default value is: NO. + +FILTER_SOURCE_FILES = NO + +# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file +# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and +# it is also possible to disable source filtering for a specific pattern using +# *.ext= (so without naming a filter). +# This tag requires that the tag FILTER_SOURCE_FILES is set to YES. + +FILTER_SOURCE_PATTERNS = + +# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that +# is part of the input, its contents will be placed on the main page +# (index.html). This can be useful if you have a project on for instance GitHub +# and want to reuse the introduction page also for the doxygen output. + +USE_MDFILE_AS_MAINPAGE = + +#--------------------------------------------------------------------------- +# Configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will be +# generated. Documented entities will be cross-referenced with these sources. +# +# Note: To get rid of all source code in the generated output, make sure that +# also VERBATIM_HEADERS is set to NO. +# The default value is: NO. + +SOURCE_BROWSER = YES + +# Setting the INLINE_SOURCES tag to YES will include the body of functions, +# classes and enums directly into the documentation. +# The default value is: NO. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any +# special comment blocks from generated source code fragments. Normal C, C++ and +# Fortran comments will always remain visible. +# The default value is: YES. + +STRIP_CODE_COMMENTS = NO + +# If the REFERENCED_BY_RELATION tag is set to YES then for each documented +# function all documented functions referencing it will be listed. +# The default value is: NO. + +REFERENCED_BY_RELATION = NO + +# If the REFERENCES_RELATION tag is set to YES then for each documented function +# all documented entities called/used by that function will be listed. +# The default value is: NO. + +REFERENCES_RELATION = NO + +# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set +# to YES then the hyperlinks from functions in REFERENCES_RELATION and +# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will +# link to the documentation. +# The default value is: YES. + +REFERENCES_LINK_SOURCE = YES + +# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the +# source code will show a tooltip with additional information such as prototype, +# brief description and links to the definition and documentation. Since this +# will make the HTML file larger and loading of large files a bit slower, you +# can opt to disable this feature. +# The default value is: YES. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +SOURCE_TOOLTIPS = YES + +# If the USE_HTAGS tag is set to YES then the references to source code will +# point to the HTML generated by the htags(1) tool instead of doxygen built-in +# source browser. The htags tool is part of GNU's global source tagging system +# (see http://www.gnu.org/software/global/global.html). You will need version +# 4.8.6 or higher. +# +# To use it do the following: +# - Install the latest version of global +# - Enable SOURCE_BROWSER and USE_HTAGS in the config file +# - Make sure the INPUT points to the root of the source tree +# - Run doxygen as normal +# +# Doxygen will invoke htags (and that will in turn invoke gtags), so these +# tools must be available from the command line (i.e. in the search path). +# +# The result: instead of the source browser generated by doxygen, the links to +# source code will now point to the output of htags. +# The default value is: NO. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a +# verbatim copy of the header file for each class for which an include is +# specified. Set to NO to disable this. +# See also: Section \class. +# The default value is: YES. + +VERBATIM_HEADERS = YES + +# If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the +# clang parser (see: http://clang.llvm.org/) for more accurate parsing at the +# cost of reduced performance. This can be particularly helpful with template +# rich C++ code for which doxygen's built-in parser lacks the necessary type +# information. +# Note: The availability of this option depends on whether or not doxygen was +# generated with the -Duse-libclang=ON option for CMake. +# The default value is: NO. + +CLANG_ASSISTED_PARSING = NO + +# If clang assisted parsing is enabled you can provide the compiler with command +# line options that you would normally use when invoking the compiler. Note that +# the include paths will already be set by doxygen for the files and directories +# specified with INPUT and INCLUDE_PATH. +# This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES. + +CLANG_OPTIONS = + +#--------------------------------------------------------------------------- +# Configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all +# compounds will be generated. Enable this if the project contains a lot of +# classes, structs, unions or interfaces. +# The default value is: YES. + +ALPHABETICAL_INDEX = YES + +# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in +# which the alphabetical index list will be split. +# Minimum value: 1, maximum value: 20, default value: 5. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +COLS_IN_ALPHA_INDEX = 3 + +# In case all classes in a project start with a common prefix, all classes will +# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag +# can be used to specify a prefix (or a list of prefixes) that should be ignored +# while generating the index headers. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output +# The default value is: YES. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of +# it. +# The default directory is: html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_OUTPUT = . + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each +# generated HTML page (for example: .htm, .php, .asp). +# The default value is: .html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a user-defined HTML header file for +# each generated HTML page. If the tag is left blank doxygen will generate a +# standard header. +# +# To get valid HTML the header file that includes any scripts and style sheets +# that doxygen needs, which is dependent on the configuration options used (e.g. +# the setting GENERATE_TREEVIEW). It is highly recommended to start with a +# default header using +# doxygen -w html new_header.html new_footer.html new_stylesheet.css +# YourConfigFile +# and then modify the file new_header.html. See also section "Doxygen usage" +# for information on how to generate the default header that doxygen normally +# uses. +# Note: The header is subject to change so you typically have to regenerate the +# default header when upgrading to a newer version of doxygen. For a description +# of the possible markers and block names see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each +# generated HTML page. If the tag is left blank doxygen will generate a standard +# footer. See HTML_HEADER for more information on how to generate a default +# footer and what special commands can be used inside the footer. See also +# section "Doxygen usage" for information on how to generate the default footer +# that doxygen normally uses. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style +# sheet that is used by each HTML page. It can be used to fine-tune the look of +# the HTML output. If left blank doxygen will generate a default style sheet. +# See also section "Doxygen usage" for information on how to generate the style +# sheet that doxygen normally uses. +# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as +# it is more robust and this tag (HTML_STYLESHEET) will in the future become +# obsolete. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_STYLESHEET = + +# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined +# cascading style sheets that are included after the standard style sheets +# created by doxygen. Using this option one can overrule certain style aspects. +# This is preferred over using HTML_STYLESHEET since it does not replace the +# standard style sheet and is therefore more robust against future updates. +# Doxygen will copy the style sheet files to the output directory. +# Note: The order of the extra style sheet files is of importance (e.g. the last +# style sheet in the list overrules the setting of the previous ones in the +# list). For an example see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_STYLESHEET = + +# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or +# other source files which should be copied to the HTML output directory. Note +# that these files will be copied to the base HTML output directory. Use the +# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these +# files. In the HTML_STYLESHEET file, use the file name only. Also note that the +# files will be copied as-is; there are no commands or markers available. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_FILES = + +# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen +# will adjust the colors in the style sheet and background images according to +# this color. Hue is specified as an angle on a colorwheel, see +# http://en.wikipedia.org/wiki/Hue for more information. For instance the value +# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 +# purple, and 360 is red again. +# Minimum value: 0, maximum value: 359, default value: 220. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_HUE = 220 + +# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors +# in the HTML output. For a value of 0 the output will use grayscales only. A +# value of 255 will produce the most vivid colors. +# Minimum value: 0, maximum value: 255, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_SAT = 100 + +# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the +# luminance component of the colors in the HTML output. Values below 100 +# gradually make the output lighter, whereas values above 100 make the output +# darker. The value divided by 100 is the actual gamma applied, so 80 represents +# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not +# change the gamma. +# Minimum value: 40, maximum value: 240, default value: 80. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_GAMMA = 80 + +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML +# page will contain the date and time when the page was generated. Setting this +# to YES can help to show when doxygen was last run and thus if the +# documentation is up to date. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_TIMESTAMP = YES + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_DYNAMIC_SECTIONS = YES + +# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries +# shown in the various tree structured indices initially; the user can expand +# and collapse entries dynamically later on. Doxygen will expand the tree to +# such a level that at most the specified number of entries are visible (unless +# a fully collapsed tree already exceeds this amount). So setting the number of +# entries 1 will produce a full collapsed tree by default. 0 is a special value +# representing an infinite number of entries and will result in a full expanded +# tree by default. +# Minimum value: 0, maximum value: 9999, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_INDEX_NUM_ENTRIES = 100 + +# If the GENERATE_DOCSET tag is set to YES, additional index files will be +# generated that can be used as input for Apple's Xcode 3 integrated development +# environment (see: http://developer.apple.com/tools/xcode/), introduced with +# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a +# Makefile in the HTML output directory. Running make will produce the docset in +# that directory and running make install will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at +# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html +# for more information. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_DOCSET = NO + +# This tag determines the name of the docset feed. A documentation feed provides +# an umbrella under which multiple documentation sets from a single provider +# (such as a company or product suite) can be grouped. +# The default value is: Doxygen generated docs. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_FEEDNAME = "Doxygen generated docs" + +# This tag specifies a string that should uniquely identify the documentation +# set bundle. This should be a reverse domain-name style string, e.g. +# com.mycompany.MyDocSet. Doxygen will append .docset to the name. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_BUNDLE_ID = com.cryptopp.Project + +# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify +# the documentation publisher. This should be a reverse domain-name style +# string, e.g. com.mycompany.MyDocSet.documentation. +# The default value is: org.doxygen.Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_ID = com.cryptopp.Publisher + +# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. +# The default value is: Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_NAME = Crypto++ + +# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three +# additional HTML index files: index.hhp, index.hhc, and index.hhk. The +# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop +# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on +# Windows. +# +# The HTML Help Workshop contains a compiler that can convert all HTML output +# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML +# files are now used as the Windows 98 help format, and will replace the old +# Windows help format (.hlp) on all Windows platforms in the future. Compressed +# HTML files also contain an index, a table of contents, and you can search for +# words in the documentation. The HTML workshop also contains a viewer for +# compressed HTML files. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_HTMLHELP = NO + +# The CHM_FILE tag can be used to specify the file name of the resulting .chm +# file. You can add a path in front of the file if the result should not be +# written to the html output directory. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_FILE = + +# The HHC_LOCATION tag can be used to specify the location (absolute path +# including file name) of the HTML help compiler (hhc.exe). If non-empty, +# doxygen will try to run the HTML help compiler on the generated index.hhp. +# The file has to be specified with full path. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +HHC_LOCATION = + +# The GENERATE_CHI flag controls if a separate .chi index file is generated +# (YES) or that it should be included in the master .chm file (NO). +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +GENERATE_CHI = NO + +# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc) +# and project file content. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_INDEX_ENCODING = + +# The BINARY_TOC flag controls whether a binary table of contents is generated +# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it +# enables the Previous and Next buttons. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members to +# the table of contents of the HTML help documentation and to the tree view. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +TOC_EXPAND = YES + +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and +# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that +# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help +# (.qch) of the generated HTML documentation. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_QHP = NO + +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify +# the file name of the resulting .qch file. The path specified is relative to +# the HTML output folder. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QCH_FILE = + +# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help +# Project output. For more information please see Qt Help Project / Namespace +# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace). +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_NAMESPACE = org.doxygen.Project + +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt +# Help Project output. For more information please see Qt Help Project / Virtual +# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual- +# folders). +# The default value is: doc. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_VIRTUAL_FOLDER = doc + +# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom +# filter to add. For more information please see Qt Help Project / Custom +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_NAME = + +# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the +# custom filter to add. For more information please see Qt Help Project / Custom +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_ATTRS = + +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this +# project's filter section matches. Qt Help Project / Filter Attributes (see: +# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_SECT_FILTER_ATTRS = + +# The QHG_LOCATION tag can be used to specify the location of Qt's +# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the +# generated .qhp file. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHG_LOCATION = + +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be +# generated, together with the HTML files, they form an Eclipse help plugin. To +# install this plugin and make it available under the help contents menu in +# Eclipse, the contents of the directory containing the HTML and XML files needs +# to be copied into the plugins directory of eclipse. The name of the directory +# within the plugins directory should be the same as the ECLIPSE_DOC_ID value. +# After copying Eclipse needs to be restarted before the help appears. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_ECLIPSEHELP = NO + +# A unique identifier for the Eclipse help plugin. When installing the plugin +# the directory name containing the HTML and XML files should also have this +# name. Each documentation set should have its own identifier. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES. + +ECLIPSE_DOC_ID = org.doxygen.Project + +# If you want full control over the layout of the generated HTML pages it might +# be necessary to disable the index and replace it with your own. The +# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top +# of each HTML page. A value of NO enables the index and the value YES disables +# it. Since the tabs in the index contain the same information as the navigation +# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +DISABLE_INDEX = NO + +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index +# structure should be generated to display hierarchical information. If the tag +# value is set to YES, a side panel will be generated containing a tree-like +# index structure (just like the one that is generated for HTML Help). For this +# to work a browser that supports JavaScript, DHTML, CSS and frames is required +# (i.e. any modern browser). Windows users are probably better off using the +# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can +# further fine-tune the look of the index. As an example, the default style +# sheet generated by doxygen has an example that shows how to put an image at +# the root of the tree instead of the PROJECT_NAME. Since the tree basically has +# the same information as the tab index, you could consider setting +# DISABLE_INDEX to YES when enabling this option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_TREEVIEW = NO + +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that +# doxygen will group on one line in the generated HTML documentation. +# +# Note that a value of 0 will completely suppress the enum values from appearing +# in the overview section. +# Minimum value: 0, maximum value: 20, default value: 4. +# This tag requires that the tag GENERATE_HTML is set to YES. + +ENUM_VALUES_PER_LINE = 4 + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used +# to set the initial width (in pixels) of the frame in which the tree is shown. +# Minimum value: 0, maximum value: 1500, default value: 250. +# This tag requires that the tag GENERATE_HTML is set to YES. + +TREEVIEW_WIDTH = 250 + +# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to +# external symbols imported via tag files in a separate window. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +EXT_LINKS_IN_WINDOW = NO + +# Use this tag to change the font size of LaTeX formulas included as images in +# the HTML documentation. When you change the font size after a successful +# doxygen run you need to manually remove any form_*.png images from the HTML +# output directory to force them to be regenerated. +# Minimum value: 8, maximum value: 50, default value: 10. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_FONTSIZE = 10 + +# Use the FORMULA_TRANPARENT tag to determine whether or not the images +# generated for formulas are transparent PNGs. Transparent PNGs are not +# supported properly for IE 6.0, but are supported on all modern browsers. +# +# Note that when changing this option you need to delete any form_*.png files in +# the HTML output directory before the changes have effect. +# The default value is: YES. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_TRANSPARENT = YES + +# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see +# http://www.mathjax.org) which uses client side Javascript for the rendering +# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX +# installed or if you want to formulas look prettier in the HTML output. When +# enabled you may also need to install MathJax separately and configure the path +# to it using the MATHJAX_RELPATH option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +USE_MATHJAX = NO + +# When MathJax is enabled you can set the default output format to be used for +# the MathJax output. See the MathJax site (see: +# http://docs.mathjax.org/en/latest/output.html) for more details. +# Possible values are: HTML-CSS (which is slower, but has the best +# compatibility), NativeMML (i.e. MathML) and SVG. +# The default value is: HTML-CSS. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_FORMAT = HTML-CSS + +# When MathJax is enabled you need to specify the location relative to the HTML +# output directory using the MATHJAX_RELPATH option. The destination directory +# should contain the MathJax.js script. For instance, if the mathjax directory +# is located at the same level as the HTML output directory, then +# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax +# Content Delivery Network so you can quickly see the result without installing +# MathJax. However, it is strongly recommended to install a local copy of +# MathJax from http://www.mathjax.org before deployment. +# The default value is: http://cdn.mathjax.org/mathjax/latest. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest + +# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax +# extension names that should be enabled during MathJax rendering. For example +# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_EXTENSIONS = + +# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces +# of code that will be used on startup of the MathJax code. See the MathJax site +# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an +# example see the documentation. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_CODEFILE = + +# When the SEARCHENGINE tag is enabled doxygen will generate a search box for +# the HTML output. The underlying search engine uses javascript and DHTML and +# should work on any modern browser. Note that when using HTML help +# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) +# there is already a search function so this one should typically be disabled. +# For large projects the javascript based search engine can be slow, then +# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to +# search using the keyboard; to jump to the search box use + S +# (what the is depends on the OS and browser, but it is typically +# , /