MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ossl_setkey_hmac

Function ossl_setkey_hmac

freebsd/crypto/openssl/ossl.c:162–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162static void
163ossl_setkey_hmac(struct ossl_session *s, const void *key, int klen)
164{
165
166 hmac_init_ipad(s->hash.axf, key, klen, &s->hash.ictx);
167 hmac_init_opad(s->hash.axf, key, klen, &s->hash.octx);
168}
169
170static int
171ossl_newsession(device_t dev, crypto_session_t cses,

Callers 2

ossl_newsessionFunction · 0.85
ossl_processFunction · 0.85

Calls 2

hmac_init_ipadFunction · 0.85
hmac_init_opadFunction · 0.85

Tested by

no test coverage detected