Home
last modified time | relevance | path

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

/AliOS-Things-master/components/mbedtls/library/
A Dmemory_buffer_alloc.c248 else if( len > (size_t)-MBEDTLS_MEMORY_ALIGN_MULTIPLE ) in buffer_alloc_calloc()
251 if( len % MBEDTLS_MEMORY_ALIGN_MULTIPLE ) in buffer_alloc_calloc()
253 len -= len % MBEDTLS_MEMORY_ALIGN_MULTIPLE; in buffer_alloc_calloc()
254 len += MBEDTLS_MEMORY_ALIGN_MULTIPLE; in buffer_alloc_calloc()
286 MBEDTLS_MEMORY_ALIGN_MULTIPLE ) in buffer_alloc_calloc()
587 else if( (size_t)buf % MBEDTLS_MEMORY_ALIGN_MULTIPLE ) in mbedtls_memory_buffer_alloc_init()
590 len -= MBEDTLS_MEMORY_ALIGN_MULTIPLE in mbedtls_memory_buffer_alloc_init()
591 - (size_t)buf % MBEDTLS_MEMORY_ALIGN_MULTIPLE; in mbedtls_memory_buffer_alloc_init()
592 buf += MBEDTLS_MEMORY_ALIGN_MULTIPLE in mbedtls_memory_buffer_alloc_init()
593 - (size_t)buf % MBEDTLS_MEMORY_ALIGN_MULTIPLE; in mbedtls_memory_buffer_alloc_init()
[all …]
/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dmemory_buffer_alloc.h43 #if !defined(MBEDTLS_MEMORY_ALIGN_MULTIPLE)
44 #define MBEDTLS_MEMORY_ALIGN_MULTIPLE 4 /**< Align on multiples of this value */ macro
A Dcompat-1.3.h310 #if defined MBEDTLS_MEMORY_ALIGN_MULTIPLE
311 #define POLARSSL_MEMORY_ALIGN_MULTIPLE MBEDTLS_MEMORY_ALIGN_MULTIPLE
A Dconfig.h.bak3009 //#define MBEDTLS_MEMORY_ALIGN_MULTIPLE 4 /**< Align on multiples of this value */

Completed in 27 milliseconds