| 170 | } |
| 171 | |
| 172 | HmacSha256StreamCipher::HmacSha256StreamCipher() : cipher(EVP_MAX_KEY_LENGTH) { |
| 173 | HMAC_Init_ex(cipher.getHmacCtx(), NULL, 0, EVP_sha256(), nullptr); |
| 174 | } |
| 175 | |
| 176 | StringRef HmacSha256StreamCipher::digest(unsigned char const* data, int len, Arena& arena) { |
| 177 | CODE_PROBE(true, "Digest using StreamCipher"); |
nothing calls this directly
no test coverage detected