Searched refs:X1 (Results 1 – 2 of 2) sorted by relevance
/tinycrypt-latest/lib/source/ |
D | ecc.c | 455 void double_jacobian_default(uECC_word_t * X1, uECC_word_t * Y1, in double_jacobian_default() argument 468 uECC_vli_modMult_fast(t5, X1, t4, curve); /* t5 = x1*y1^2 = A */ in double_jacobian_default() 473 uECC_vli_modAdd(X1, X1, Z1, curve->p, num_words); /* t1 = x1 + z1^2 */ in double_jacobian_default() 475 uECC_vli_modSub(Z1, X1, Z1, curve->p, num_words); /* t3 = x1 - z1^2 */ in double_jacobian_default() 476 uECC_vli_modMult_fast(X1, X1, Z1, curve); /* t1 = x1^2 - z1^4 */ in double_jacobian_default() 478 uECC_vli_modAdd(Z1, X1, X1, curve->p, num_words); /* t3 = 2*(x1^2 - z1^4) */ in double_jacobian_default() 479 uECC_vli_modAdd(X1, X1, Z1, curve->p, num_words); /* t1 = 3*(x1^2 - z1^4) */ in double_jacobian_default() 480 if (uECC_vli_testBit(X1, 0)) { in double_jacobian_default() 481 uECC_word_t l_carry = uECC_vli_add(X1, X1, curve->p, num_words); in double_jacobian_default() 482 uECC_vli_rshift1(X1, num_words); in double_jacobian_default() [all …]
|
/tinycrypt-latest/lib/include/tinycrypt/ |
D | ecc.h | 120 void (*double_jacobian)(uECC_word_t * X1, uECC_word_t * Y1, uECC_word_t * Z1, 133 void double_jacobian_default(uECC_word_t * X1, uECC_word_t * Y1, 367 void XYcZ_add(uECC_word_t * X1, uECC_word_t * Y1, uECC_word_t * X2, 377 void apply_z(uECC_word_t * X1, uECC_word_t * Y1, const uECC_word_t * const Z,
|