diff options
author | Andy Polyakov <appro@openssl.org> | 2009-05-02 11:00:07 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2009-05-02 11:00:07 +0000 |
commit | 0fe4621e193299577aff667a108a7fa566675d29 (patch) | |
tree | 5421b2da254d53f4d1f16b0a6fd81a5203a8a72f /crypto/engine | |
parent | c5036d785a06592051ce1176d959bb072b0759e8 (diff) |
eng_aesni.c: fix assembler declarations.
Diffstat (limited to 'crypto/engine')
-rw-r--r-- | crypto/engine/eng_aesni.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/engine/eng_aesni.c b/crypto/engine/eng_aesni.c index 5491063811..2d7f6f3ecc 100644 --- a/crypto/engine/eng_aesni.c +++ b/crypto/engine/eng_aesni.c @@ -114,9 +114,9 @@ void ENGINE_load_aesni (void) } #ifdef COMPILE_HW_AESNI -int aesni_set_encrypt_key(const unsigned char *userKey, const int bits, +int aesni_set_encrypt_key(const unsigned char *userKey, int bits, AES_KEY *key); -int aesni_set_decrypt_key(const unsigned char *userKey, const int bits, +int aesni_set_decrypt_key(const unsigned char *userKey, int bits, AES_KEY *key); void aesni_encrypt(const unsigned char *in, unsigned char *out, @@ -126,14 +126,14 @@ void aesni_decrypt(const unsigned char *in, unsigned char *out, void aesni_ecb_encrypt(const unsigned char *in, unsigned char *out, - const unsigned long length, + size_t length, const AES_KEY *key, - const int enc); + int enc); void aesni_cbc_encrypt(const unsigned char *in, unsigned char *out, - const unsigned long length, + size_t length, const AES_KEY *key, - unsigned char *ivec, const int enc); + unsigned char *ivec, int enc); /* Function for ENGINE detection and control */ static int aesni_init(ENGINE *e); |