Lines Matching refs:buf_len
15 int buf_len, int result )
29 p = buf + GUARD_LEN + buf_len;
37 TEST_ASSERT( buf[GUARD_LEN + buf_len + i] == GUARD_VAL );
43 TEST_ASSERT( p + asn1_len == buf + GUARD_LEN + buf_len );
52 int buf_len, int result )
65 p = buf + GUARD_LEN + buf_len;
73 TEST_ASSERT( buf[GUARD_LEN + buf_len + i] == GUARD_VAL );
79 TEST_ASSERT( p + asn1_len == buf + GUARD_LEN + buf_len );
87 void mbedtls_asn1_write_len( int len, char *check_str, int buf_len,
100 p = buf + GUARD_LEN + buf_len;
110 TEST_ASSERT( buf[GUARD_LEN + buf_len + i] == GUARD_VAL );
116 TEST_ASSERT( p + asn1_len == buf + GUARD_LEN + buf_len );
121 ret = mbedtls_asn1_get_len( &p, buf + GUARD_LEN + buf_len, &read_len );
135 TEST_ASSERT( p == buf + GUARD_LEN + buf_len );