Lines Matching refs:src_str
47 void camellia_encrypt_ecb( data_t * key_str, data_t * src_str,
60 …TEST_ASSERT( mbedtls_camellia_crypt_ecb( &ctx, MBEDTLS_CAMELLIA_ENCRYPT, src_str->x, output ) == 0…
71 void camellia_decrypt_ecb( data_t * key_str, data_t * src_str,
84 …TEST_ASSERT( mbedtls_camellia_crypt_ecb( &ctx, MBEDTLS_CAMELLIA_DECRYPT, src_str->x, output ) == 0…
96 data_t * src_str, data_t * dst, int cbc_result )
106 …mbedtls_camellia_crypt_cbc( &ctx, MBEDTLS_CAMELLIA_ENCRYPT, src_str->len, iv_str->x, src_str->x, o…
110 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x, src_str->len,
121 data_t * src_str, data_t * dst,
132 …mbedtls_camellia_crypt_cbc( &ctx, MBEDTLS_CAMELLIA_DECRYPT, src_str->len, iv_str->x, src_str->x, o…
136 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x, src_str->len,
147 data_t * src_str, data_t * dst )
158 …crypt_cfb128( &ctx, MBEDTLS_CAMELLIA_ENCRYPT, 16, &iv_offset, iv_str->x, src_str->x, output ) == 0…
169 data_t * src_str,
181 …crypt_cfb128( &ctx, MBEDTLS_CAMELLIA_DECRYPT, 16, &iv_offset, iv_str->x, src_str->x, output ) == 0…