]> git.proxmox.com Git - efi-boot-shim.git/blob - Cryptlib/OpenSSL/crypto/hmac/hmac_lcl.h
New upstream version 15+1533136590.3beb971
[efi-boot-shim.git] / Cryptlib / OpenSSL / crypto / hmac / hmac_lcl.h
1 /*
2 * Copyright 1995-2016 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 #ifndef HEADER_HMAC_LCL_H
11 # define HEADER_HMAC_LCL_H
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 #if 0 /* emacs indentation fix */
17 }
18 #endif
19
20 struct hmac_ctx_st {
21 const EVP_MD *md;
22 EVP_MD_CTX *md_ctx;
23 EVP_MD_CTX *i_ctx;
24 EVP_MD_CTX *o_ctx;
25 unsigned int key_length;
26 unsigned char key[HMAC_MAX_MD_CBLOCK];
27 };
28
29 #ifdef __cplusplus
30 } /* extern "C" */
31 #endif
32
33 #endif