P256

secp256r1 for ECDH and ECDSA; public keys are uncompressed SEC1 points 04 || x || y.

Properties

Link copied to clipboard

For ML-KEM and ML-DSA, the length of the expanded private key: the decapsulation key dk = dk_PKE || ek || H(ek) || z of 768k + 96 bytes (FIPS 203 Algorithm 16, §8 Table 3) or sk = ρ || K || tr || s1 || s2 || t0 (FIPS 204 Algorithm 24, §4 Table 2). Null for the other types.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int
Link copied to clipboard

Raw public key length in bytes.

Link copied to clipboard

For ML-KEM and ML-DSA, the length of the seed that determines the private key: d || z of ML-KEM.KeyGen (64 bytes, FIPS 203 Algorithm 19) or ξ of ML-DSA.KeyGen (32 bytes, FIPS 204 Algorithm 1). Null for the other types, whose private keys have a single raw encoding.