Lines Matching refs:inbuf
141 unsigned char inbuf[64];
186 memset( inbuf, 0x20 + i, sizeof( inbuf ) );
206 /* encode length number of bytes from inbuf */
207 TEST_ASSERT( 0 == mbedtls_cipher_update( &ctx_enc, inbuf, length, encbuf, &outlen ) );
245 TEST_ASSERT( 0 == memcmp(inbuf, decbuf, length) );
268 unsigned char inbuf[64];
278 memset( inbuf, 5, 64 );
299 /* encode length number of bytes from inbuf */
300 TEST_ASSERT( 0 == mbedtls_cipher_update( &ctx, inbuf, length, encbuf, &outlen ) );
374 unsigned char inbuf[64];
387 memset( inbuf, 5, 64 );
415 /* encode length number of bytes from inbuf */
416 TEST_ASSERT( 0 == mbedtls_cipher_update( &ctx_enc, inbuf, first_length, encbuf, &outlen ) );
418 …TEST_ASSERT( 0 == mbedtls_cipher_update( &ctx_enc, inbuf + first_length, second_length, encbuf + t…
446 TEST_ASSERT( 0 == memcmp(inbuf, decbuf, length) );