11cb0ef41Sopenharmony_ci/* 21cb0ef41Sopenharmony_ci * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 31cb0ef41Sopenharmony_ci * 41cb0ef41Sopenharmony_ci * Licensed under the Apache License 2.0 (the "License"). You may not use 51cb0ef41Sopenharmony_ci * this file except in compliance with the License. You can obtain a copy 61cb0ef41Sopenharmony_ci * in the file LICENSE in the source distribution or at 71cb0ef41Sopenharmony_ci * https://www.openssl.org/source/license.html 81cb0ef41Sopenharmony_ci */ 91cb0ef41Sopenharmony_ci 101cb0ef41Sopenharmony_ci#ifndef OSSL_CRYPTO_HMAC_LOCAL_H 111cb0ef41Sopenharmony_ci# define OSSL_CRYPTO_HMAC_LOCAL_H 121cb0ef41Sopenharmony_ci 131cb0ef41Sopenharmony_ci/* The current largest case is for SHA3-224 */ 141cb0ef41Sopenharmony_ci#define HMAC_MAX_MD_CBLOCK_SIZE 144 151cb0ef41Sopenharmony_ci 161cb0ef41Sopenharmony_cistruct hmac_ctx_st { 171cb0ef41Sopenharmony_ci const EVP_MD *md; 181cb0ef41Sopenharmony_ci EVP_MD_CTX *md_ctx; 191cb0ef41Sopenharmony_ci EVP_MD_CTX *i_ctx; 201cb0ef41Sopenharmony_ci EVP_MD_CTX *o_ctx; 211cb0ef41Sopenharmony_ci}; 221cb0ef41Sopenharmony_ci 231cb0ef41Sopenharmony_ci#endif 24