Commit 19e2af79 authored by Yann Gautier's avatar Yann Gautier
Browse files

crypto: stm32_hash: align stm32_hash_update() prototype



Use size_t for length parameter in header file, as in .c file.

Change-Id: I310f2a6159cde1c069b4f814f6558c2488c203ec
Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
parent 5f38b536
......@@ -14,7 +14,7 @@ enum stm32_hash_algo_mode {
HASH_SHA256
};
int stm32_hash_update(const uint8_t *buffer, uint32_t length);
int stm32_hash_update(const uint8_t *buffer, size_t length);
int stm32_hash_final(uint8_t *digest);
int stm32_hash_final_update(const uint8_t *buffer, uint32_t buf_length,
uint8_t *digest);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment