• Manuel Pégourié-Gonnard's avatar
    chachapoly: split crypt_and_mac() to match GCM API · 346b8d50
    Manuel Pégourié-Gonnard authored
    In addition to making the APIs of the various AEAD modules more consistent
    with each other, it's useful to have an auth_decrypt() function so that we can
    safely check the tag ourselves, as the user might otherwise do it in an
    insecure way (or even forget to do it altogether).
    346b8d50