projects
/
platform
/
upstream
/
libsolv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.7.0
[platform/upstream/libsolv.git]
/
src
/
sha2.h
diff --git
a/src/sha2.h
b/src/sha2.h
index
220af32
..
5377360
100644
(file)
--- a/
src/sha2.h
+++ b/
src/sha2.h
@@
-51,12
+51,12
@@
* uintXX_t (from inttypes.h), you may need to define things by hand
* for your system:
*/
* uintXX_t (from inttypes.h), you may need to define things by hand
* for your system:
*/
-typedef struct _SHA256_CTX {
+typedef struct
s
_SHA256_CTX {
uint32_t state[8];
uint64_t bitcount;
uint32_t buffer[SHA256_BLOCK_LENGTH/4];
} SHA256_CTX;
uint32_t state[8];
uint64_t bitcount;
uint32_t buffer[SHA256_BLOCK_LENGTH/4];
} SHA256_CTX;
-typedef struct _SHA512_CTX {
+typedef struct
s
_SHA512_CTX {
uint64_t state[8];
uint64_t bitcount[2];
uint64_t buffer[SHA512_BLOCK_LENGTH/8];
uint64_t state[8];
uint64_t bitcount[2];
uint64_t buffer[SHA512_BLOCK_LENGTH/8];