Commit Graph

  • 60f81a77e0
    Fix spurious assert (GH #1279) master Jeffrey Walton 2024-06-23 11:59:34 -04:00
  • 9aa07aebbd
    Guard use of ModularSquareRoot (GH #1249) Jeffrey Walton 2024-06-10 10:27:30 -04:00
  • 9bb6680cfa
    Clear GCC overflow warning Jeffrey Walton 2024-04-25 01:33:44 -04:00
  • c2bd7efb49
    chore: fix typos (#1274) Snoppy 2024-04-23 22:04:07 +08:00
  • 782057f5f1
    Add OID::operator> for PEM Pack Jeffrey Walton 2024-02-07 00:03:38 -05:00
  • 442d9ee435
    Update documentation Jeffrey Walton 2024-02-06 20:48:08 -05:00
  • 5cf87aed66
    Set MAKEJOBS in cryptest-pem.sh Jeffrey Walton 2024-02-05 10:54:48 -05:00
  • 93208e8393
    Update comments Jeffrey Walton 2023-11-20 02:41:32 -05:00
  • 641ae35258
    Validate PolynomialMod2 coefficients Thanks to Bing Shi Jeffrey Walton 2023-11-20 01:36:15 -05:00
  • eb383b8e16
    Update docs Thanks to Bing Shi Jeffrey Walton 2023-11-19 20:32:16 -05:00
  • 3e3b8af96d
    Add check for 128-bit pointers Thanks to Andy Polyakov Jeffrey Walton 2023-11-06 14:58:17 -05:00
  • c0e15c066e
    Add check for 128-bit pointers Thanks to Andy Polyakov Jeffrey Walton 2023-11-06 10:13:03 -05:00
  • 1e20219ecd
    Add separate ASM file for XGETBV64 and CPUID64 to Visual Studio cryptdll project (GH #1240) Also see the comment in Commit 043208515799, where OgreTransporter made a comment about the deprecated cryptdll.vcxproj project. Jeffrey Walton 2023-10-21 20:01:14 -04:00
  • af7d1050bf
    Fix CPU feature detection on older Celerons Jeffrey Walton 2023-10-12 02:28:24 -04:00
  • 19f0e3aa1e
    Try fix build on MSYS2 using Clang in CLANG64 environment (GH #1241) More Clang troubles... Jeffrey Walton 2023-10-06 00:46:30 -04:00
  • 0432085157
    Add separate ASM file for XGETBV64 and CPUID64 (GH #1240) This will allow us to define CRYPTOPP_DISABLE_ASM and completely avoid building x64dll.asm and x64masm.asm Jeffrey Walton 2023-10-06 00:33:33 -04:00
  • 3405dcee96
    Guard use of zip and unzip Uncovered on the newly minted GCC119, which is an AIX box. Jeffrey Walton 2023-10-02 11:58:23 -04:00
  • 49fef81923
    Update comments for CRYPTOPP_DISABLE_ASM Jeffrey Walton 2023-10-02 05:56:48 -04:00
  • 121014baf0
    Return 0-values for XGETBV64 and CPUID64 when CRYPTOPP_DISABLE_ASM is in effect (GH #1240) Some folks were defining CRYPTOPP_DISABLE_ASM and not building the *.asm files on WIndows. That happened to work until we refactored code for XGetBV and CpuId. Jeffrey Walton 2023-10-02 05:25:39 -04:00
  • 843d74c7c9
    Prepare for Crypto++ 8.9 release Jeffrey Walton 2023-10-01 12:40:32 -04:00
  • 45f8a77f4e
    Fix SIMON128 when running on POWER8 and above (GH #1237) This was an Asan failure uncovered by cryptest.sh Jeffrey Walton 2023-09-30 23:16:03 -04:00
  • 34151a54f6
    Update comments Jeffrey Walton 2023-09-30 22:00:20 -04:00
  • 47222de4b7
    Clear elevated warnings in ARIA and HIGHT Related to fixes from GH #1235 and GH #1234 Jeffrey Walton 2023-09-30 13:52:56 -04:00
  • 4e09f1e436
    Reduce size of working space in ARIA Jeffrey Walton 2023-09-30 13:51:53 -04:00
  • 1143c7c2cc
    Speedup ARIA ARIA_GSRK Now that the function is using an array of word32 for round keys, we don't need the PutWord gyrations. Jeffrey Walton 2023-09-30 06:06:03 -04:00
  • d3d23002f6
    Use SecWordBlock for ARIA round keys This may allow the compiler to optimize ARIA_GSRK. Instead of a memcpy, the memory can be used as a word32. Jeffrey Walton 2023-09-30 05:47:12 -04:00
  • 9ac6907944
    Remove shady word32* casts in ARIA Jeffrey Walton 2023-09-30 04:56:34 -04:00
  • dde8e9fa23
    Fix ARIA when XOR'ing final block (GH #1235) This is another mystery to me. I do not know why unrolling the XOR into building of outBlock fixes this problem. Jeffrey Walton 2023-09-30 03:26:24 -04:00
  • 5250ab2bf2
    Remove ARIA SIMD code (GH #1235) ARIA SIMD code existed to perform an XOR and the end of encryption and decryption. It was a lot of work to save for the final XOR. Worse, the final XOR seemed to be causing problems as described in GH #1235. Once we unrolled the XOR and used them when building outBlock, the 1235 issue went away. Jeffrey Walton 2023-09-30 03:11:15 -04:00
  • 8d3e357c9c
    Add asserts to CFB_ModePolicy::SetFeedbackSize Jeffrey Walton 2023-09-30 02:49:50 -04:00
  • 2e23f6482a
    Remove volatile cast gyrations in strciphr.cpp (GH #1231) It turns out we went down a rabbit hole when we added the volatile cast gyrations in an attempt to change the compiler behavior. We are seeing the same failures from AES, Rabbit, HIGHT, HC-128 and HC-256 with and without the gyrations. We were able to work out the problems with Rabbit, HIGHT, HC-128 and HC-256. See GH #1231 and GH #1234. We are also not able to successfully cut-in Cryptogams AES on ARMv7, so it is now disabled. See GH #1236. Since the volatile casts were not a solution, we are backing it out along with associated comments. Jeffrey Walton 2023-09-29 15:40:14 -04:00
  • d4b9fa1165
    Disable Cryptogams AES for ARMv7 (GH #1236) Jeffrey Walton 2023-09-29 15:33:30 -04:00
  • 82451cd274
    Add cryptopp.rc to list of trimmed files (GH #1233) Jeffrey Walton 2023-09-29 10:54:51 -04:00
  • 76fb12688b
    Fix HIGHT/CTR mode self test failures when inString==outString (GH #1234) Jeffrey Walton 2023-09-29 02:46:29 -04:00
  • b08f72c3e4
    Guard increment of inBlock in CTR_ModePolicy::OperateKeystream Jeffrey Walton 2023-09-29 02:41:45 -04:00
  • c6a16ea573
    Add GenerateKeystream to HC256 This keeps HC-128 and HC-256 consistent Jeffrey Walton 2023-09-28 09:05:16 -04:00
  • 0bf8798835
    Switch HC128 and HC256 to use CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH (GH #1231) Jeffrey Walton 2023-09-28 00:48:18 -04:00
  • b157b4d301
    Switch Rabbit and RabbitWithIV to use CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH (GH #1231) Jeffrey Walton 2023-09-27 23:51:05 -04:00
  • 560d48f968
    Add self tests for in-place encryption of stream ciphers and streaming modes, like CTR (GH #1231) Jeffrey Walton 2023-09-26 14:36:26 -04:00
  • 950785e6df
    Fix typo Jeffrey Walton 2023-09-26 14:13:15 -04:00
  • a75a7d87ff
    Set ARFLAGS to -r on Alpine Linux Jeffrey Walton 2023-07-19 15:52:48 -04:00
  • 6ecc789df1
    Add precomuted small prime table (GH #1210) Jeffrey Walton 2023-06-26 09:57:15 -04:00
  • cbc1859048
    Update setenv-android.sh script Newer NDKs cannot consume -mtune=intel, so omit it. Jeffrey Walton 2023-06-26 07:45:43 -04:00
  • 205ebf17a9
    Move unused variables to top of function Also see PR #1218 Jeffrey Walton 2023-06-26 07:32:12 -04:00
  • b2e0635660
    Fix unused parameter warnings for x86 non-GCC (GH #1218) Marcel Raad 2023-06-26 12:25:05 +02:00
  • 1659a9ef64
    Add clang-cl.exe to list of CRYPTOPP_MS_STYLE_INLINE_ASSEMBLY Jeffrey Walton 2023-06-25 22:13:16 -04:00
  • e65fa006be
    Simplify use of cpuid and xgetbv on Windows In the past we were pivoting on Visual Studio versions, and trying to use intrinsics when available. The updated code just uses our versions of the calls. Jeffrey Walton 2023-06-25 22:10:22 -04:00
  • a89a27b72c
    Attempt to keep Clang out of other compiler paths (GH #147) Jeffrey Walton 2023-06-25 18:28:11 -04:00
  • 0d9cd947a0
    Avoid call to CPU_ProbeSSE2 in DetectX86Features (GH #1162) The call was a workaround for Solaris. Limit it to Solaris. Jeffrey Walton 2023-06-25 17:09:33 -04:00
  • a23f78d116
    Fix release fence in Singleton::Ref (GH #1208) Jeffrey Walton 2023-06-25 16:57:50 -04:00
  • e6f1f81319
    Use PROC FRAME and prolog for MASM (GH #1116) Jeffrey Walton 2023-06-25 16:49:11 -04:00
  • 001227705a
    Fix chang-version.sh script Jeffrey Walton 2023-06-25 15:19:50 -04:00
  • 0825e938ba
    Post-release version increment Jeffrey Walton 2023-06-25 15:11:06 -04:00
  • 4d0cad5401
    Prepare for Crypto++ 8.8 release Jeffrey Walton 2023-06-25 03:02:25 -04:00
  • 2656d80959
    Prepare for Crypto++ 8.8 release Jeffrey Walton 2023-06-25 02:59:39 -04:00
  • 6ac6668b29
    Remove unneeded check in Integer::Randomize(bitCount) (GH #1206) Update docs to specify case when bitCount==0 Add tests for Randomize function in debug builds Jeffrey Walton 2023-06-25 02:48:20 -04:00
  • 3f36b1dd87
    Prepare for Crypto++ 8.7.1 release Jeffrey Walton 2023-06-25 00:36:09 -04:00
  • 1e9e6e137a
    Prepare for Crypto++ 8.7.1 release Jeffrey Walton 2023-06-24 23:45:48 -04:00
  • d6bc19da7f
    Update comments Jeffrey Walton 2023-06-24 22:51:26 -04:00
  • acb48cc180
    Update comments in UnsignedMin Jeffrey Walton 2023-06-24 03:09:00 -04:00
  • 3e0742f5e7
    Update comments in cryptest.sh Jeffrey Walton 2023-06-24 02:58:05 -04:00
  • f156aeba4b
    Avoid std::is_unsigned Use of std::is_unsigned and friends caused lots of compile failures in C++11 and above. So much for that idea... Jeffrey Walton 2023-06-24 02:52:44 -04:00
  • 3b1cf30f1b
    Guard use of std::numeric_limits<word128>::max() Apple Clang has the problem. Limit the work around to just Apple Clang. Jeffrey Walton 2023-06-23 17:04:38 -04:00
  • 12c6a9032b
    Use unsigned types with UnsignedMin Jeffrey Walton 2023-06-23 16:51:05 -04:00
  • 0b04c12cbe
    Update comments The apostrophe gave the pretty printer problems Jeffrey Walton 2023-06-23 15:22:33 -04:00
  • cc920825d2
    Guard std::numeric_limits::min and max for MSVC Also see GH #1214 Jeffrey Walton 2023-06-23 15:07:13 -04:00
  • a5f47381b5
    Fix macro and member function confilct for min and max (GH #1214) irwir 2023-06-23 21:09:08 +03:00
  • 0cf084506d
    Add remainder of SafeConvert specializations Jeffrey Walton 2023-06-23 04:08:58 -04:00
  • 37846e0509
    Fix SafeConvert on 32-bit platofrms Jeffrey Walton 2023-06-23 02:52:15 -04:00
  • a58a783529
    Update docs Jeffrey Walton 2023-06-23 01:59:20 -04:00
  • 7e631380cc
    Add specialization for SafeConvert Jeffrey Walton 2023-06-23 01:49:42 -04:00
  • 823ceca743
    Update docs Jeffrey Walton 2023-06-23 01:19:28 -04:00
  • a9d062bf76
    Add specialization for SafeConvert Jeffrey Walton 2023-06-23 01:12:38 -04:00
  • cb914d6f31
    Add curly braces for Clang builds Jeffrey Walton 2023-06-23 00:33:31 -04:00
  • 143b9d2619
    Add specialization for SafeConvert Jeffrey Walton 2023-06-23 00:24:04 -04:00
  • 805a1c4fcf
    Add casts for NTSTATUS in NtStatusToErrorCode Jeffrey Walton 2023-06-23 00:18:42 -04:00
  • df86e69902
    Add specialization for SafeConvert Jeffrey Walton 2023-06-23 00:13:16 -04:00
  • dced966b7a
    Clear unused-value warnings with void cast Jeffrey Walton 2023-06-22 23:24:36 -04:00
  • 14d799767a
    Clear unused variable in fltimpl.h in cross-compiler way Jeffrey Walton 2023-06-22 22:36:25 -04:00
  • c654762f91
    Whitespace check-in Jeffrey Walton 2023-06-22 22:36:01 -04:00
  • d8261ed8fb
    Update compiler version defines Jeffrey Walton 2023-06-22 02:32:34 -04:00
  • 00262d939b
    Add compile test code Jeffrey Walton 2023-06-22 02:31:43 -04:00
  • 1a30be8807
    Update Cirrus CI FreeBSD images (GH #1212) Ed Maste 2023-06-21 00:32:04 -04:00
  • 2038ab191e
    Fix typos in Readme.txt (PR #1207) CryptAxe 2023-05-04 19:14:25 -07:00
  • 899dea9071
    Revert "Update RSA encryption and signature docs" Jeffrey Walton 2023-04-22 01:05:18 -04:00
  • 9fb35dcc35
    Update RSA encryption and signature docs Specifiy they use PKCS #1 v1.5. Jeffrey Walton 2023-04-21 20:24:34 -04:00
  • 16a8708c58
    Handle '\r\0' from early RFCs in Readline Jeffrey Walton 2023-04-21 10:34:59 -04:00
  • 3b8c9303b4
    Add typedefs for RSAES and RSASS using SHA256 Also see https://groups.google.com/g/cryptopp-users/c/0GXv5oj7RgI/m/MVZt_V8eBAAJ Jeffrey Walton 2023-04-20 19:08:02 -04:00
  • 03e9fa0942
    Remove 'native' target from makefile Jeffrey Walton 2023-04-16 14:11:09 -04:00
  • 7c82386a86
    Update comments in makefile Jeffrey Walton 2023-04-16 14:10:04 -04:00
  • e7c9e7968e
    Fix GNUmakefile for GMake 3.80 Jeffrey Walton 2023-04-16 10:37:17 -04:00
  • 702b0fd5a7
    Cleanup Windows build after refactoring Jeffrey Walton 2023-04-15 21:50:33 -04:00
  • ddb8f36e88
    Fix use of <x86intrin.h> for MSVC (GH #1198) It seems Microsoft now defines GCC defines, like __BMI__ Jeffrey Walton 2023-04-15 18:21:03 -04:00
  • f5f63850f9
    Use std namespace for memset, memcpy, memcmp (#1204) Jeffrey Walton 2023-04-15 16:45:02 -04:00
  • 358d0cfecd
    Clear truncation warning on MSVC (GH #1202) Jeffrey Walton 2023-04-14 14:19:20 -04:00
  • e1c149f9a4
    Clear truncation warning on MSVC (GH #1202) Jeffrey Walton 2023-04-14 13:35:54 -04:00
  • ee247f86a2
    Use _mm_crc32_u64 in CRC32 when available (GH #1202) Thanks to Paweł Sikora for suggesting the changes to CRC32 on x86_64 Jeffrey Walton 2023-04-14 09:15:15 -04:00
  • a21bab3255
    Fix MSC version numbers (GH #1185) Jeffrey Walton 2023-03-02 08:59:15 -05:00
  • c364032d4c
    Disable uncaught_exception support for C++ 20 and later (PR #1187) Marcel Raad 2023-01-23 14:26:30 +01:00
  • 3668559ddf
    Run cryptest.exe vv in test script Jeffrey Walton 2023-01-19 22:05:47 -05:00