Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_mempool (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/
A Dmpi_desc.c58 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()
498 *b = mempool_alloc(mbedtls_mpi_mempool, sizeof(mbedtls_mpi_uint)); in montgomery_setup()
564 mempool_free(mbedtls_mpi_mempool, a); in montgomery_deinit()
/optee_os-3.20.0/lib/libutee/
A Dtee_api_arith_mpi.c47 mbedtls_mpi_mempool = mempool_alloc_pool(data, sizeof(data), NULL); in _TEE_MathAPI_Init()
48 if (!mbedtls_mpi_mempool) in _TEE_MathAPI_Init()
439 tmp = mempool_alloc(mbedtls_mpi_mempool, sizeof(uint32_t) * s); in TEE_BigIntMul()
450 mempool_free(mbedtls_mpi_mempool, tmp); in TEE_BigIntMul()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dbignum.c80 void *mbedtls_mpi_mempool; variable
108 mpi_init( X, !!mbedtls_mpi_mempool /*use_mempool*/ ); in mbedtls_mpi_init_mempool()
123 mempool_free( mbedtls_mpi_mempool, X->p ); in mbedtls_mpi_free()
148 p = mempool_alloc( mbedtls_mpi_mempool, nblimbs * ciL ); in mbedtls_mpi_grow()
165 mempool_free( mbedtls_mpi_mempool, X->p); in mbedtls_mpi_grow()
205 p = mempool_alloc( mbedtls_mpi_mempool, i * ciL ); in mbedtls_mpi_shrink()
222 mempool_free( mbedtls_mpi_mempool, X->p ); in mbedtls_mpi_shrink()
2154 W = mempool_alloc( mbedtls_mpi_mempool, in mbedtls_mpi_exp_mod()
2307 mempool_free( mbedtls_mpi_mempool , W ); in mbedtls_mpi_exp_mod()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dbignum.h201 extern void *mbedtls_mpi_mempool;

Completed in 11 milliseconds