cmll-x86_64.pl: small buglet in CBC subroutine.
authorAndy Polyakov <appro@openssl.org>
Thu, 17 Sep 2009 19:35:13 +0000 (19:35 +0000)
committerAndy Polyakov <appro@openssl.org>
Thu, 17 Sep 2009 19:35:13 +0000 (19:35 +0000)
PR: 2035

crypto/camellia/asm/cmll-x86_64.pl

index d0d6ca3..76955e4 100644 (file)
@@ -656,7 +656,7 @@ Camellia_cbc_encrypt:
        mov     %rsi,$out               # out argument
        mov     %r8,%rbx                # ivp argument
        mov     %rcx,$key               # key argument
-       mov     272(%rcx),$keyend       # grandRounds
+       mov     272(%rcx),${keyend}d    # grandRounds
 
        mov     %r8,$_ivp
        mov     %rbp,$_rsp