Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/library/
Dbignum.c66 #define ciL (sizeof(mbedtls_mpi_uint)) /* chars in limb */ macro
67 #define biL (ciL << 3) /* bits in limb */
68 #define biH (ciL << 2) /* half limb size */
77 #define CHARS_TO_LIMBS(i) ( (i) / ciL + ( (i) % ciL != 0 ) )
123 if( ( p = (mbedtls_mpi_uint*)mbedtls_calloc( nblimbs, ciL ) ) == NULL ) in mbedtls_mpi_grow()
128 memcpy( p, X->p, X->n * ciL ); in mbedtls_mpi_grow()
161 if( ( p = (mbedtls_mpi_uint*)mbedtls_calloc( i, ciL ) ) == NULL ) in mbedtls_mpi_shrink()
166 memcpy( p, X->p, i * ciL ); in mbedtls_mpi_shrink()
203 memset( X->p, 0, X->n * ciL ); in mbedtls_mpi_copy()
204 memcpy( X->p, Y->p, i * ciL ); in mbedtls_mpi_copy()
[all …]