Lines Matching refs:x
57 TEST_ASSERT(mbedtls_camellia_setkey_enc(&ctx, key_str->x, key_str->len * 8) == setkey_result);
59 TEST_ASSERT(mbedtls_camellia_crypt_ecb(&ctx, MBEDTLS_CAMELLIA_ENCRYPT, src_str->x,
62 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, 16, dst->len) == 0);
81 TEST_ASSERT(mbedtls_camellia_setkey_dec(&ctx, key_str->x, key_str->len * 8) == setkey_result);
83 TEST_ASSERT(mbedtls_camellia_crypt_ecb(&ctx, MBEDTLS_CAMELLIA_DECRYPT, src_str->x,
86 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, 16, dst->len) == 0);
105 mbedtls_camellia_setkey_enc(&ctx, key_str->x, key_str->len * 8);
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,
131 mbedtls_camellia_setkey_dec(&ctx, key_str->x, key_str->len * 8);
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,
157 mbedtls_camellia_setkey_enc(&ctx, key_str->x, key_str->len * 8);
159 iv_str->x, src_str->x, output) == 0);
161 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, 16, dst->len) == 0);
181 mbedtls_camellia_setkey_enc(&ctx, key_str->x, key_str->len * 8);
183 iv_str->x, src_str->x, output) == 0);
185 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, 16, dst->len) == 0);