rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
link_sha256.h
Go to the documentation of this file.
1
16#ifndef RCBENCH_LINK_SHA256_H
17#define RCBENCH_LINK_SHA256_H
18
19#include <stddef.h>
20#include <stdint.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
27#define LINK_SHA256_BYTES 32u
28
32typedef struct {
33 uint32_t h[8];
34 uint64_t length;
35 uint8_t block[64];
37
44
52void link_sha256_update(link_sha256_t *s, const void *data, size_t len);
53
61
69void link_sha256(const void *data, size_t len, uint8_t out[LINK_SHA256_BYTES]);
70
71#ifdef __cplusplus
72}
73#endif
74
75#endif /* RCBENCH_LINK_SHA256_H */
#define s
Short name for esc_stick_s inside the five stick-class files.
Definition esc_stick_panel_int.h:295