code wiki / p384
topic: p384
18 modules sharing the p384 name family (derived from the tree's prefix discipline).
| module | description | lines | funcs |
|---|---|---|---|
| nx_p384_ecdh.nx | ECDH key exchange on P-384 (secp384r1) for the TLS 1.3 key_share path. | 120 | 6 |
| nx_p384_ecdh_gate.nx | KAT for the P-384 ECDHE curve math against RFC 5903 section 8.2. | 165 | 7 |
| nx_p384_field.nx | NIST P-384 field arithmetic mod p. | 120 | 10 |
| nx_p384_field_inv.nx | P-384 modular inverse via Fermat's | 90 | 4 |
| nx_p384_field_inv_test.nx | KAT for P-384 field inverse. | 54 | 1 |
| nx_p384_field_mul.nx | P-384 field multiplication + squaring | 116 | 6 |
| nx_p384_field_mul_fast.nx | fast P-384 field multiply (mod p) via the prime's | 127 | 7 |
| nx_p384_field_mul_fast_gate.nx | pin p384_field_mul_fast: it MUST equal the | 75 | 5 |
| nx_p384_field_mul_test.nx | KAT for P-384 field mul. | 80 | 1 |
| nx_p384_field_test.nx | KAT for P-384 field add/sub/neg. | 77 | 1 |
| nx_p384_modn.nx | NIST P-384 scalar arithmetic mod n. | 227 | 17 |
| nx_p384_modn_test.nx | KAT for P-384 scalar arithmetic mod n. | 68 | 1 |
| nx_p384_point.nx | NIST P-384 elliptic curve point operations. | 290 | 13 |
| nx_p384_point_add.nx | Jacobian point addition for P-384. | 129 | 2 |
| nx_p384_point_test.nx | KAT for P-384 point operations. | 64 | 1 |
| nx_p384_scalar_mul.nx | scalar multiplication k * P on P-384. | 100 | 3 |
| nx_p384_scalar_mul_gate.nx | DIFFERENTIAL referee: the new 4-bit windowed p384_scalar_mul MUST equal the | 74 | 5 |
| nx_p384_scalar_mul_test.nx | KAT for scalar_mul. | 48 | 1 |