MCPcopy Create free account
hub / github.com/diasurgical/devilution / SHA1Calculate

Function SHA1Calculate

Source/sha.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void SHA1Calculate(int n, const char *data, char Message_Digest[SHA1HashSize])
50{
51 SHA1Input(&sgSHA1[n], data, 64);
52 if (Message_Digest)
53 SHA1Result(n, Message_Digest);
54}
55
56void SHA1Input(SHA1Context *context, const char *message_array, int len)
57{

Callers 3

codec_decodeFunction · 0.85
codec_init_keyFunction · 0.85
codec_encodeFunction · 0.85

Calls 2

SHA1InputFunction · 0.85
SHA1ResultFunction · 0.85

Tested by

no test coverage detected