Searched refs:mbedtls_mpi_mempool (Results 1 – 4 of 4) sorted by relevance
| /optee_os/core/lib/libtomcrypt/ |
| H A D | mpi_desc.c | 58 mbedtls_mpi_mempool = p; in init_mp_tomcrypt() 65 mbedtls_mpi *bn = mempool_alloc(mbedtls_mpi_mempool, sizeof(*bn)); in init() 83 mempool_free(mbedtls_mpi_mempool, a); in deinit() 497 *b = mempool_alloc(mbedtls_mpi_mempool, sizeof(mbedtls_mpi_uint)); in montgomery_setup() 563 mempool_free(mbedtls_mpi_mempool, a); in montgomery_deinit()
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | bignum.c | 43 void *mbedtls_mpi_mempool; variable 205 mpi_init(X, !!mbedtls_mpi_mempool /*use_mempool*/); in mbedtls_mpi_init_mempool() 220 mempool_free(mbedtls_mpi_mempool, X->p); in mbedtls_mpi_free() 244 p = mempool_alloc(mbedtls_mpi_mempool, nblimbs * ciL); in mbedtls_mpi_grow() 259 mempool_free(mbedtls_mpi_mempool, X->p); in mbedtls_mpi_grow() 305 p = mempool_alloc(mbedtls_mpi_mempool, i * ciL); in mbedtls_mpi_shrink() 319 mempool_free(mbedtls_mpi_mempool, X->p); in mbedtls_mpi_shrink() 1759 mbedtls_mpi_uint *T = mempool_calloc(mbedtls_mpi_mempool, T_limbs, in mbedtls_mpi_exp_mod_optionally_safe() 1835 mempool_free(mbedtls_mpi_mempool, T); in mbedtls_mpi_exp_mod_optionally_safe()
|
| /optee_os/lib/libutee/ |
| H A D | tee_api_arith_mpi.c | 47 mbedtls_mpi_mempool = mempool_alloc_pool(data, sizeof(data), NULL); in _TEE_MathAPI_Init() 48 if (!mbedtls_mpi_mempool) in _TEE_MathAPI_Init() 522 tmp = mempool_alloc(mbedtls_mpi_mempool, sizeof(uint32_t) * s); in TEE_BigIntMul() 533 mempool_free(mbedtls_mpi_mempool, tmp); in TEE_BigIntMul()
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | bignum.h | 245 extern void *mbedtls_mpi_mempool;
|