Lines Matching refs:mbedtls_mpi_uint

79 #define ciL    (sizeof(mbedtls_mpi_uint))     /** chars in limb  */
102 size_t mbedtls_mpi_core_clz(mbedtls_mpi_uint a);
114 size_t mbedtls_mpi_core_bitlen(const mbedtls_mpi_uint *A, size_t A_limbs);
122 void mbedtls_mpi_core_bigendian_to_host(mbedtls_mpi_uint *A,
137 mbedtls_ct_condition_t mbedtls_mpi_core_uint_le_mpi(mbedtls_mpi_uint min,
138 const mbedtls_mpi_uint *A,
155 mbedtls_ct_condition_t mbedtls_mpi_core_lt_ct(const mbedtls_mpi_uint *A,
156 const mbedtls_mpi_uint *B,
176 void mbedtls_mpi_core_cond_assign(mbedtls_mpi_uint *X,
177 const mbedtls_mpi_uint *A,
196 void mbedtls_mpi_core_cond_swap(mbedtls_mpi_uint *X,
197 mbedtls_mpi_uint *Y,
215 int mbedtls_mpi_core_read_le(mbedtls_mpi_uint *X,
237 int mbedtls_mpi_core_read_be(mbedtls_mpi_uint *X,
257 int mbedtls_mpi_core_write_le(const mbedtls_mpi_uint *A,
277 int mbedtls_mpi_core_write_be(const mbedtls_mpi_uint *A,
294 void mbedtls_mpi_core_shift_r(mbedtls_mpi_uint *X, size_t limbs,
309 void mbedtls_mpi_core_shift_l(mbedtls_mpi_uint *X, size_t limbs,
329 mbedtls_mpi_uint mbedtls_mpi_core_add(mbedtls_mpi_uint *X,
330 const mbedtls_mpi_uint *A,
331 const mbedtls_mpi_uint *B,
364 mbedtls_mpi_uint mbedtls_mpi_core_add_if(mbedtls_mpi_uint *X,
365 const mbedtls_mpi_uint *A,
387 mbedtls_mpi_uint mbedtls_mpi_core_sub(mbedtls_mpi_uint *X,
388 const mbedtls_mpi_uint *A,
389 const mbedtls_mpi_uint *B,
413 mbedtls_mpi_uint mbedtls_mpi_core_mla(mbedtls_mpi_uint *X, size_t X_limbs,
414 const mbedtls_mpi_uint *A, size_t A_limbs,
415 mbedtls_mpi_uint b);
433 void mbedtls_mpi_core_mul(mbedtls_mpi_uint *X,
434 const mbedtls_mpi_uint *A, size_t A_limbs,
435 const mbedtls_mpi_uint *B, size_t B_limbs);
446 mbedtls_mpi_uint mbedtls_mpi_core_montmul_init(const mbedtls_mpi_uint *N);
483 void mbedtls_mpi_core_montmul(mbedtls_mpi_uint *X,
484 const mbedtls_mpi_uint *A,
485 const mbedtls_mpi_uint *B, size_t B_limbs,
486 const mbedtls_mpi_uint *N, size_t AN_limbs,
487 mbedtls_mpi_uint mm, mbedtls_mpi_uint *T);
520 void mbedtls_mpi_core_ct_uint_table_lookup(mbedtls_mpi_uint *dest,
521 const mbedtls_mpi_uint *table,
546 int mbedtls_mpi_core_fill_random(mbedtls_mpi_uint *X, size_t X_limbs,
581 int mbedtls_mpi_core_random(mbedtls_mpi_uint *X,
582 mbedtls_mpi_uint min,
583 const mbedtls_mpi_uint *N,
634 void mbedtls_mpi_core_exp_mod(mbedtls_mpi_uint *X,
635 const mbedtls_mpi_uint *A,
636 const mbedtls_mpi_uint *N, size_t AN_limbs,
637 const mbedtls_mpi_uint *E, size_t E_limbs,
638 const mbedtls_mpi_uint *RR,
639 mbedtls_mpi_uint *T);
653 mbedtls_mpi_uint mbedtls_mpi_core_sub_int(mbedtls_mpi_uint *X,
654 const mbedtls_mpi_uint *A,
655 mbedtls_mpi_uint b,
668 mbedtls_ct_condition_t mbedtls_mpi_core_check_zero_ct(const mbedtls_mpi_uint *A,
719 void mbedtls_mpi_core_to_mont_rep(mbedtls_mpi_uint *X,
720 const mbedtls_mpi_uint *A,
721 const mbedtls_mpi_uint *N,
723 mbedtls_mpi_uint mm,
724 const mbedtls_mpi_uint *rr,
725 mbedtls_mpi_uint *T);
756 void mbedtls_mpi_core_from_mont_rep(mbedtls_mpi_uint *X,
757 const mbedtls_mpi_uint *A,
758 const mbedtls_mpi_uint *N,
760 mbedtls_mpi_uint mm,
761 mbedtls_mpi_uint *T);