Revision db21872395a1a092faa85ef9c1ea53588d8414f0 authored by Brian Hetro on 24 August 2007, 00:40:08 UTC, committed by Junio C Hamano on 25 August 2007, 01:54:37 UTC
When not referring to the cvs command, CVS makes more sense.

Signed-off-by: Brian Hetro <whee@smaertness.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 9ec398d
Raw File
sha1.h
/*
 * SHA-1 implementation optimized for ARM
 *
 * Copyright:	(C) 2005 by Nicolas Pitre <nico@cam.org>
 * Created:	September 17, 2005
 */

#include <stdint.h>

typedef struct sha_context {
	uint64_t len;
	uint32_t hash[5];
	unsigned char buffer[64];
} SHA_CTX;

void SHA1_Init(SHA_CTX *c);
void SHA1_Update(SHA_CTX *c, const void *p, unsigned long n);
void SHA1_Final(unsigned char *hash, SHA_CTX *c);
back to top