lib/crypto: remove unused sha1 and hmac-sha1 code