Fix decryption function size in AES AMD64 assembly
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Thu, 7 Nov 2013 10:33:59 +0000 (12:33 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Thu, 7 Nov 2013 10:33:59 +0000 (12:33 +0200)
* cipher/rijndael-amd64.S (_gcry_aes_amd64_decrypt_block): Set '.size'
for '_gcry_aes_amd64_decrypt_block', not '..._encrypt_block'.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/rijndael-amd64.S

index 3b96889..35a9d26 100644 (file)
@@ -355,7 +355,7 @@ _gcry_aes_amd64_decrypt_block:
        decround(9);
 
        jmp .Ldec_tail;
-.size _gcry_aes_amd64_encrypt_block,.-_gcry_aes_amd64_encrypt_block;
+.size _gcry_aes_amd64_decrypt_block,.-_gcry_aes_amd64_decrypt_block;
 
 .data
 .align 16