MCPcopy Create free account
hub / github.com/AGWA/git-crypt / Hmac_sha1_state

Method Hmac_sha1_state

crypto-openssl-11.cpp:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77};
78
79Hmac_sha1_state::Hmac_sha1_state (const unsigned char* key, size_t key_len)
80: impl(new Hmac_impl)
81{
82
83 impl->ctx = HMAC_CTX_new();
84 HMAC_Init_ex(impl->ctx, key, key_len, EVP_sha1(), nullptr);
85}
86
87Hmac_sha1_state::~Hmac_sha1_state ()
88{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected