diff options
author | jbj <devnull@localhost> | 2002-06-14 20:31:05 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-06-14 20:31:05 +0000 |
commit | 609f6ba9c8c281275fbe8948318050c172e46462 (patch) | |
tree | 5a42d4a61424da1a98b771d5987c8160205ac788 /beecrypt/mp32.h | |
parent | 243ff70d72f270941de5ac0122b8a72eb46a65f1 (diff) | |
download | librpm-tizen-609f6ba9c8c281275fbe8948318050c172e46462.tar.gz librpm-tizen-609f6ba9c8c281275fbe8948318050c172e46462.tar.bz2 librpm-tizen-609f6ba9c8c281275fbe8948318050c172e46462.zip |
First crack at merging beecrypt-2.3.0 changes.
CVS patchset: 5484
CVS date: 2002/06/14 20:31:05
Diffstat (limited to 'beecrypt/mp32.h')
-rw-r--r-- | beecrypt/mp32.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/beecrypt/mp32.h b/beecrypt/mp32.h index 1adb4b249..f9f47ae8c 100644 --- a/beecrypt/mp32.h +++ b/beecrypt/mp32.h @@ -48,9 +48,9 @@ void mp32copy(uint32 size, /*@out@*/ uint32* dst, const uint32* src) /*@modifies dst @*/; #ifndef ASM_MP32COPY #ifdef __LCLINT__ -#define mp32copy(size, dst, src) memmove(dst, src, ((unsigned)(size)) << 2) +# define mp32copy(size, dst, src) memmove(dst, src, ((unsigned)(size)) << 2) #else -#define mp32copy(size, dst, src) memcpy(dst, src, (size) << 2) +# define mp32copy(size, dst, src) memcpy(dst, src, (size) << 2) #endif #endif @@ -61,9 +61,9 @@ void mp32move(uint32 size, /*@out@*/ uint32* dst, const uint32* src) /*@modifies dst @*/; #ifndef ASM_MP32MOVE #ifdef __LCLINT__ -#define mp32move(size, dst, src) memmove(dst, src, ((unsigned)(size)) << 2) +# define mp32move(size, dst, src) memmove(dst, src, ((unsigned)(size)) << 2) #else -#define mp32move(size, dst, src) memmove(dst, src, (size) << 2) +# define mp32move(size, dst, src) memmove(dst, src, (size) << 2) #endif #endif @@ -354,6 +354,12 @@ void mp32rshift(uint32 xsize, uint32* xdata, uint32 count) /** */ BEECRYPTAPI +uint32 mp32rshiftlsz(uint32 xsize, uint32* xdata) + /*@modifies xdata @*/; + +/** + */ +BEECRYPTAPI uint32 mp32norm(uint32 xsize, uint32* xdata) /*@modifies xdata @*/; |