Commit Graph

  • 242a35bd96 Implement unpad for PKCS#7 padding. ecb hashlag 2026-07-20 02:20:54 +03:00
  • 1dc703922b Remove unused #include. hashlag 2026-07-20 02:54:15 +03:00
  • a9c1e52c45 Remove trailing whitespaces. hashlag 2026-07-20 02:53:46 +03:00
  • 34b19434a1 Fix missing includes. hashlag 2026-07-20 02:53:13 +03:00
  • bcf96061cd Enable clangd's missing includes diagnostic. hashlag 2026-07-20 02:36:50 +03:00
  • a5b7b1d7e1 Set clangd's unused includes diagnostic to strict explicitly. hashlag 2026-07-20 02:34:31 +03:00
  • 617957ce4a Merge branch 'unpad' main hashlag 2026-07-20 03:06:50 +03:00
  • eb178853e5 Remove unused #include. unpad hashlag 2026-07-20 02:54:15 +03:00
  • 442f7fbb29 Remove trailing whitespaces. hashlag 2026-07-20 02:53:46 +03:00
  • 357f00d3e1 Fix missing includes. hashlag 2026-07-20 02:53:13 +03:00
  • 3560e321d7 Enable clangd's missing includes diagnostic. hashlag 2026-07-20 02:36:50 +03:00
  • 5eb1aa2ece Set clangd's unused includes diagnostic to strict explicitly. hashlag 2026-07-20 02:34:31 +03:00
  • d38b77fab2 Remove unused #include. hashlag 2026-07-20 02:54:15 +03:00
  • 233c48bb3f Remove trailing whitespaces. hashlag 2026-07-20 02:53:46 +03:00
  • 1adec1115c Fix missing includes. hashlag 2026-07-20 02:53:13 +03:00
  • e6eb390469 Enable clangd's missing includes diagnostic. hashlag 2026-07-20 02:36:50 +03:00
  • da34f9b499 Set clangd's unused includes diagnostic to strict explicitly. hashlag 2026-07-20 02:34:31 +03:00
  • e6c4f1fc98 Implement unpad for PKCS#7 padding. hashlag 2026-07-20 02:20:54 +03:00
  • c0f2f15d08 Add .clangd. hashlag 2026-07-07 00:06:06 +03:00
  • 26f5aa150c Add .clangd. hashlag 2026-07-07 00:06:06 +03:00
  • 3c3ff4af15 CI: Set ASan and UBSan verbosity to 1. hashlag 2026-07-06 04:09:50 +03:00
  • b2ea94c18b CI: Simplify steps' naming. hashlag 2026-07-06 03:58:23 +03:00
  • 00dc60eee6 CI: Do not collect coverage under valgrind. hashlag 2026-07-06 03:56:16 +03:00
  • bdd63f560a CI: Extract benchmarking into a distinct job. hashlag 2026-07-06 03:48:04 +03:00
  • b220221c8b Add enable no-sanitize-recover for all UBSan checks. hashlag 2026-07-06 03:41:35 +03:00
  • 8351bf2b74 Add sanitized test run to CI. hashlag 2026-07-06 03:25:30 +03:00
  • ac8424b2b4 Make coverage optional for debug builds by introducing CHAOS_COVERAGE flag. hashlag 2026-07-06 02:44:37 +03:00
  • 809d243d38 Remove trailing whitespace. hashlag 2026-07-06 02:31:12 +03:00
  • 0608deb618 CI: Set ASan and UBSan verbosity to 1. hashlag 2026-07-06 04:09:50 +03:00
  • f399c1b0a5 CI: Simplify steps' naming. hashlag 2026-07-06 03:58:23 +03:00
  • 8a772f9fc5 CI: Do not collect coverage under valgrind. hashlag 2026-07-06 03:56:16 +03:00
  • d50a82ad18 CI: Extract benchmarking into a distinct job. hashlag 2026-07-06 03:48:04 +03:00
  • f37271ec5b Add enable no-sanitize-recover for all UBSan checks. hashlag 2026-07-06 03:41:35 +03:00
  • 0126196ea8 Add sanitized test run to CI. hashlag 2026-07-06 03:25:30 +03:00
  • e0768cde3c Make coverage optional for debug builds by introducing CHAOS_COVERAGE flag. hashlag 2026-07-06 02:44:37 +03:00
  • f9dbca34c7 Remove trailing whitespace. hashlag 2026-07-06 02:31:12 +03:00
  • bea8a84a4f Add ECB-mode encryptor draft implementation. hashlag 2026-07-05 21:34:36 +03:00
  • 6c5a12f339 Standartize block cipher's inner encryptor/decryptor class names. hashlag 2026-06-22 02:02:44 +03:00
  • aafe22106e Merge branch 'pad' hashlag 2026-06-19 01:09:50 +03:00
  • eb3da5ff75 Add ISO/IEC 7816-4 padding implementation. pad hashlag 2026-06-18 01:28:38 +03:00
  • 5a16d154a2 Add .DS_Store to .gitignore. hashlag 2026-06-17 23:44:17 +03:00
  • 6c5b2a6ca9 Add .DS_Store to .gitignore. hashlag 2026-06-17 23:44:17 +03:00
  • 47b8248586 Fix exception message. Mentioned class was renamed. hashlag 2026-03-23 00:14:04 +03:00
  • 6998d81e98 Fix compilation with apple clang. hashlag 2026-03-22 23:53:33 +03:00
  • 4df35b5256 Fix compilation with apple clang. hashlag 2026-03-22 23:53:33 +03:00
  • 797a5428cc Add Padder<>. A CRTP base for padding algorithms. hashlag 2026-02-08 23:44:51 +03:00
  • 5baede0a1d Rename PadPkcs7 --> PadderPkcs7. hashlag 2026-02-08 23:31:24 +03:00
  • 2a3185406b Add PKCS#7 padding implementation. hashlag 2026-02-08 23:05:57 +03:00
  • 0647a7c3dc DesEncryptor/DesDecryptor: expose key type. hashlag 2026-02-08 02:57:00 +03:00
  • 7c86d704b7 Merge branch 'block-expose-key-size' hashlag 2026-02-07 18:14:09 +03:00
  • 9f6265395d DesCryptTests: Replace magic const 8 (where used as the key length) with DesCrypt::KeySize. hashlag 2026-02-07 18:09:42 +03:00
  • 151c93560c Expose DES key size through DesCrypt, DesCrypt::Encryptor, DesCrypt::Decryptor. hashlag 2026-02-07 18:02:27 +03:00
  • 3059bd4c66 Make SeArray::Size() static. hashlag 2026-02-07 17:54:37 +03:00
  • ccf1397595 Merge branch 'exception-tests' hashlag 2026-02-06 18:18:45 +03:00
  • 6a09d81ae2 Add ChaosExceptionTests. hashlag 2026-02-06 18:05:57 +03:00
  • b4f015f501 Compile tests with -Wunused -Werror=unused. hashlag 2026-02-05 16:16:38 +03:00
  • 95e74db6ec Perform aggregate zero-init instead of .fill(0) where appropriate. hashlag 2026-02-05 00:40:55 +03:00
  • ed22d29af0 Merge branch 'explicit-bounds' hashlag 2026-02-04 23:52:50 +03:00
  • 65eb51c133 Remove unused CrunchUInt64() overload. hashlag 2026-02-04 23:47:45 +03:00
  • b34fda75ef DesCryptTests: IteratorUsage tests: Add testcases with begin == end. hashlag 2026-02-04 23:37:05 +03:00
  • 15d841893c IteratorUsage tests: Add some canary nulled space before begin. hashlag 2026-02-04 23:31:14 +03:00
  • 5fd27cd7b5 Merge branch 'stream-bounds-tests' into explicit-bounds hashlag 2026-02-04 01:02:56 +03:00
  • 1bf91a90d0 Add Arc4CryptTests, DecryptOutIteratorUsageTest. hashlag 2026-02-04 01:01:54 +03:00
  • 2d64389d66 Add Arc4CryptTests, EncryptOutIteratorUsageTest. hashlag 2026-02-04 00:43:40 +03:00
  • ccdf14d31a Add Arc4GenTests, GenerateOutIteratorUsageTest. hashlag 2026-02-04 00:25:15 +03:00
  • 9734f9a517 Merge branch 'block-exp-bounds' into explicit-bounds hashlag 2026-02-02 01:51:58 +03:00
  • 3de69d3298 Fix assertion style. hashlag 2026-02-02 01:15:38 +03:00
  • a0f17ea127 Decryptor: Require end of the output span to be indicated explicitly. hashlag 2026-02-02 01:10:22 +03:00
  • 67709e5361 Encryptor: Require end of the output span to be indicated explicitly. hashlag 2026-02-02 00:52:08 +03:00
  • d194fef1af Mark all Block::Decryptor<> methods const. hashlag 2026-02-01 00:24:50 +03:00
  • cdcab2f4f7 Mark all Block::Encryptor<> methods const. hashlag 2026-01-31 23:56:25 +03:00
  • a97826da88 Expose block sizes of block ciphers. hashlag 2026-01-31 19:26:51 +03:00
  • 8897d7a910 Merge branch 'block-cipher' hashlag 2026-01-31 18:50:10 +03:00
  • 73c455901b Introduce Block::Decryptor<> CRTP base class. hashlag 2026-01-31 18:35:23 +03:00
  • 4cf79b61ad Introduce Block::Encryptor<> CRTP base class. hashlag 2026-01-31 18:12:43 +03:00
  • ba70abd2af Rename DesCrypt::Encryptor --> DesEncryptor, DesCrypt::Decryptor --> DesDecryptor. hashlag 2026-01-31 17:18:25 +03:00
  • 9a3b6edfc3 Rename DesCrypt::Encryptor --> DesEncryptor, DesCrypt::Decryptor --> DesDecryptor. hashlag 2026-01-31 17:18:25 +03:00
  • 3c98b75986 Create dedicated Cipher/Block directory for block ciphers hashlag 2026-01-30 01:01:48 +03:00
  • b5d1f9a6fc Make CRTP base classes ctors protected hashlag 2026-01-30 00:44:24 +03:00
  • 2c9200ab21 Merge branch 'mac-bench' hashlag 2026-01-29 23:43:28 +03:00
  • 6246bf4538 Add HmacSha1_PartialUpdate100Bench hashlag 2026-01-29 23:40:39 +03:00
  • 78c59dc668 Add HmacSha1_ReuseBench hashlag 2026-01-29 23:39:00 +03:00
  • d4fa11795b Add HmacSha1_CreateComputeDeleteBench hashlag 2026-01-29 23:38:22 +03:00
  • 3780586e63 Add HmacMd5_PartialUpdate100Bench hashlag 2026-01-29 23:34:53 +03:00
  • cc9963f1ca Add HmacMd5_ReuseBench hashlag 2026-01-29 23:34:20 +03:00
  • 05533e7c6b Add HmacMd5_CreateComputeDeleteBench hashlag 2026-01-29 23:33:45 +03:00
  • 961a521c57 Add HmacBenches.cpp to ChaosBenches_SOURCE hashlag 2026-01-29 23:31:15 +03:00
  • 029055f9a3 Add HmacMd4_PartialUpdate100Bench hashlag 2026-01-29 23:30:16 +03:00
  • b5f86b5633 Add HmacMd4_ReuseBench hashlag 2026-01-29 23:29:33 +03:00
  • 0bc29c86e5 Add HmacMd4_CreateComputeDeleteBench hashlag 2026-01-29 23:16:07 +03:00
  • 11561c9379 ChaosCi.yaml: fix directory path style hashlag 2026-01-29 01:29:52 +03:00
  • b7a31b44df Configure retention policy for coverage reports hashlag 2026-01-29 00:42:20 +03:00
  • 4ae55f93fc Sha1HasherTests: Add a longer than 56 (mod 64) byte message testcase hashlag 2026-01-29 00:28:16 +03:00
  • 8eb0c6ab12 Md5HasherTests: Add an exactly 56 byte message testcase hashlag 2026-01-29 00:18:26 +03:00
  • 90c44f5305 Md4HasherTests: Add an exactly 56 byte message testcase. hashlag 2026-01-29 00:10:49 +03:00
  • cd6014d8c0 Merge branch 'tgt-builds' hashlag 2026-01-28 23:29:57 +03:00
  • 0a8b79cd09 Make CI not to build currently unused targets: ChaosTests in Release and ChaosBenches in Debug. hashlag 2026-01-28 23:24:12 +03:00
  • 0c3ce4af8d Merge branch 'lcov-report-ci' hashlag 2026-01-28 23:15:42 +03:00
  • 01d7d19ee6 Remove lcov --ignore-errors flag. hashlag 2026-01-28 23:06:47 +03:00
  • 612b11b02f Run lcov with proper --exclude flags to eliminate unwanted coverage data generation hashlag 2026-01-28 22:59:55 +03:00