projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f38b53
)
crypto: stm32_hash: align stm32_hash_update() prototype
author
Yann Gautier
<yann.gautier@st.com>
Wed, 2 Oct 2019 14:33:41 +0000
(16:33 +0200)
committer
Yann Gautier
<yann.gautier@st.com>
Thu, 3 Oct 2019 09:17:15 +0000
(11:17 +0200)
Use size_t for length parameter in header file, as in .c file.
Change-Id: I310f2a6159cde1c069b4f814f6558c2488c203ec
Signed-off-by: Yann Gautier <yann.gautier@st.com>
include/drivers/st/stm32_hash.h
patch
|
blob
|
history
diff --git
a/include/drivers/st/stm32_hash.h
b/include/drivers/st/stm32_hash.h
index 969d7aa1346e1b5a98ebef37a3563aba1390dde3..df04730d6d60dbb7b46924c12ddab751aea99ae8 100644
(file)
--- a/
include/drivers/st/stm32_hash.h
+++ b/
include/drivers/st/stm32_hash.h
@@
-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);