42#define ST_SHA1_NB_HASH_REG ((uint32_t)57) /*!< Number of HASH HW context Registers:
43 CR + STR + IMR + CSR[54] */
44
45/**
46 * \brief SHA-1 context structure
47 */
48typedefstruct mbedtls_sha1_context {
49 HASH_HandleTypeDef hhash; /*!< Handle of HASH HAL */
50 uint8_t sbuf[ST_SHA1_BLOCK_SIZE]; /*!< Buffer to store input data until ST_SHA1_BLOCK_SIZE
51 is reached, or until last input data is reached */
52 uint8_t sbuf_len; /*!< Number of bytes stored in sbuf */
53 uint32_t ctx_save_regs[ST_SHA1_NB_HASH_REG];
54 }
55 mbedtls_sha1_context;
56
57
58#endif /* MBEDTLS_SHA1_ALT */
59
60#endif /* MBEDTLS_SHA1_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.