43#define ST_MD5_NB_HASH_REG ((uint32_t)57) /*!< Number of HASH HW context Registers:
44 CR + STR + IMR + CSR[54] */
45
46/**
47 * \brief MD5 context structure
48 *
49 * STMicroelectronics edition
50 */
51typedefstruct mbedtls_md5_context {
52 HASH_HandleTypeDef hhash; /*!< Handle of HASH HAL */
53 uint8_t sbuf[ST_MD5_BLOCK_SIZE]; /*!< Buffer to store input data until ST_MD5_BLOCK_SIZE
54 is reached, or until last input data is reached */
55 uint8_t sbuf_len; /*!< Number of bytes stored in sbuf */
56 uint32_t ctx_save_regs[ST_MD5_NB_HASH_REG];
57 }
58 mbedtls_md5_context;
59
60
61#endif /* MBEDTLS_MD5_ALT */
62
63#endif /* MBEDTLS_MD5_ALT_H */
Important Information for this Arm website
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.