Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
fio
/
5c909c91a2f58848b485523920e2278f8d63ecd4
/
.
/
crc
/
sha256.h
blob: a3ca0e672e2da455b91801f13e908a1f18d9643a [
file
] [
log
] [
blame
]
#ifndef
FIO_SHA256_H
#define
FIO_SHA256_H
struct
sha256_ctx
{
uint32_t
count
[
2
];
uint32_t
state
[
8
];
uint8_t
*
buf
;
};
void
sha256_init
(
struct
sha256_ctx
*);
void
sha256_update
(
struct
sha256_ctx
*,
const
uint8_t
*,
unsigned
int
);
#endif