Lines Matching refs:res
36 int res;
42 …res = mbedtls_base64_decode( dst_str, sizeof( dst_str ), &len, src_str, strlen( (char *) src_str )…
43 TEST_ASSERT( res == result );
55 unsigned char *src = NULL, *res = NULL;
59 res = zero_alloc( dst_buf_size );
61 TEST_ASSERT( mbedtls_base64_encode( res, dst_buf_size, &len, src, src_len ) == result );
65 TEST_ASSERT( memcmp( dst, res, len ) == 0 );
70 mbedtls_free( res );
78 unsigned char *dst = NULL, *res = NULL;
82 res = zero_alloc( dst_buf_size );
84 TEST_ASSERT( mbedtls_base64_decode( res, dst_buf_size, &len, (unsigned char *) src,
89 TEST_ASSERT( memcmp( dst, res, len ) == 0 );
94 mbedtls_free( res );