Module askar_crypto::alg::p256 [−][src]
This is supported on crate feature
p256
only.Expand description
Elliptic curve ECDH and ECDSA support on curve secp256r1
Structs
P256KeyPair | A P-256 (secp256r1) public key or keypair |
Constants
ES256_SIGNATURE_LENGTH | The length of an ES256 signature |
KEYPAIR_LENGTH | The length of a keypair in bytes |
PUBLIC_KEY_LENGTH | The length of a compressed public key in bytes |
SECRET_KEY_LENGTH | The length of a secret key |
Statics
JWK_CURVE | The ‘crv’ value of a P-256 key JWK |
JWK_KEY_TYPE | The ‘kty’ value of an elliptic curve key JWK |