Searched refs:p256_sub (Results 1 - 2 of 2) sorted by relevance

/external/libconstrainedcrypto/
H A Dp256.c252 int p256_sub(const p256_int* a, const p256_int* b, p256_int* c) { function
317 if (!p256_sub(&V, &U, NULL)) {
318 p256_sub(&V, &U, &V);
319 if (p256_sub(&S, &R, &S)) p256_add(&S, MOD, &S);
322 p256_sub(&U, &V, &U);
323 if (p256_sub(&R, &S, &R)) p256_add(&R, MOD, &R);
352 if (p256_sub(&x3, x, &x3)) p256_add(&x3, &SECP256r1_p, &x3); // x^3 - x
353 if (p256_sub(&x3, x, &x3)) p256_add(&x3, &SECP256r1_p, &x3); // x^3 - 2x
354 if (p256_sub(&x3, x, &x3)) p256_add(&x3, &SECP256r1_p, &x3); // x^3 - 3x
356 p256_sub(
[all...]
/external/libconstrainedcrypto/include/constrainedcrypto/
H A Dp256.h112 int p256_sub(const p256_int* a, const p256_int* b, p256_int* c);

Completed in 103 milliseconds