Lines Matching refs:hash
195 void md_text(int md_type, char *text_src_string, data_t *hash)
209 TEST_MEMORY_COMPARE(output, mbedtls_md_get_size(md_info), hash->x, hash->len);
217 void md_hex(int md_type, data_t *src_str, data_t *hash)
230 TEST_MEMORY_COMPARE(output, mbedtls_md_get_size(md_info), hash->x, hash->len);
239 data_t *hash)
272 TEST_MEMORY_COMPARE(output, mbedtls_md_get_size(md_info), hash->x, hash->len);
279 TEST_MEMORY_COMPARE(output, mbedtls_md_get_size(md_info), hash->x, hash->len);
289 void md_hex_multi(int md_type, data_t *src_str, data_t *hash)
319 TEST_MEMORY_COMPARE(output, mbedtls_md_get_size(md_info), hash->x, hash->len);
326 TEST_MEMORY_COMPARE(output, mbedtls_md_get_size(md_info), hash->x, hash->len);
338 data_t *hash)
352 TEST_MEMORY_COMPARE(output, trunc_size, hash->x, hash->len);
361 data_t *src_str, data_t *hash)
387 TEST_MEMORY_COMPARE(output, trunc_size, hash->x, hash->len);
397 TEST_MEMORY_COMPARE(output, trunc_size, hash->x, hash->len);
407 data_t *hash)
419 TEST_MEMORY_COMPARE(output, mbedtls_md_get_size(md_info), hash->x, hash->len);