1/*
2 * Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (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/* Constants */
11#define BLAKE2_CTX BLAKE2B_CTX
12#define BLAKE2_PARAM BLAKE2B_PARAM
13#define BLAKE2_KEYBYTES BLAKE2B_KEYBYTES
14#define BLAKE2_OUTBYTES BLAKE2B_OUTBYTES
15#define BLAKE2_PERSONALBYTES BLAKE2B_PERSONALBYTES
16#define BLAKE2_SALTBYTES BLAKE2B_SALTBYTES
17
18/* Function names */
19#define BLAKE2_PARAM_INIT blake2b_param_init
20#define BLAKE2_INIT_KEY blake2b_init_key
21#define BLAKE2_UPDATE blake2b_update
22#define BLAKE2_FINAL blake2b_final
23#define BLAKE2_PARAM_SET_DIGEST_LENGTH blake2b_param_set_digest_length
24#define BLAKE2_PARAM_SET_KEY_LENGTH blake2b_param_set_key_length
25#define BLAKE2_PARAM_SET_PERSONAL blake2b_param_set_personal
26#define BLAKE2_PARAM_SET_SALT blake2b_param_set_salt
27
28/* OSSL_DISPATCH symbol */
29#define BLAKE2_FUNCTIONS blake2bmac_functions
30
31#include "blake2_mac_impl.c"
32
33