8 Commits

Author SHA1 Message Date
yurekami
b9590323e2 [Multimodal] Add FIPS 140-3 compliant hashing support
This PR adds FIPS 140-3 compliant SHA-256 hashing as an alternative
to blake3 for multimodal content hashing. This enables vLLM usage in
government, healthcare, and financial environments that require
FIPS-approved cryptographic algorithms.

Changes:
- Add _Sha256Hasher wrapper class with consistent interface
- Add _Blake3Hasher wrapper class for optional blake3 usage
- Add _create_hasher() factory function for hasher selection
- Add VLLM_USE_FIPS_HASHING environment variable control
- Automatic fallback to SHA-256 when blake3 is unavailable
- Add comprehensive test suite for FIPS hashing functionality

Fixes #18334

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: yurekami <249254018+yurekami@users.noreply.github.com>
2025-12-24 14:46:57 +09:00
Harry Mellor
d6953beb91
Convert formatting to use ruff instead of yapf + isort (#26247)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
2025-10-05 07:06:22 -07:00
Reza Barazesh
bc546f76a1
[CI] Move applicable tests to CPU (#24080)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
2025-09-30 14:45:20 +01:00
Cyrus Leung
9715f7bb0f
[Bugfix] Fix incorrect original shape in hashing (#23672)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
Co-authored-by: Lukas Geiger <lukas.geiger94@gmail.com>
2025-08-26 19:01:25 +00:00
Staszek Paśko
22341b996e
Improve multimodal hasher performance for re-used Image prompts (#22825)
Signed-off-by: Staszek Pasko <staszek@gmail.com>
2025-08-15 12:32:56 +00:00
Lukas Geiger
3b523e38d9
[Core] Do not copy array during hashing (#19484)
Signed-off-by: Lukas Geiger <lukas.geiger94@gmail.com>
2025-06-18 15:36:55 -07:00
Simon Mo
02f0c7b220
[Misc] Add SPDX-FileCopyrightText (#19100)
Signed-off-by: simon-mo <simon.mo@hey.com>
2025-06-03 11:20:17 -07:00
Cyrus Leung
99404f53c7
[Security] Fix image hash collision (#17378)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
2025-05-02 08:36:39 -04:00