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 endfor
func rotatekey(K, B) func rotatekey(K, B)
[rotate K[32] array elementy 1 to the right] PREV = K[31]
for N in 0..16: for N in 0..31
K[N] = KBOX[K[N] xor B] NEXT = K[N]
endfor K[N] = PREV
endfunc PREV = NEXT
K[N] = KBOX[K[N] xor B]
done
endfunc
where: where: