Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 8 of 8) sorted by relevance

/optee_test/host/xtest/
A Dxtest_uuid_helpers.c92 unsigned char hash[EVP_MAX_MD_SIZE] = { }; in xtest_uuid_v5() local
131 ret = EVP_DigestFinal_ex(mdctx, hash, &md_len); in xtest_uuid_v5()
138 hash[6] = (hash[6] & 0x0F) | 0x50; in xtest_uuid_v5()
139 hash[8] = (hash[8] & 0x3F) | 0x80; in xtest_uuid_v5()
142 memcpy(&be32, &hash[0], sizeof(uint32_t)); in xtest_uuid_v5()
144 memcpy(&be16, &hash[4], sizeof(uint16_t)); in xtest_uuid_v5()
146 memcpy(&be16, &hash[6], sizeof(uint16_t)); in xtest_uuid_v5()
148 memcpy(uuid->clockSeqAndNode, &hash[8], sizeof(uuid->clockSeqAndNode)); in xtest_uuid_v5()
A Dregression_4000.c105 size_t chunk_len, void *hash, in ta_crypt_cmd_digest_do_final() argument
118 op.params[2].tmpref.buffer = (void *)hash; in ta_crypt_cmd_digest_do_final()
236 void *hash, in ta_crypt_cmd_mac_final_compute() argument
249 op.params[2].tmpref.buffer = (void *)hash; in ta_crypt_cmd_mac_final_compute()
275 const uint8_t *hash, in ta_crypt_cmd_mac_final_compare() argument
288 op.params[2].tmpref.buffer = (void *)hash; in ta_crypt_cmd_mac_final_compare()
A Dpkcs11_1000.c4647 unsigned char hash[EVP_MAX_MD_SIZE] = { 0 }; in xtest_pkcs11_test_1018() local
4821 ret = EVP_DigestFinal_ex(mdctx, hash, &md_len); in xtest_pkcs11_test_1018()
4827 if (!ADBG_EXPECT_BUFFER(c, hash, md_len, digest, digest_size)) in xtest_pkcs11_test_1018()
4900 ret = EVP_DigestFinal_ex(mdctx, hash, &md_len); in xtest_pkcs11_test_1018()
4906 if (!ADBG_EXPECT_BUFFER(c, hash, md_len, digest, digest_size)) in xtest_pkcs11_test_1018()
/optee_test/host/openssl/include/openssl/
A Dtxt_db.h102 LHASH_HASH_FN_TYPE hash, LHASH_COMP_FN_TYPE cmp);
A Dlhash.h83 unsigned long hash; member
142 LHASH_HASH_FN_TYPE hash; member
A Dconf.h120 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash);
A Derr.h365 void ERR_release_err_state_table(LHASH_OF(ERR_STATE) **hash);
A Dts.h258 ASN1_OCTET_STRING *hash; /* Always SHA-1 digest. */ member

Completed in 32 milliseconds