Skip to content

feat(srp): add HomeKit-compatible padding options for u and M1/M2#272

Merged
tarcieri merged 1 commit intoRustCrypto:masterfrom
r4v3n6101:homekit_srp
Mar 25, 2026
Merged

feat(srp): add HomeKit-compatible padding options for u and M1/M2#272
tarcieri merged 1 commit intoRustCrypto:masterfrom
r4v3n6101:homekit_srp

Conversation

@r4v3n6101
Copy link
Contributor

@r4v3n6101 r4v3n6101 commented Feb 20, 2026

  1. Fix computation of u parameter. It uses PAD(A) and PAD(B) as specified in doc comment, though it wasn't implemented. (RFC)
  2. Option for calculating of unpadded H(g), useful for Apple's HomeKit protocol.

Linked issue: #204

@r4v3n6101
Copy link
Contributor Author

@tarcieri friendly ping on this PR
Would love your feedback when you get a chance. I can update anything required. This changes are lowkey needed for me to be in the upstream.

@tarcieri
Copy link
Member

Hi @r4v3n6101!

Sorry, this one went through the cracks but it would be definitely nice to get a HomeKit-compatible exchange added. I'll try to take a look later today.

@tarcieri tarcieri merged commit 5b33c78 into RustCrypto:master Mar 25, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants