#define MBEDTLS_BIGNUM_H
#include "config.h"
#include
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#define MBEDTLS_ERR_MPI_FILE_IO_ERROR
#define MBEDTLS_ERR_MPI_BAD_INPUT_DATA
#define MBEDTLS_ERR_MPI_INVALID_CHARACTER
#define MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL
#define MBEDTLS_ERR_MPI_NEGATIVE_VALUE
#define MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
#define MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
#define MBEDTLS_ERR_MPI_ALLOC_FAILED
#define MBEDTLS_MPI_MAX_LIMBS
#define MBEDTLS_MPI_WINDOW_SIZE
#define MBEDTLS_MPI_MAX_SIZE
#define MBEDTLS_MPI_MAX_BITS
#define MBEDTLS_MPI_MAX_BITS_SCALE100
#define MBEDTLS_LN_2_DIV_LN_10_SCALE100
#define MBEDTLS_MPI_RW_BUFFER_SIZE
#define MBEDTLS_HAVE_INT64
#define MBEDTLS_HAVE_INT64
#define MBEDTLS_HAVE_UDBL
#define MBEDTLS_HAVE_INT64
#define MBEDTLS_HAVE_UDBL
#define MBEDTLS_HAVE_INT32
mbedtls_mpi_sint
mbedtls_mpi_uint
#define MBEDTLS_HAVE_UDBL
mbedtls_mpi
s
n
p
mbedtls_mpi_init(mbedtls_mpi *);
mbedtls_mpi_free(mbedtls_mpi *);
mbedtls_mpi_grow(mbedtls_mpi *, size_t);
mbedtls_mpi_shrink(mbedtls_mpi *, size_t);
mbedtls_mpi_copy(mbedtls_mpi *, const mbedtls_mpi *);
mbedtls_mpi_swap(mbedtls_mpi *, mbedtls_mpi *);
mbedtls_mpi_safe_cond_assign(mbedtls_mpi *, const mbedtls_mpi *, unsigned char);
mbedtls_mpi_safe_cond_swap(mbedtls_mpi *, mbedtls_mpi *, unsigned char);
mbedtls_mpi_lset(mbedtls_mpi *, mbedtls_mpi_sint);
mbedtls_mpi_get_bit(const mbedtls_mpi *, size_t);
mbedtls_mpi_set_bit(mbedtls_mpi *, size_t, unsigned char);
mbedtls_mpi_lsb(const mbedtls_mpi *);
mbedtls_mpi_bitlen(const mbedtls_mpi *);
mbedtls_mpi_size(const mbedtls_mpi *);
mbedtls_mpi_read_string(mbedtls_mpi *, int, const char *);
mbedtls_mpi_write_string(const mbedtls_mpi *, int, char *, size_t, size_t *);
mbedtls_mpi_read_binary(mbedtls_mpi *, const unsigned char *, size_t);
mbedtls_mpi_write_binary(const mbedtls_mpi *, unsigned char *, size_t);
mbedtls_mpi_shift_l(mbedtls_mpi *, size_t);
mbedtls_mpi_shift_r(mbedtls_mpi *, size_t);
mbedtls_mpi_cmp_abs(const mbedtls_mpi *, const mbedtls_mpi *);
mbedtls_mpi_cmp_mpi(const mbedtls_mpi *, const mbedtls_mpi *);
mbedtls_mpi_cmp_int(const mbedtls_mpi *, mbedtls_mpi_sint);
mbedtls_mpi_add_abs(mbedtls_mpi *, const mbedtls_mpi *, const mbedtls_mpi *);
mbedtls_mpi_sub_abs(mbedtls_mpi *, const mbedtls_mpi *, const mbedtls_mpi *);
mbedtls_mpi_add_mpi(mbedtls_mpi *, const mbedtls_mpi *, const mbedtls_mpi *);
mbedtls_mpi_sub_mpi(mbedtls_mpi *, const mbedtls_mpi *, const mbedtls_mpi *);
mbedtls_mpi_add_int(mbedtls_mpi *, const mbedtls_mpi *, mbedtls_mpi_sint);
mbedtls_mpi_sub_int(mbedtls_mpi *, const mbedtls_mpi *, mbedtls_mpi_sint);
mbedtls_mpi_mul_mpi(mbedtls_mpi *, const mbedtls_mpi *, const mbedtls_mpi *);
mbedtls_mpi_mul_int(mbedtls_mpi *, const mbedtls_mpi *, mbedtls_mpi_uint);
mbedtls_mpi_div_mpi(mbedtls_mpi *, mbedtls_mpi *, const mbedtls_mpi *, const mbedtls_mpi *);
mbedtls_mpi_div_int(mbedtls_mpi *, mbedtls_mpi *, const mbedtls_mpi *, mbedtls_mpi_sint);
mbedtls_mpi_mod_mpi(mbedtls_mpi *, const mbedtls_mpi *, const mbedtls_mpi *);
mbedtls_mpi_mod_int(mbedtls_mpi_uint *, const mbedtls_mpi *, mbedtls_mpi_sint);
mbedtls_mpi_exp_mod(mbedtls_mpi *, const mbedtls_mpi *, const mbedtls_mpi *, const mbedtls_mpi *, mbedtls_mpi *);
mbedtls_mpi_fill_random(mbedtls_mpi *, size_t, int (*)(void *, unsigned char *, size_t), void *);
mbedtls_mpi_gcd(mbedtls_mpi *, const mbedtls_mpi *, const mbedtls_mpi *);
mbedtls_mpi_inv_mod(mbedtls_mpi *, const mbedtls_mpi *, const mbedtls_mpi *);
#define MBEDTLS_DEPRECATED
#define MBEDTLS_DEPRECATED
mbedtls_mpi_is_prime(const mbedtls_mpi *, int (*)(void *, unsigned char *, size_t), void *);
mbedtls_mpi_is_prime_ext(const mbedtls_mpi *, int, int (*)(void *, unsigned char *, size_t), void *);
mbedtls_mpi_gen_prime_flag_t
MBEDTLS_MPI_GEN_PRIME_FLAG_DH
MBEDTLS_MPI_GEN_PRIME_FLAG_LOW_ERR
mbedtls_mpi_gen_prime(mbedtls_mpi *, size_t, int, int (*)(void *, unsigned char *, size_t), void *);