Revert "arm: remove old sha1 implementaion"

This reverts commit 9a0441a48d128231d5e778381438d94b75354e23.