projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make things static that should be. Declare stuff in headers that should be.
[oweals/openssl.git]
/
crypto
/
idea
/
i_ecb.c
diff --git
a/crypto/idea/i_ecb.c
b/crypto/idea/i_ecb.c
index 5d5f8e032597e1ff0d8474663b6a1157e36b76f1..fb613db595c438b6df9b501d42393d17a77100e7 100644
(file)
--- a/
crypto/idea/i_ecb.c
+++ b/
crypto/idea/i_ecb.c
@@
-56,12
+56,13
@@
* [including the GNU Public Licence.]
*/
* [including the GNU Public Licence.]
*/
-#include
"idea.h"
+#include
<openssl/idea.h>
#include "idea_lcl.h"
#include "idea_lcl.h"
+#include <openssl/opensslv.h>
-c
har *IDEA_version="IDEA part of SSLeay 0.9.1a 06-Jul-1998"
;
+c
onst char *IDEA_version="IDEA" OPENSSL_VERSION_PTEXT
;
-c
har *idea_options(
)
+c
onst char *idea_options(void
)
{
if (sizeof(short) != sizeof(IDEA_INT))
return("idea(int)");
{
if (sizeof(short) != sizeof(IDEA_INT))
return("idea(int)");
@@
-69,10
+70,8
@@
char *idea_options()
return("idea(short)");
}
return("idea(short)");
}
-void idea_ecb_encrypt(in, out, ks)
-unsigned char *in;
-unsigned char *out;
-IDEA_KEY_SCHEDULE *ks;
+void idea_ecb_encrypt(const unsigned char *in, unsigned char *out,
+ IDEA_KEY_SCHEDULE *ks)
{
unsigned long l0,l1,d[2];
{
unsigned long l0,l1,d[2];