Revert "arm: remove old sha1 implementaion"

This reverts commit e617c3aa6f43e75ca9663fe75bf7abfe31683244.