/lib/mpi/ |
D | mpi-inv.c | 33 MPI u, v, u1, u2 = NULL, u3, v1, v2 = NULL, v3, t1, t2 = NULL, t3; in mpi_invm() local 65 t2 = mpi_alloc_set_ui(1); in mpi_invm() 66 t2->sign = 1; in mpi_invm() 74 t2 = mpi_alloc_set_ui(0); in mpi_invm() 81 if (mpi_test_bit(t1, 0) || mpi_test_bit(t2, 0)) { in mpi_invm() 84 mpi_sub(t2, t2, u); in mpi_invm() 87 mpi_rshift(t2, t2, 1); in mpi_invm() 102 mpi_set(u2, t2); in mpi_invm() 108 mpi_sub(v2, u, t2); in mpi_invm() 116 mpi_sub(t2, u2, v2); in mpi_invm() [all …]
|
D | ec.c | 763 #define t2 (ctx->t.scratch[1]) in dup_point_weierstrass() macro 783 ec_addm(t2, point->x, t1, ctx); in dup_point_weierstrass() 784 ec_mulm(l1, l1, t2, ctx); in dup_point_weierstrass() 801 ec_pow2(t2, point->y, ctx); in dup_point_weierstrass() 802 ec_mulm(l2, t2, point->x, ctx); in dup_point_weierstrass() 813 ec_pow2(t2, t2, ctx); in dup_point_weierstrass() 814 ec_mulm(l3, t2, mpi_const(MPI_C_EIGHT), ctx); in dup_point_weierstrass() 826 #undef t2 in dup_point_weierstrass() 957 #define t2 (ctx->t.scratch[10]) in add_points_weierstrass() macro 1021 ec_pow2(t2, l3, ctx); in add_points_weierstrass() [all …]
|
/lib/zlib_dfltcc/ |
D | dfltcc_util.h | 36 Byte *t2 = op1 ? *op1 : NULL; in dfltcc() local 42 register Byte *r2 __asm__("r2") = t2; in dfltcc() 60 t2 = r2; t3 = r3; t4 = r4; t5 = r5; in dfltcc() 63 *op1 = t2; in dfltcc()
|
/lib/crypto/ |
D | curve25519-fiat32.c | 564 fe t2; in fe_loose_invert() local 574 fe_sq_tt(&t2, &t0); in fe_loose_invert() 575 fe_mul_ttt(&t1, &t1, &t2); in fe_loose_invert() 576 fe_sq_tt(&t2, &t1); in fe_loose_invert() 578 fe_sq_tt(&t2, &t2); in fe_loose_invert() 579 fe_mul_ttt(&t1, &t2, &t1); in fe_loose_invert() 580 fe_sq_tt(&t2, &t1); in fe_loose_invert() 582 fe_sq_tt(&t2, &t2); in fe_loose_invert() 583 fe_mul_ttt(&t2, &t2, &t1); in fe_loose_invert() 584 fe_sq_tt(&t3, &t2); in fe_loose_invert() [all …]
|
D | sha256.c | 67 u32 t1, t2; \ 69 t2 = e0(a) + Maj(a, b, c); \ 71 h = t1 + t2; \
|
D | curve25519-hacl64.c | 631 u64 t2 = input[2]; in format_fcontract_first_carry_pass() local 636 u64 t2_ = t2 + (t1_ >> 51); in format_fcontract_first_carry_pass() 659 u64 t2 = input[2]; in format_fcontract_second_carry_pass() local 664 u64 t2_ = t2 + (t1_ >> 51); in format_fcontract_second_carry_pass() 722 u64 t2 = input[2]; in format_fcontract_store() local 726 u64 o1 = t2 << 38 | t1 >> 13; in format_fcontract_store() 727 u64 o2 = t3 << 25 | t2 >> 26; in format_fcontract_store()
|
/lib/ |
D | locking-selftest.c | 58 static struct ww_acquire_ctx t, t2; variable 1373 I_WW(t); I_WW(t2); I_WW(o.base); I_WW(o2.base); I_WW(o3.base); 1386 memset(&t, 0, sizeof(t)); memset(&t2, 0, sizeof(t2)); 1640 t2 = t; in ww_test_fail_acquire() 1641 t2.stamp++; in ww_test_fail_acquire() 1642 ret = WWL(&o, &t2); in ww_test_fail_acquire() 1718 WWAI(&t2); in ww_test_two_contexts() 1780 o.ctx = &t2; in ww_test_object_lock_stale_context() 1789 o2.ctx = &t2; in ww_test_edeadlk_normal() 1793 t2 = t; in ww_test_edeadlk_normal() [all …]
|
D | crc32.c | 62 # define DO_CRC4 (t3[(q) & 255] ^ t2[(q >> 8) & 255] ^ \ 69 t2[(q >> 16) & 255] ^ t3[(q >> 24) & 255]) 78 const u32 *t0=tab[0], *t1=tab[1], *t2=tab[2], *t3=tab[3]; local
|