Lines Matching defs:key
71 void Hmac::HmacInit(const char* hash_type, const char* key, int key_len) {
79 key = "";
82 if (!ctx_ || !HMAC_Init_ex(ctx_.get(), key, key_len, md, nullptr)) {
94 ByteSource key = ByteSource::FromSecretKeyBytes(env, args[1]);
95 hmac->HmacInit(*hash_type, key.data<char>(), key.size());
155 key(std::move(other.key)),
167 tracker->TrackField("key", key.get());
198 KeyObjectHandle* key;
199 ASSIGN_OR_RETURN_UNWRAP(&key, args[offset + 2], Nothing<bool>());
200 params->key = key->Data();
234 params.key->GetSymmetricKey(),
235 params.key->GetSymmetricKeySize(),