mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-07 12:33:39 +08:00
Fixed aes prototype
This commit is contained in:
@@ -629,7 +629,7 @@ static const u32 rcon[] = {
|
|||||||
/**
|
/**
|
||||||
* Expand the cipher key into the encryption key schedule.
|
* Expand the cipher key into the encryption key schedule.
|
||||||
*/
|
*/
|
||||||
int AES_set_encrypt_key(const unsigned char *userKey, int bits,
|
int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
|
||||||
AES_KEY *key)
|
AES_KEY *key)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ typedef struct aes_key_st AES_KEY;
|
|||||||
|
|
||||||
const char *AES_options(void);
|
const char *AES_options(void);
|
||||||
|
|
||||||
int AES_set_encrypt_key(const unsigned char *userKey, const unsigned int bits,
|
int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
|
||||||
AES_KEY *key);
|
AES_KEY *key);
|
||||||
int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
|
int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
|
||||||
AES_KEY *key);
|
AES_KEY *key);
|
||||||
|
|||||||
Reference in New Issue
Block a user