Lines Matching refs:src_str
47 void camellia_encrypt_ecb(data_t *key_str, data_t *src_str,
59 TEST_ASSERT(mbedtls_camellia_crypt_ecb(&ctx, MBEDTLS_CAMELLIA_ENCRYPT, src_str->x,
71 void camellia_decrypt_ecb(data_t *key_str, data_t *src_str,
83 TEST_ASSERT(mbedtls_camellia_crypt_ecb(&ctx, MBEDTLS_CAMELLIA_DECRYPT, src_str->x,
96 data_t *src_str, data_t *dst, int cbc_result)
106 TEST_ASSERT(mbedtls_camellia_crypt_cbc(&ctx, MBEDTLS_CAMELLIA_ENCRYPT, src_str->len, iv_str->x,
107 src_str->x, output) == cbc_result);
110 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, src_str->len,
121 data_t *src_str, data_t *dst,
132 TEST_ASSERT(mbedtls_camellia_crypt_cbc(&ctx, MBEDTLS_CAMELLIA_DECRYPT, src_str->len, iv_str->x,
133 src_str->x, output) == cbc_result);
136 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, src_str->len,
147 data_t *src_str, data_t *dst)
159 iv_str->x, src_str->x, output) == 0);
170 data_t *src_str,
183 iv_str->x, src_str->x, output) == 0);