Lines Matching refs:MBEDTLS_MEMORY_ALIGN_MULTIPLE
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()
593 - (size_t) buf % MBEDTLS_MEMORY_ALIGN_MULTIPLE; in mbedtls_memory_buffer_alloc_init()
623 if ((size_t) p % MBEDTLS_MEMORY_ALIGN_MULTIPLE != 0) { in check_pointer()