[go: up one dir, main page]

File: sha.h

package info (click to toggle)
seabios 1.16.3-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,400 kB
  • sloc: ansic: 55,254; cpp: 1,826; asm: 904; python: 821; yacc: 604; makefile: 517; perl: 416; lex: 363; sh: 287
file content (11 lines) | stat: -rw-r--r-- 279 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
#ifndef __SHA_H
#define __SHA_H

#include "types.h" // u32

void sha1(const u8 *data, u32 length, u8 *hash);
void sha256(const u8 *data, u32 length, u8 *hash);
void sha384(const u8 *data, u32 length, u8 *hash);
void sha512(const u8 *data, u32 length, u8 *hash);

#endif // sha.h