Home
last modified time | relevance | path

Searched refs:SECP256r1_n (Results 1 – 3 of 3) sorted by relevance

/system/core/libmincrypt/
Dp256_ecdsa.c41 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()
Dp256.c42 const p256_int SECP256r1_n = // curve order variable
/system/core/include/mincrypt/
Dp256.h54 extern const p256_int SECP256r1_n; // Curve order