Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/cryptography/hazmat/primitives/hmac.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-06-07 06:35 +0000

1# This file is dual licensed under the terms of the Apache License, Version 

2# 2.0, and the BSD License. See the LICENSE file in the root of this repository 

3# for complete details. 

4 

5from __future__ import annotations 

6 

7from cryptography.hazmat.bindings._rust import openssl as rust_openssl 

8from cryptography.hazmat.primitives import hashes 

9 

10__all__ = ["HMAC"] 

11 

12HMAC = rust_openssl.hmac.HMAC 

13hashes.HashContext.register(HMAC)