Skip to content

Provide direct GMAC API #12153

@BrianSipos

Description

@BrianSipos

Although the behavior of GMAC, defined in NIST SP 800-38D, can be produced using existing cryptography hazmat primitives, it would be convenient to have a GMAC interface alongside CMAC and HMAC ones that follow the same API patterns. For an initial implementation only AES-GMAC would need to be usable and tested, as that is the most common use of GMAC.

OpenSSL also has a dedicated GMAC API which might have better performance than re-using existing Python-side AESGCM interface for GMAC. I don't have any evidence that either would be a better option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions