Lines Matching defs:hmac_len
70 CK_ULONG key_bytes, hash_len, hmac_len;
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;
231 hmac_len = *(CK_ULONG *)ctx->mech.pParameter;
233 hmac_len = SHA1_DIGEST_LENGTH;
247 if ((len != hmac_len) || (len != sig_len)) {
252 if (memcmp(hmac, signature, hmac_len) != 0) {