Searched defs:hash_sha (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dloadsave.c747 CK_BYTE hash_sha[SHA1_DIGEST_LENGTH]; local
774 if ((rc = compute_sha(obj_data, obj_data_len_32, hash_sha)) != CKR_OK)
804 (void) memcpy(ptr, hash_sha, SHA1_DIGEST_LENGTH);
1041 CK_BYTE hash_sha[SHA1_DIGEST_LENGTH]; local
1084 if ((rc = compute_sha(ptr, obj_data_len, hash_sha)) != CKR_OK)
1088 if (memcmp((const void *)ptr, (const void *)hash_sha,
H A Dnew_host.c378 CK_BYTE hash_sha[SHA1_DIGEST_LENGTH]; local
431 (void) memcpy(newtoken.so_pin_sha, hash_sha,
H A Dtpm_specific.c1559 CK_BYTE hash_sha[SHA1_DIGEST_LENGTH]; local
1568 if ((rc = compute_sha(pPin, ulPinLen, hash_sha))) {
1590 if (memcmp(hash_sha,
1599 if ((rc = verify_user_pin(hContext, hash_sha))) {
1603 (void) memcpy(current_user_pin_sha, hash_sha,
1622 if (memcmp(hash_sha,
1647 &publicLeafKeyUUID, hPublicRootKey, hash_sha,
1657 (void) memcpy(current_so_pin_sha, hash_sha, SHA1_DIGEST_LENGTH);
1735 verify_user_pin(TSS_HCONTEXT hContext, CK_BYTE *hash_sha) argument
1767 &privateLeafKeyUUID, hPrivateRootKey, hash_sha,
1919 CK_BYTE hash_sha[SHA1_DIGEST_LENGTH]; local
[all...]

Completed in 123 milliseconds