Searched defs:hmac_len (Results 1 - 4 of 4) sorted by relevance
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softMAC.h | 83 size_t hmac_len; /* digest len in bytes */ member in struct:soft_hmac_ctx
|
H A D | softKeystoreUtil.c | 1256 CK_ULONG decrypted_len, encrypted_len, hmac_len; local 1371 hmac_len = OBJ_HMAC_SIZE; 1373 encrypted_len, hmac, &hmac_len) != CKR_OK) { 1379 if (hmac_len != OBJ_HMAC_SIZE) {
|
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | mech_md5.c | 336 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 D | mech_sha.c | 70 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...] |
Completed in 38 milliseconds