Commit Graph

8 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 abe198c0f0 Remove dead code, Improve consistency and minor issues
This changeset tightens cache file path handling in phlib by validating leaf names, honoring native vs Win32 path modes consistently, and using the correct directory creation path. It also fixes several functional regressions across the app and plugins: module list filter refresh after highlight toggles, ETW endpoint/port mapping, aggregate sort field usage, graph child window clipping, safer uninstall status text handling, previous-instance shutdown in setup, and improved window-message timeout handling. Additional updates clean up initialization/casts, remove dead code, and address small correctness issues in formatting and utility logic.
2026-07-15 20:19:49 +10:00
dmex a571c6bc19 Build and bug fixes 2026-06-15 05:33:51 +10:00
dmex 73fc36e9d4 Use SymCryptWipe and fix stateTotalSize fallback 2026-06-02 23:45:55 +10:00
dmex 94551bca08 Add PhSymCryptInitialize 2026-06-02 10:12:25 +10:00
dmex cabbc14652 Update phcrypt.c 2026-05-28 05:06:53 +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