]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/evp/c_allm.c
Add poly1305 MAC support
[thirdparty/openssl.git] / crypto / evp / c_allm.c
CommitLineData
0145dd32
RL
1/*
2 * Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the OpenSSL license (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10#include <openssl/evp.h>
11#include "internal/evp_int.h"
12
13void openssl_add_all_macs_int(void)
14{
f71faf27
RL
15#ifndef OPENSSL_NO_CMAC
16 EVP_add_mac(&cmac_meth);
17#endif
afc580b9 18 EVP_add_mac(&gmac_meth);
6723f867 19 EVP_add_mac(&hmac_meth);
c89d9cda
RL
20#ifndef OPENSSL_NO_SIPHASH
21 EVP_add_mac(&siphash_meth);
22#endif
c1da4b2a
PY
23#ifndef OPENSSL_NO_POLY1305
24 EVP_add_mac(&poly1305_meth);
25#endif
0145dd32 26}