Lines Matching refs:x
13 TEST_ASSERT(mbedtls_des_key_check_weak(key->x) == ret);
27 TEST_ASSERT(mbedtls_des_setkey_enc(&ctx, key_str->x) == 0);
28 TEST_ASSERT(mbedtls_des_crypt_ecb(&ctx, src_str->x, output) == 0);
30 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, 8, dst->len) == 0);
47 TEST_ASSERT(mbedtls_des_setkey_dec(&ctx, key_str->x) == 0);
48 TEST_ASSERT(mbedtls_des_crypt_ecb(&ctx, src_str->x, output) == 0);
50 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, 8, dst->len) == 0);
68 TEST_ASSERT(mbedtls_des_setkey_enc(&ctx, key_str->x) == 0);
69 TEST_ASSERT(mbedtls_des_crypt_cbc(&ctx, MBEDTLS_DES_ENCRYPT, src_str->len, iv_str->x,
70 src_str->x, output) == cbc_result);
73 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, src_str->len,
94 TEST_ASSERT(mbedtls_des_setkey_dec(&ctx, key_str->x) == 0);
95 TEST_ASSERT(mbedtls_des_crypt_cbc(&ctx, MBEDTLS_DES_DECRYPT, src_str->len, iv_str->x,
96 src_str->x, output) == cbc_result);
99 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, src_str->len,
120 TEST_ASSERT(mbedtls_des3_set2key_enc(&ctx, key_str->x) == 0);
122 TEST_ASSERT(mbedtls_des3_set3key_enc(&ctx, key_str->x) == 0);
127 TEST_ASSERT(mbedtls_des3_crypt_ecb(&ctx, src_str->x, output) == 0);
129 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, 8, dst->len) == 0);
148 TEST_ASSERT(mbedtls_des3_set2key_dec(&ctx, key_str->x) == 0);
150 TEST_ASSERT(mbedtls_des3_set3key_dec(&ctx, key_str->x) == 0);
155 TEST_ASSERT(mbedtls_des3_crypt_ecb(&ctx, src_str->x, output) == 0);
157 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, 8, dst->len) == 0);
177 TEST_ASSERT(mbedtls_des3_set2key_enc(&ctx, key_str->x) == 0);
179 TEST_ASSERT(mbedtls_des3_set3key_enc(&ctx, key_str->x) == 0);
184 TEST_ASSERT(mbedtls_des3_crypt_cbc(&ctx, MBEDTLS_DES_ENCRYPT, src_str->len, iv_str->x,
185 src_str->x, output) == cbc_result);
189 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x,
211 TEST_ASSERT(mbedtls_des3_set2key_dec(&ctx, key_str->x) == 0);
213 TEST_ASSERT(mbedtls_des3_set3key_dec(&ctx, key_str->x) == 0);
218 TEST_ASSERT(mbedtls_des3_crypt_cbc(&ctx, MBEDTLS_DES_DECRYPT, src_str->len, iv_str->x,
219 src_str->x, output) == cbc_result);
223 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, src_str->len,