/*!
 * @file        user_sha256_config.h
 *
 * @brief       SHA256 configurations
 *
 * @version     V1.0.0
 *
 * @date        2026-03-25
 *
 * @attention
 *
 *  Copyright (C) 2026 Geehy Semiconductor
 *
 *  You may not use this file except in compliance with the
 *  GEEHY COPYRIGHT NOTICE (Geehy Semiconductor Software License Agreement).
 *
 *  The program is only for reference, which is distributed in the hope
 *  that it will be useful and instructional for customers to develop
 *  their software. Unless required by applicable law or agreed to in
 *  writing, the program is distributed on an "AS IS" BASIS, WITHOUT
 *  ANY WARRANTY OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the Geehy Semiconductor Software License Agreement for the governing permissions
 *  and limitations under the License.
 */

#ifndef USER_SHA256_CONFIG_H
#define USER_SHA256_CONFIG_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes */
#include "g32a10xx_sha256.h"

/** @addtogroup Examples
  @{
*/

/** @addtogroup SHA256_Examples
  @{
*/

/** @addtogroup HASH_SHA2
  @{
*/

/** @defgroup HASH_SHA2_INT_Variables INT_Variables
  @{
*/

extern uint8_t SHA256_OUTPUT[32];
extern const uint8_t SHA256_PAD_INIT_MODE_INPUT[57];
extern const uint8_t SHA256_PAD_NONEINIT_MODE_INPUT[4];
extern const uint8_t SHA256_NONEPAD_INIT_MODE_INPUT[65];
extern const uint8_t SHA256_NONEPAD_NONEINIT_MODE_INPUT[65];
extern const uint32_t SHA256_PAD_NONEINIT_MODE_IV[8];
extern const uint32_t SHA256_NONEPAD_NONEINIT_MODE_IV[8];
extern const uint8_t SHA256_PAD_INIT_MODE_OUTPUT[32];
extern const uint8_t SHA256_PAD_NONEINIT_MODE_OUTPUT[32];
extern const uint8_t SHA256_NONEPAD_INIT_MODE_OUTPUT[32];
extern const uint8_t SHA256_NONEPAD_NONEINIT_MODE_OUTPUT[32];
/* SHA256 user configuration */
extern Sha256_InitType g_sha256PadInitModeConfig;
extern Sha256_InitType g_sha256PadNoneInitModeConfig;
extern Sha256_InitType g_sha256NonePadInitModeConfig;
extern Sha256_InitType g_sha256NonePadNoneInitModeConfig;

#ifdef __cplusplus
}
#endif

#endif /* USER_SHA256_CONFIG_H */

/**@} end of group HASH_SHA2_INT_Variables */
/**@} end of group HASH_SHA2 */
/**@} end of group SHA256_Examples */
/**@} end of group Examples */
