Commit Graph

  • 1dea0c0910 Merge pull request #60 from itzmeanjan/dependabot/submodules/sha3-5b36415 Anjan Roy 2025-10-20 15:59:37 +04:00
  • 7bf99fdb4f Merge pull request #61 from itzmeanjan/dependabot/submodules/RandomShake-daea83e Anjan Roy 2025-10-20 15:59:22 +04:00
  • 43a99c1aa3 Bump RandomShake from ee4a704 to daea83e dependabot[bot] 2025-10-20 09:23:11 +00:00
  • 5765523d1b Bump sha3 from 5150442 to 5b36415 dependabot[bot] 2025-10-20 09:08:15 +00:00
  • 5d92ba1dfe Bump subtle from 3eadb75 to 8e04604 dependabot[bot] 2025-10-20 09:06:00 +00:00
  • a8e75e5ff2 Merge pull request #58 from reneleonhardt/chore/update-github-actions Anjan Roy 2025-10-14 07:23:53 +04:00
  • d4f0ff1af2 chore: update github-actions Rene Leonhardt 2025-10-13 15:24:40 +02:00
  • 855098fb75 Merge pull request #57 from itzmeanjan/56-add-nist-acvp-test-vectors Anjan Roy 2025-09-23 18:15:08 +04:00
  • 2ffbe7a781 Update README file to reflect ACVP KAT compliance Anjan Roy 2025-09-23 10:33:27 +05:30
  • 527269fa9f Bump git submodule gtest-parallel commit to latest Anjan Roy 2025-09-23 10:01:19 +05:30
  • 86d22d4c11 Merge all Known Answer Tests into a single file Anjan Roy 2025-09-23 09:59:34 +05:30
  • 296b6c8f8e Correct ACVP KAT file parser script name Anjan Roy 2025-09-23 09:27:36 +05:30
  • 82bc552e4e Add tests for checking, bad secret-key must fail to successfully decapsulate shared secret, against ACVP KATs Anjan Roy 2025-09-23 09:25:57 +05:30
  • 5be903e966 Remove ML-KEM pubkeyCheck ACVP KATs and add seckeyCheck KATs Anjan Roy 2025-09-23 09:15:54 +05:30
  • 38d8088793 Give variables more appropriate name Anjan Roy 2025-09-23 09:14:11 +05:30
  • 186932a7f9 Add generated ACVP encapKeyCheck KATs Anjan Roy 2025-09-22 22:00:10 +05:30
  • fafe317d6f Add Python script to parse ML-KEM encapKeyCheck KATs Anjan Roy 2025-09-22 21:58:57 +05:30
  • 7ccf9630fe Add tests for checking encaps implementation against ACVP KATs Anjan Roy 2025-09-22 21:34:21 +05:30
  • defc822e79 Add generated ACVP encapsulation KATs Anjan Roy 2025-09-22 21:20:01 +05:30
  • a3c6633989 Add Python script to parse ML-KEM encapDecap KAT files Anjan Roy 2025-09-22 21:18:27 +05:30
  • 8750e87827 Put ACVP-Server on gitignore list to avoid adding it for git tracking Anjan Roy 2025-09-22 21:14:58 +05:30
  • 43c7e02b4f Add tests for checking keygen implementation against ACVP KATs Anjan Roy 2025-09-22 20:47:34 +05:30
  • 31d884a6d5 Change ML-KEM keygen KAT file names Anjan Roy 2025-09-22 20:35:00 +05:30
  • 322fef8d56 Move kats to right directory Anjan Roy 2025-09-20 21:50:33 +05:30
  • f190c37719 Add script for automating sync. and regeneration of ACVP kats for ml-kem keygen algo Anjan Roy 2025-09-20 21:20:09 +05:30
  • 3efc5731c2 Generate ACVP kats for ml-kem keygen algorithm Anjan Roy 2025-09-20 21:19:16 +05:30
  • 45f0ceb299 Add Python script for parsing NIST ACVP KATs for ML-KEM keygen to local KAT format Anjan Roy 2025-09-20 21:06:44 +05:30
  • 9ccaa5b1c8 Use a permissive license Anjan Roy 2025-07-11 10:50:37 +05:30
  • c466968e42 Merge pull request #55 from itzmeanjan/bump-sha3-version Anjan Roy 2025-03-06 22:35:24 +04:00
  • 6302be22e5 Prefer setting up google-test on github actions CI manually due to https://github.com/itzmeanjan/ml-kem/actions/runs/13701500559 Anjan Roy 2025-03-06 19:23:58 +04:00
  • 71e059d5da Update benchmark results Anjan Roy 2025-03-06 18:40:43 +04:00
  • 98432f85d2 Pin RandomShake git submodule to latest commit Anjan Roy 2025-03-06 18:30:57 +04:00
  • 68b112cc7f Pin sha3 git submodule to latest commit Anjan Roy 2025-03-06 18:29:00 +04:00
  • 61cf680b1c Merge pull request #53 from itzmeanjan/use-randomshake-as-csprng Anjan Roy 2024-11-21 20:18:07 +04:00
  • 08d2b7bd12 Update project documentation Anjan Roy 2024-11-19 23:26:43 +04:00
  • a84b0664ad Add benchmark results in JSON format for multiple targets Anjan Roy 2024-11-21 19:02:05 +04:00
  • 551c27645a Export benchmark results to JSON file Anjan Roy 2024-11-21 19:01:28 +04:00
  • 8b538a8b9c Recursively clone all submodules inside "RandomShake" module Anjan Roy 2024-11-19 23:16:24 +04:00
  • 5cf204e2ed Refactor variable names to be more verbose Anjan Roy 2024-11-19 23:06:28 +04:00
  • 7356a9ede4 Do not include header what is not used Anjan Roy 2024-11-18 23:27:35 +04:00
  • 274a25d821 Shorter name of github actions test Anjan Roy 2024-11-18 23:26:42 +04:00
  • 343a800943 Refactor github actions file using AI 🤩 Anjan Roy 2024-11-18 23:08:38 +04:00
  • eb4a8ea335 Run examples using Make command Anjan Roy 2024-11-18 22:19:51 +04:00
  • 19512ecb53 Update example to use "RandomShake" as CSPRNG Anjan Roy 2024-11-18 22:19:09 +04:00
  • 8437420c9e Switch to using "RandomShake" as CSPRNG Anjan Roy 2024-11-18 20:41:20 +04:00
  • 9cd25955c8 Split Makefile into multiple units Anjan Roy 2024-11-18 20:17:23 +04:00
  • f1942886ec Bump version of sha3 dependency Anjan Roy 2024-11-18 11:10:05 +04:00
  • 493ca3bee8 Add "RandomShake" as git submodule based dependency Anjan Roy 2024-11-18 11:09:11 +04:00
  • b43b819e88 Merge pull request #52 from itzmeanjan/conform-to-fips-203-standard Anjan Roy 2024-09-03 20:34:29 +04:00
  • a52a5de8b8 Change github actions linux runner image to ubuntu-24.04 Anjan Roy 2024-09-02 23:38:32 +04:00
  • 43aad07071 Update project documentation README Anjan Roy 2024-09-02 21:19:50 +04:00
  • 0ab30f5200 Update in-code comments, referring to ML-KEM standard Anjan Roy 2024-09-02 20:41:18 +04:00
  • 4621071758 Remove redundant header file include Anjan Roy 2024-09-02 19:42:47 +04:00
  • 186b841633 Remove dudect -based constant-time tests Anjan Roy 2024-09-01 23:47:48 +04:00
  • 5cb46afd16 Refactor KAT test runner functions, reducing lines of code Anjan Roy 2024-09-01 23:41:37 +04:00
  • 53c0afa644 Declare lambda functions as constexpr Anjan Roy 2024-09-01 23:13:58 +04:00
  • 0f2849520b Add new header, with MACRO definition, for ease of forcing inlining of small functions Anjan Roy 2024-09-01 23:09:17 +04:00
  • 48c06432ee Update github actions script to run all combination of ASAN, UBSAN tests, with two compilers i.e. Clang and GCC Anjan Roy 2024-09-01 21:11:28 +04:00
  • 30e0710c2e Add capability of running ASAN, UBSAN tests in both debug and release mode Anjan Roy 2024-09-01 21:07:16 +04:00
  • 05e92a0d45 Add utility functions for computing (preferably at compile-time) byte length of K-PKE keys and cipher text Anjan Roy 2024-09-01 20:48:21 +04:00
  • c9087f37ff Add domain separation in K-PKE key generation step Anjan Roy 2024-09-01 20:36:17 +04:00
  • 07883453dd Update Known Answer Test files Anjan Roy 2024-08-31 13:23:05 +04:00
  • f1d5f4d548 Merge pull request #51 from itzmeanjan/get-rid-of-kyber Anjan Roy 2024-06-23 13:44:05 +04:00
  • 223d4a0caa Rename repository to ml-kem Anjan Roy 2024-06-23 12:59:00 +04:00
  • b71107b038 Merge pull request #50 from itzmeanjan/test-encap-decap-failures Anjan Roy 2024-06-21 22:45:43 +04:00
  • 08c8a5f1e8 Mention about constexpr capability of this library in the README Anjan Roy 2024-06-21 22:43:34 +04:00
  • 5c66033c0a Update README file with names of new tests added Anjan Roy 2024-06-20 15:38:11 +04:00
  • cda537bb95 Trigger decapsulation failure by random bit-flipping cipher text - implicit rejection Anjan Roy 2024-06-20 11:04:57 +04:00
  • 11655121cd Trigger encapsulation failure by providing with malformed (i.e. non-reduced) public key Anjan Roy 2024-06-20 10:15:59 +04:00
  • 8b0e78ec99 Merge pull request #49 from itzmeanjan/conform-to-nist-fips-203-ipd Anjan Roy 2024-06-18 22:03:47 +04:00
  • e2529a97ef Update benchmark results on all platforms Anjan Roy 2024-06-18 21:54:29 +04:00
  • a5aa2a2f11 Update project documentation, API usage example Anjan Roy 2024-06-18 20:37:38 +04:00
  • 1884d75c3a Update LICENSE Anjan Roy 2024-06-18 19:42:51 +04:00
  • 91a86d4b3f Split ML-KEM benchmarks into their own files, based on security level Anjan Roy 2024-06-18 18:06:03 +04:00
  • bf6a22a872 Split ML-KEM KAT and property-based tests into their own files, based on security level Anjan Roy 2024-06-18 17:50:00 +04:00
  • 69d50e5fee Correctly name test-cases Anjan Roy 2024-06-18 13:51:23 +04:00
  • 56b3e49659 Make functions constexpr wherever it can be Anjan Roy 2024-06-18 13:50:32 +04:00
  • 542c1d4157 Refactor polynomial operations, serialization and de-serialization etc. Anjan Roy 2024-06-18 13:32:17 +04:00
  • eef069f78b Refactor NTT and polynomial multiplication in NTT domain Anjan Roy 2024-06-18 13:03:21 +04:00
  • bf4863f1d8 Rename prime field arithmetic namespace to be more collision resistant Anjan Roy 2024-06-18 12:20:06 +04:00
  • a1f0ca56b5 Rename PRNG namespace to be more collision resistant Anjan Roy 2024-06-18 12:12:51 +04:00
  • cd0a3bd25b Rename public header files (along with namespaces) for ML-KEM Anjan Roy 2024-06-18 11:52:54 +04:00
  • 0d0a151a64 Refactor PKE and KEM implementation Anjan Roy 2024-06-18 11:41:43 +04:00
  • bb1a5ace51 Refactor utility functions Anjan Roy 2024-06-18 11:06:14 +04:00
  • 61eaffbb2b Refactor arithmetic over Zq Anjan Roy 2024-06-17 12:28:35 +04:00
  • df2139ba0f Refactor PRNG implementation to take bit_security_level as a template parameter Anjan Roy 2024-06-17 12:14:19 +04:00
  • f26d6e06ea Extract out functions for conversion between hex-string and byte-array, from core library logic Anjan Roy 2024-06-17 11:57:54 +04:00
  • 7266777e9f Update in-code comments for public headers of kyber{512, 768, 1024} KEM Anjan Roy 2024-06-17 11:49:44 +04:00
  • bb8ef1e8d6 Rename constants, holding byte length information, to be more evident Anjan Roy 2024-06-17 11:10:53 +04:00
  • 726b147dad Replace all links to round-3 Kyber specification with link of draft standard FIPS 203 from NIST Anjan Roy 2024-06-16 13:25:26 +04:00
  • 0cd704b3d8 Change the directory structure of source tree Anjan Roy 2024-06-16 13:23:37 +04:00
  • 9f977086ca Update API usage example - conform to new API Anjan Roy 2024-06-14 21:24:28 +04:00
  • 53abc2b1de Explicitly ignore return value of encaps function in benchmarks Anjan Roy 2024-06-14 21:22:32 +04:00
  • d750b3cc83 Update tests, for now ignore return value of encaps function Anjan Roy 2024-06-14 21:21:48 +04:00
  • 17227c2cce Add modulus check for input public key of encaps function Anjan Roy 2024-06-14 21:19:57 +04:00
  • 70b191277a Update Fujisaki-Okamoto transform as per draft standard Anjan Roy 2024-06-14 18:29:42 +04:00
  • 80afb5d341 Explicitly specify which git submodule to activate in Makefil recipe Anjan Roy 2024-06-14 17:29:47 +04:00
  • a741db10c3 Update benchmaraks to conform to new encaps/ decaps API Anjan Roy 2024-06-14 17:27:48 +04:00
  • ac836bbc49 Update tests to conform to new encaps/ decaps API Anjan Roy 2024-06-13 21:22:59 +04:00
  • 2d1de9bd2e Don't allow requesting arbitrary length *shared secret* using SHAKE256 KDF Anjan Roy 2024-06-13 19:44:17 +04:00