| 160 | } |
| 161 | |
| 162 | static void |
| 163 | ossl_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 | |
| 170 | static int |
| 171 | ossl_newsession(device_t dev, crypto_session_t cses, |
no test coverage detected