You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplify derive_dh_secret: use p256 crate for deterministic PKCS#8 encoding
Instead of manually constructing DER bytes with hardcoded templates,
extract a p256_keypair_to_pkcs8_der() function that uses p256's
canonical ASN.1 DER encoder directly. This decouples the encoding
from rcgen while keeping derive_dh_secret's original structure
(derive_p256_key_pair + hash) intact.
0 commit comments