Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Meituan-Dianping/SQLAdvisor
/ HMAC_SHA
Method
HMAC_SHA
extra/yassl/src/crypto_wrapper.cpp:276–280 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
274
275
276
HMAC_SHA::HMAC_SHA(const byte* secret, unsigned int len)
277
: pimpl_(NEW_YS HMAC_SHAImpl)
278
{
279
pimpl_->mac_.SetKey(secret, len);
280
}
281
282
283
HMAC_SHA::~HMAC_SHA() { ysDelete(pimpl_); }
Callers
nothing calls this directly
Calls
1
SetKey
Method · 0.45
Tested by
no test coverage detected