Lines Matching defs:hmac_len
336 CK_ULONG key_bytes, hash_len, hmac_len;
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;
501 hmac_len = *(CK_ULONG *)ctx->mech.pParameter;
503 hmac_len = MD5_DIGEST_LENGTH;
521 if ((len != hmac_len) || (len != sig_len)) {
524 if (memcmp(hmac, signature, hmac_len) != 0) {