std.x.crypto.p256 [x] std.x.crypto.p256.public_key pub fn public_key(d: List[byte]) -> List[byte] — The ECDSA public key for a 32-byte big-endian private key d in [1, n): the uncompressed SEC1 encoding of [d]G (0x04 || X || Y). std.x.crypto.p256.sign pub fn sign(d: List[byte], message: List[byte]) -> List[byte] — An ECDSA signature over message under the 32-byte big-endian private key d, as the 64-byte fixed-width r || s (each 32 bytes, big-endian — the JOSE / IEEE P1363 form; DER is signature_der). std.x.crypto.p256.verify pub fn verify(pubkey: List[byte], message: List[byte], sig: List[byte]) -> bool — Verify an ECDSA signature (FIPS 186-5 §6.4.2) over message given a 65-byte uncompressed SEC1 public key and the 64-byte r || s signature. std.x.crypto.p256.verify_der pub fn verify_der(pubkey: List[byte], message: List[byte], der: List[byte]) -> bool — Verify an ECDSA signature supplied in DER form (SEQUENCE{INTEGER r, INTEGER s}) — the encoding X.509 certificates and TLS carry, and exactly what sc22's chain validator hands this module. std.x.crypto.p256.signature_der pub fn signature_der(sig: List[byte]) -> List[byte] — Encode a 64-byte r || s signature as strict DER (SEQUENCE{INTEGER r, INTEGER s}) — the form for an X.509/TLS consumer. std.x.crypto.p256.field_self_test pub fn field_self_test() -> bool — The FIELD's algebraic identities plus the cheap curve laws, checked ALONE before any ECDSA path observes them (the field-first discipline): additive inverse, multiply commutativity / associativity, distributivity, squaring as self-multiply, the Fermat inverse (a·a⁻¹ = 1), the byte round trip, that G is on the curve (SEC1 §3.2.2), and that the COMPLETE addition and doubling agree on [2]G. std.x.crypto.p256.self_test pub fn self_test() -> bool — The full self-test: field_self_test plus the GROUP-ORDER check that [n-1]G + G is the identity (so [n]G = O, n the group order) — a full table-free ladder, so this exceeds the checked tier's step budget and lupin's evaluation budget (native + slow, the ladder precedent). std.x.crypto.p256.to_hex pub fn to_hex(b: List[byte]) -> str — b as lowercase hexadecimal, two digits per byte.