Searched defs:hmac_len (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dmech_md5.c336 CK_ULONG key_bytes, hash_len, hmac_len; local
345 hmac_len = *(CK_ULONG *)ctx->mech.pParameter;
347 if (hmac_len == 0) {
353 hmac_len = MD5_DIGEST_LENGTH;
356 *out_data_len = hmac_len;
477 (void) memcpy(out_data, hash, hmac_len);
478 *out_data_len = hmac_len;
494 CK_ULONG hmac_len, len; local
501 hmac_len = *(CK_ULONG *)ctx->mech.pParameter;
503 hmac_len
[all...]
H A Dmech_sha.c70 CK_ULONG key_bytes, hash_len, hmac_len; local
79 hmac_len = *(CK_ULONG *)ctx->mech.pParameter;
81 if (hmac_len == 0) {
86 hmac_len = SHA1_DIGEST_LENGTH;
89 *out_data_len = hmac_len;
206 (void) memcpy(out_data, hash, hmac_len);
207 *out_data_len = hmac_len;
224 CK_ULONG hmac_len, len; local
231 hmac_len = *(CK_ULONG *)ctx->mech.pParameter;
233 hmac_len
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftMAC.h88 size_t hmac_len; /* digest len in bytes */ member in struct:soft_hmac_ctx
H A DsoftKeystoreUtil.c1251 CK_ULONG decrypted_len, encrypted_len, hmac_len; local
1366 hmac_len = OBJ_HMAC_SIZE;
1368 encrypted_len, hmac, &hmac_len) != CKR_OK) {
1374 if (hmac_len != OBJ_HMAC_SIZE) {

Completed in 207 milliseconds