Public Member Functions | |
| def | __init__ (self, hash_alg, slot, iface_cfg) |
| def | sign (self, msg, _) |
| def | verify (self, msg, key, sig) |
Protected Attributes | |
| _cfg | |
| _slot | |
Extended Algorithm with hardware based HMAC support
| def cryptoauthlib.atjwt.HwHmacAlgorithm.sign | ( | self, | |
| msg, | |||
| _ | |||
| ) |
Return a signature of the JWT with hardware SHA256 HMAC and stored key
| def cryptoauthlib.atjwt.HwHmacAlgorithm.verify | ( | self, | |
| msg, | |||
| key, | |||
| sig | |||
| ) |
Verify a signature using the software HMAC module