1/*2* SHA-1 implementation optimized for ARM3*4* Copyright: (C) 2005 by Nicolas Pitre <nico@cam.org>5* Created: September 17, 20056*/78#include <stdint.h>910typedef struct sha_context {11uint64_t len;12uint32_t hash[5];13unsigned char buffer[64];14} SHA_CTX;1516void SHA1_Init(SHA_CTX *c);17void SHA1_Update(SHA_CTX *c, const void *p, unsigned long n);18void SHA1_Final(unsigned char *hash, SHA_CTX *c);