Commit Graph

  • 096674e854 Update googletest to 1.18.0. main hashlag 2026-09-06 03:00:51 +03:00
  • 3dacd57fef Replace Decryptor CRTP base with a concept. concepts hashlag 2026-09-06 02:45:45 +03:00
  • 2c6a24197a Replace Encryptor CRTP base with a concept. hashlag 2026-09-06 02:27:35 +03:00
  • f0228877b4 DesCrypt: Expose Block type in Encryptor and Decryptor. hashlag 2026-09-06 01:05:15 +03:00
  • 1c341c6888 Replace Padder CRTP base with a concept. hashlag 2026-09-01 00:43:27 +03:00
  • 7d028cce66 SeArray: Replace enable_if with a concept. hashlag 2026-08-31 01:32:52 +03:00
  • b03fddd40b Replace Hasher CRTP base with a concept. hashlag 2026-08-31 01:22:07 +03:00
  • 2f1b5091cd Replace Hash CRTP base with a concept. hashlag 2026-08-31 00:05:18 +03:00
  • b769e55753 Merge branch 'branchless-tweaks' hashlag 2026-08-30 02:08:24 +03:00
  • 7e82f3d01a Branchless: Introduce ToBool(). hashlag 2026-08-30 01:51:19 +03:00
  • 72e4803939 Branchless: Introduce TrueMask and FalseMask constants. hashlag 2026-08-29 22:30:00 +03:00
  • 1386caba9f Branchless: Rename Msb() --> MsbMask(). hashlag 2026-08-17 03:13:55 +03:00
  • 2fb53b5603 Update to C++20. hashlag 2026-08-17 01:11:06 +03:00
  • 943cac2b05 Update README.md hashlag 2026-08-15 23:03:34 +03:00
  • 536d7ea2b4 Move README.txt --> README.md. hashlag 2026-08-15 00:49:59 +03:00
  • 43f2c15c0d Merge branch 'iso7816-unpad' hashlag 2026-08-14 01:01:48 +03:00
  • bd94ff963f PadderIso7816Tests: Delete #include duplicate. hashlag 2026-08-14 00:58:29 +03:00
  • c472b55a9d Implement unpad for ISO 7816 padding. hashlag 2026-08-13 00:31:40 +03:00
  • 409b6aa48c PadderPkcs7Tests: Remove reversed range testcase. hashlag 2026-08-14 00:45:18 +03:00
  • a282feeb0b PadderPkcs7Tests: Fix empty range pad testcase. hashlag 2026-08-14 00:42:49 +03:00
  • 734fbe4e45 PadderPkcs7Tests: Remove reversed range testcase. hashlag 2026-08-14 00:45:18 +03:00
  • ca10034f5b PadderPkcs7Tests: Fix empty range pad testcase. hashlag 2026-08-14 00:42:49 +03:00
  • 481a8baa58 PadderIso7816Tests: Fix #include grouping. hashlag 2026-08-13 01:24:55 +03:00
  • 8adc867a2e PadderIso7816: Do not allow to pad empty ranges. hashlag 2026-08-13 01:17:54 +03:00
  • 5966c32121 PadderIso7816: Do not allow to pad empty ranges. hashlag 2026-08-13 01:17:54 +03:00
  • ac122f0f9f Implement unpad for ISO 7816 padding. hashlag 2026-08-13 00:31:40 +03:00
  • 4e5627b503 Sync source and test dirs structure. hashlag 2026-08-04 00:51:02 +03:00
  • a44d537779 Replace sprintf with snprintf. hashlag 2026-08-04 00:40:53 +03:00
  • d894cffa04 Fix sprintf arguments formatting. hashlag 2026-08-04 00:28:12 +03:00
  • 0572d9e887 Fix missing includes in tests. hashlag 2026-08-04 00:17:28 +03:00
  • 8ff1e4b369 PadderPkcs7: Do not allow to pad empty ranges. hashlag 2026-08-03 02:39:44 +03:00
  • cd4e4b9cfc Merge branch 'branchless' hashlag 2026-08-03 02:26:39 +03:00
  • d2c5cf891d Move branchless functions to a dedicated file. hashlag 2026-08-03 02:18:31 +03:00
  • 2323020714 Define sanitizer callbacks that fail tests when triggered. hashlag 2026-08-03 01:46:21 +03:00
  • 88bcbb5514 Improve #include formatting in tests. hashlag 2026-08-02 03:25:00 +03:00
  • e1d96e6c17 Merge branch 'better-throw-assert' hashlag 2026-08-02 03:19:59 +03:00
  • c03b392bcc Improve negative assertions by checking the actual exceptions' content. hashlag 2026-08-02 03:06:27 +03:00
  • 8b9b67aa0c Merge branch 'dm-reorder' hashlag 2026-07-31 02:07:51 +03:00
  • 58fdd3bf5d Merge branch 'ecb' hashlag 2026-07-30 02:23:01 +03:00
  • 9af2249547 EcbMode: Rename PreviousBlock_ --> LastBlock_. hashlag 2026-07-30 01:21:41 +03:00
  • 192cd67deb EcbMode: Optimize data management on decryption hotpath. hashlag 2026-07-30 01:17:47 +03:00
  • c9a262bac4 EcbMode: Inline the DelayedFlush() method. hashlag 2026-07-30 01:06:21 +03:00
  • 6ae4df4bfc Add ECB-mode decryptor draft implementation. hashlag 2026-07-29 02:25:51 +03:00
  • 78ab3a8c27 Add copy assignment operator for SeArray. hashlag 2026-07-26 18:55:28 +03:00
  • c2851d4788 Merge branch 'copy-searray' hashlag 2026-07-26 19:01:24 +03:00
  • fdb8ddd73d Add copy assignment operator for SeArray. hashlag 2026-07-26 18:55:28 +03:00
  • 242a35bd96 Implement unpad for PKCS#7 padding. 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' hashlag 2026-07-20 03:06:50 +03:00
  • eb178853e5 Remove unused #include. 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. 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