HomeSort by relevance Sort by last modified time
    Searched refs:p256_add (Results 1 - 2 of 2) sorted by null

  /system/core/libmincrypt/
p256.c 265 int p256_add(const p256_int* a, const p256_int* b, p256_int* c) { function
306 p256_shr1(&R, p256_add(&R, MOD, &R), &R);
314 p256_shr1(&S, p256_add(&S, MOD, &S) , &S);
319 if (p256_sub(&S, &R, &S)) p256_add(&S, MOD, &S);
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
355 if (p256_add(&x3, &SECP256r1_b, &x3)) // x^3 - 3x + b
  /system/core/include/mincrypt/
p256.h 116 int p256_add(const p256_int* a, const p256_int* b, p256_int* c);

Completed in 690 milliseconds