31#ifndef MBEDTLS_MD5_ALT_H
32#define MBEDTLS_MD5_ALT_H
34#if defined (MBEDTLS_MD5_ALT)
36#include "hash_stm32.h"
38#ifndef MBEDTLS_ERR_MD5_BAD_INPUT_DATA
39#define MBEDTLS_ERR_MD5_BAD_INPUT_DATA -0x00AF
42#define ST_MD5_BLOCK_SIZE ((size_t) 64)
43#define ST_MD5_NB_HASH_REG ((uint32_t)57)
52 HASH_HandleTypeDef hhash;
53 uint8_t sbuf[ST_MD5_BLOCK_SIZE];
56 uint32_t ctx_save_regs[ST_MD5_NB_HASH_REG];