From: Mark Wooding Date: Thu, 26 May 2016 08:26:09 +0000 (+0100) Subject: symm/rijndael-arm-crypto.S (rijndael_setup_arm_crypto): Fix missing label. X-Git-Tag: 2.2.5~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb/commitdiff_plain/aec6bc361776db9a4a8e176e92ed2e45a699201b?ds=sidebyside symm/rijndael-arm-crypto.S (rijndael_setup_arm_crypto): Fix missing label. The loop which copies the initial key data from a misaligned address ends with a branch to the next label 9 which, due to an oversight on my part, skipped out the setup for the main loop. Introduce an extra label 9 to fix this. --- diff --git a/symm/rijndael-arm-crypto.S b/symm/rijndael-arm-crypto.S index 29c7aaa5..d5127efd 100644 --- a/symm/rijndael-arm-crypto.S +++ b/symm/rijndael-arm-crypto.S @@ -100,7 +100,7 @@ FUNC(rijndael_setup_arm_crypto) bhi 1b // Find out other useful things and prepare for the main loop. - ldr r7, [r0, #nr] // number of rounds +9: ldr r7, [r0, #nr] // number of rounds mla r2, r1, r7, r1 // total key size in words ldr r4, [r9, #-4] // most recent key word leaextq r5, rijndael_rcon // round constants