Conversation
Generalises PBKDF2 over the digest context like HMAC, keeping the SHA-1 aliases WPA2 uses. HKDF and AES-CCM are pure D on the existing HMAC and AES-ECB primitives so they work on every target. All three carry their RFC vectors. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Affine point add/double/multiply and 256-bit modular helpers in pure D, for protocols such as SPAKE2+ that need raw point operations the mbedTLS shim and BCrypt do not expose. Not constant-time; documented as such. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Removes the per-step field inversion from scalar multiplication; the affine add and double stay for callers that need them. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
TurkeyMan
force-pushed
the
ow/matter-crypto
branch
from
September 10, 2026 15:11
7f43478 to
890790c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Crypto primitives needed by the Matter work in open-watt/openwatt#673. All pure D on the existing HMAC/SHA-256/AES-ECB so they run on every target. Each module carries RFC test vectors or a round-trip test. P-256 is affine and not constant-time (documented); Jacobian coordinates are a follow-up once the SPAKE2+ flow is proven end to end.
Draft: opened for CI.
🤖 Generated with Claude Code