Lines Matching refs:hmac
89 Hmac* hmac;
90 ASSIGN_OR_RETURN_UNWRAP(&hmac, args.Holder());
91 Environment* env = hmac->env();
95 hmac->HmacInit(*hash_type, key.data<char>(), key.size());
105 Decode<Hmac>(args, [](Hmac* hmac, const FunctionCallbackInfo<Value>& args,
110 bool r = hmac->HmacUpdate(data, size);
118 Hmac* hmac;
119 ASSIGN_OR_RETURN_UNWRAP(&hmac, args.Holder());
129 if (hmac->ctx_) {
130 bool ok = HMAC_Final(hmac->ctx_.get(), md_value, &md_len);
131 hmac->ctx_.reset();