Commit Graph

5 Commits

Author SHA1 Message Date
dmex 7dc067277c Add crypto provider discovery API
Expose provider selection and capability queries in phcrypt, including BCrypt ML-DSA detection, incremental hash entry points, and fixed ML-DSA size constants. The update also tightens SymCrypt wrappers with stricter parameter and buffer validation, safer constant-time padding handling, and broader API documentation for the expanded crypto surface.
2026-09-25 05:12:26 +10:00
dmex a571c6bc19 Build and bug fixes 2026-06-15 05:33:51 +10:00
dmex 94551bca08 Add PhSymCryptInitialize 2026-06-02 10:12:25 +10:00
dmex 979acee0d0 Add parallel hash API and key-handle abstraction
Introduce a parallel multi-hash API and a handle-based asymmetric key abstraction. add types, macros and function prototypes for parallel SHA-256/384/512 batching (init/process/cleanup/get capabilities) and for PH_SYMCRYPT_KEY_HANDLE-based key operations and RSA blob generation. phlib/phcrypt.c: implement the parallel hashing routines (allocation, processing, cleanup) and a BCrypt-like key handle layer (generate/finalize/import/export/sign/verify/destroy) plus RSA/ECDSA blob handling. Also add ntintsafe usage and numerous input validation, integer-overflow and buffer-safety checks (RtlSIZETAdd/Mult, parameter NULL checks, memset initializations) to harden existing cryptographic routines.
2026-05-28 04:40:15 +10:00
dmex 0b933cf2c6 Move SymCrypt wrapper into phlib
Move the SymCrypt wrapper sources into phlib while simplifying thirdparty project references.
2026-05-23 18:32:29 +10:00