Searched refs:MBEDTLS_MEMORY_ALIGN_MULTIPLE (Results 1 – 4 of 4) sorted by relevance
230 } else if (len > (size_t) -MBEDTLS_MEMORY_ALIGN_MULTIPLE) { in buffer_alloc_calloc()234 if (len % MBEDTLS_MEMORY_ALIGN_MULTIPLE) { in buffer_alloc_calloc()235 len -= len % MBEDTLS_MEMORY_ALIGN_MULTIPLE; in buffer_alloc_calloc()236 len += MBEDTLS_MEMORY_ALIGN_MULTIPLE; in buffer_alloc_calloc()268 MBEDTLS_MEMORY_ALIGN_MULTIPLE) { in buffer_alloc_calloc()586 if (len < sizeof(memory_header) + MBEDTLS_MEMORY_ALIGN_MULTIPLE) { in mbedtls_memory_buffer_alloc_init()588 } 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()[all …]
37 #if !defined(MBEDTLS_MEMORY_ALIGN_MULTIPLE)38 #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);
2315 #if defined(MBEDTLS_MEMORY_ALIGN_MULTIPLE) in query_config()2318 MACRO_EXPANSION_TO_STR( MBEDTLS_MEMORY_ALIGN_MULTIPLE ); in query_config()4321 #if defined(MBEDTLS_MEMORY_ALIGN_MULTIPLE) in list_config()4322 OUTPUT_MACRO_NAME_VALUE(MBEDTLS_MEMORY_ALIGN_MULTIPLE); in list_config()