EVP constification.
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
#define S6 CAST_S_table6
|
||||
#define S7 CAST_S_table7
|
||||
|
||||
void CAST_set_key(CAST_KEY *key, int len, unsigned char *data)
|
||||
void CAST_set_key(CAST_KEY *key, int len, const unsigned char *data)
|
||||
{
|
||||
CAST_LONG x[16];
|
||||
CAST_LONG z[16];
|
||||
|
@@ -82,7 +82,7 @@ typedef struct cast_key_st
|
||||
} CAST_KEY;
|
||||
|
||||
|
||||
void CAST_set_key(CAST_KEY *key, int len, unsigned char *data);
|
||||
void CAST_set_key(CAST_KEY *key, int len, const unsigned char *data);
|
||||
void CAST_ecb_encrypt(const unsigned char *in,unsigned char *out,CAST_KEY *key,
|
||||
int enc);
|
||||
void CAST_encrypt(CAST_LONG *data,CAST_KEY *key);
|
||||
|
Reference in New Issue
Block a user