Searched refs:MBEDTLS_MEMORY_ALIGN_MULTIPLE (Results 1 – 4 of 4) sorted by relevance
218 } else if (len > (size_t) -MBEDTLS_MEMORY_ALIGN_MULTIPLE) { in buffer_alloc_calloc()222 if (len % MBEDTLS_MEMORY_ALIGN_MULTIPLE) { in buffer_alloc_calloc()223 len -= len % MBEDTLS_MEMORY_ALIGN_MULTIPLE; in buffer_alloc_calloc()224 len += MBEDTLS_MEMORY_ALIGN_MULTIPLE; in buffer_alloc_calloc()256 MBEDTLS_MEMORY_ALIGN_MULTIPLE) { in buffer_alloc_calloc()574 if (len < sizeof(memory_header) + MBEDTLS_MEMORY_ALIGN_MULTIPLE) { in mbedtls_memory_buffer_alloc_init()576 } else if ((size_t) buf % MBEDTLS_MEMORY_ALIGN_MULTIPLE) { in mbedtls_memory_buffer_alloc_init()578 len -= MBEDTLS_MEMORY_ALIGN_MULTIPLE in mbedtls_memory_buffer_alloc_init()579 - (size_t) buf % MBEDTLS_MEMORY_ALIGN_MULTIPLE; in mbedtls_memory_buffer_alloc_init()580 buf += MBEDTLS_MEMORY_ALIGN_MULTIPLE in mbedtls_memory_buffer_alloc_init()[all …]
25 #if !defined(MBEDTLS_MEMORY_ALIGN_MULTIPLE)26 #define MBEDTLS_MEMORY_ALIGN_MULTIPLE 4 /**< Align on multiples of this value */ macro
19 if ((size_t) p % MBEDTLS_MEMORY_ALIGN_MULTIPLE != 0) {255 for (i = 1; i < MBEDTLS_MEMORY_ALIGN_MULTIPLE; i++) {257 (size_t) -(MBEDTLS_MEMORY_ALIGN_MULTIPLE - i)) == NULL);
2367 #if defined(MBEDTLS_MEMORY_ALIGN_MULTIPLE) in query_config()2370 MACRO_EXPANSION_TO_STR( MBEDTLS_MEMORY_ALIGN_MULTIPLE ); in query_config()4589 #if defined(MBEDTLS_MEMORY_ALIGN_MULTIPLE) in list_config()4590 OUTPUT_MACRO_NAME_VALUE(MBEDTLS_MEMORY_ALIGN_MULTIPLE); in list_config()