]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Minor changes..
authorNiels Möller <nisse@lysator.liu.se>
Tue, 14 May 2002 18:07:02 +0000 (20:07 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Tue, 14 May 2002 18:07:02 +0000 (20:07 +0200)
Rev: src/nettle/x86/aes-encrypt.asm:1.9

x86/aes-encrypt.asm

index 189060caeb97c9100c73b95d06113f151dec280e..ee1e2fdc415ecbadc610056e907452419f465cfc 100644 (file)
@@ -51,7 +51,7 @@ aes_encrypt:
 
        movl    24(%esp), %ebp
        C What's the right way to set the flags?
-       addl    $0, %ebp
+       cmpl    $0, %ebp
        jz      .Lencrypt_end
        
 .Lencrypt_block_loop:
@@ -61,8 +61,8 @@ aes_encrypt:
        addl    $16, 32(%esp)   C Increment src pointer
                
        C FIXME:        Use %esi instead
-       movl    20(%esp),%ebp   C  address of context struct
-       movl    AES_NROUNDS (%ebp),%ebp C  get number of rounds to do from struct
+       C movl  20(%esp),%ebp   C  address of context struct
+       movl    AES_NROUNDS (%esi),%ebp C  get number of rounds to do from struct
 
        subl    $1,%ebp
        addl    $16,%esi        C  point to next key