fix pseudo rotateky() descr

This commit is contained in:
TLINDEN
2015-09-02 06:28:18 +02:00
parent 41d280cc3e
commit bfe64ce5d0

View File

@@ -98,12 +98,14 @@ where:
endfor
func rotatekey(K, B)
[rotate K[32] array elementy 1 to the right]
for N in 0..16:
K[N] = KBOX[K[N] xor B]
endfor
endfunc
PREV = K[31]
for N in 0..31
NEXT = K[N]
K[N] = PREV
PREV = NEXT
K[N] = KBOX[K[N] xor B]
done
endfunc
where: