2 * Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
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
11 #include <openssl/crypto.h>
12 #include "internal/refcount.h"
13 #include "prov/provider_util.h"
18 CRYPTO_REF_COUNT refcnt;
19 unsigned char *priv_key;
26 typedef struct mac_key_st MAC_KEY;
28 MAC_KEY *mac_key_new(OSSL_LIB_CTX *libctx, int cmac);
29 void mac_key_free(MAC_KEY *mackey);
30 int mac_key_up_ref(MAC_KEY *mackey);