Searched refs:SECP256r1_n (Results 1 – 3 of 3) sorted by relevance
/system/core/libmincrypt/ |
D | p256_ecdsa.c | 41 p256_mod(&SECP256r1_n, r, &u); in p256_ecdsa_verify() 42 p256_mod(&SECP256r1_n, s, &v); in p256_ecdsa_verify() 45 p256_modinv_vartime(&SECP256r1_n, s, &v); in p256_ecdsa_verify() 46 p256_modmul(&SECP256r1_n, message, 0, &v, &u); // message / s % n in p256_ecdsa_verify() 47 p256_modmul(&SECP256r1_n, r, 0, &v, &v); // r / s % n in p256_ecdsa_verify() 53 p256_mod(&SECP256r1_n, &u, &u); // (x coord % p) % n in p256_ecdsa_verify()
|
D | p256.c | 42 const p256_int SECP256r1_n = // curve order variable
|
/system/core/include/mincrypt/ |
D | p256.h | 54 extern const p256_int SECP256r1_n; // Curve order
|