| 615 | |
| 616 | #if defined(MBEDTLS_SELF_TEST) |
| 617 | static int check_pointer( void *p ) |
| 618 | { |
| 619 | if( p == NULL ) |
| 620 | return( -1 ); |
| 621 | |
| 622 | if( (size_t) p % MBEDTLS_MEMORY_ALIGN_MULTIPLE != 0 ) |
| 623 | return( -1 ); |
| 624 | |
| 625 | return( 0 ); |
| 626 | } |
| 627 | |
| 628 | static int check_all_free( ) |
| 629 | { |
no outgoing calls
no test coverage detected