diff options
author | John Baldwin <jhb@FreeBSD.org> | 2020-11-03 22:27:54 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2020-11-03 22:27:54 +0000 |
commit | d3d79e968b67cc9a9855f9a29cf72763dec3578d (patch) | |
tree | 147b191c36e22e7964169780fb327d58b285233f /sys/opencrypto/rmd160.h | |
parent | 321b3540eb1afc2617b5ee3eb89ed98e02d2f311 (diff) | |
download | src-d3d79e968b67cc9a9855f9a29cf72763dec3578d.tar.gz src-d3d79e968b67cc9a9855f9a29cf72763dec3578d.zip |
Consistently use C99 fixed-width types in the in-kernel crypto code.
Reviewed by: markj
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D27061
Notes
Notes:
svn path=/head/; revision=367309
Diffstat (limited to 'sys/opencrypto/rmd160.h')
-rw-r--r-- | sys/opencrypto/rmd160.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/opencrypto/rmd160.h b/sys/opencrypto/rmd160.h index 60dce64251ca..2fa81e0fa846 100644 --- a/sys/opencrypto/rmd160.h +++ b/sys/opencrypto/rmd160.h @@ -28,14 +28,14 @@ /* RMD160 context. */ typedef struct RMD160Context { - u_int32_t state[5]; /* state */ - u_int64_t count; /* number of bits, modulo 2^64 */ + uint32_t state[5]; /* state */ + uint64_t count; /* number of bits, modulo 2^64 */ u_char buffer[64]; /* input buffer */ } RMD160_CTX; void RMD160Init(RMD160_CTX *); -void RMD160Transform(u_int32_t [5], const u_char [64]); -void RMD160Update(RMD160_CTX *, const u_char *, u_int32_t); +void RMD160Transform(uint32_t [5], const u_char [64]); +void RMD160Update(RMD160_CTX *, const u_char *, uint32_t); void RMD160Final(u_char [20], RMD160_CTX *); #endif /* _RMD160_H */ |