]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
New asm directory arm/v6. Moved aes functions using the uxtb instruction there.
authorNiels Möller <nisse@lysator.liu.se>
Wed, 15 May 2013 11:44:09 +0000 (13:44 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Wed, 15 May 2013 11:44:09 +0000 (13:44 +0200)
ChangeLog
arm/v6/aes-decrypt-internal.asm [moved from arm/aes-decrypt-internal.asm with 100% similarity]
arm/v6/aes-encrypt-internal.asm [moved from arm/aes-encrypt-internal.asm with 100% similarity]
configure.ac

index e0b32058780f6cf3df4954a91d0504d015fc6e59..6bcf524a8aa601cb1db0f0aaa4bd136c09153e85 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2013-05-15  Niels Möller  <nisse@lysator.liu.se>
+
+       * configure.ac (asm_path): Handle armv6 and armv7 differently from
+       older ARMs. Add the arm/v6 directory to asm_path when appropriate.
+
+       * arm/v6/aes-encrypt-internal.asm: Moved into v6 directory. Uses
+       the uxtb instruction which is not available for older ARMs.
+       * arm/v6/aes-decrypt-internal.asm: Likewise.
+
 2013-05-03  Niels Möller  <nisse@lysator.liu.se>
 
        * cast128.c: Adapt to new struct cast128_ctx.
index a4109276ac93fd8fb67b961dde83fd90b6379009..3dd3a990adee0a2c0ac64ff9f83ab658f7eb2d5b 100644 (file)
@@ -237,14 +237,18 @@ if test "x$enable_assembler" = xyes ; then
        asm_path=sparc32
       fi
       ;;
-    arm*)
+    armv6* | armv7*)
       NETTLE_CHECK_ARM_NEON
 
-      asm_path=arm
+      asm_path="arm/v6 arm"
+      
       if test "x$enable_arm_neon" = xyes ; then
        asm_path="arm/neon $asm_path"
       fi
       ;;
+    arm*)
+      asm_path=arm
+      ;;
     *)
       enable_assembler=no
       ;;