Home
last modified time | relevance | path

Searched refs:sha1_hash (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Ddig_mgr.c399 return (sha1_hash(sess, length_only, ctx, in digest_mgr_digest()
H A Dmech_sha.c30 sha1_hash(SESSION *sess, in sha1_hash() function
H A Dtpmtok_int.h711 CK_RV sha1_hash(SESSION *, CK_BBOOL,
/illumos-gate/usr/src/uts/common/io/
H A Dcryptmod.c144 static hash_info_t sha1_hash = {SHA1_HASHSIZE, CONFOUNDER_LEN, sha1_calc}; variable
356 headspace += sha1_hash.confound_len; in plaintext_offset()
399 cipherlen = (size_t)P2ROUNDUP(sha1_hash.confound_len + in encrypt_size()
401 sha1_hash.hash_len; in encrypt_size()
2561 outmp = des_cbc_decrypt(q, tmi, mp, &sha1_hash); in do_decrypt()
2569 outmp = aes_decrypt(q, tmi, mp, &sha1_hash); in do_decrypt()
2603 outmp = des_cbc_encrypt(q, tmi, mp, &sha1_hash); in do_encrypt()
2611 outmp = aes_encrypt(q, tmi, mp, &sha1_hash); in do_encrypt()
3037 extra = sha1_hash.hash_len; in encrypt_block()