First board lands. wadamesh builds the LVGL touch firmware as its own project, consuming the MeshCore core via lib_deps @ git tag (ALLFATHER-BV/MeshCore #v1.16.0-wada.0) — no vendored core in this repo. Output is byte-identical to the in-tree meshcomod build (delta = embedded build-path strings only). Contents: companion_radio app (MyMesh/main/DataStore), ui-touch LVGL UI, variants/heltec_v4 board glue, boards/heltec_v4.json, lv_conf, the bundled ed25519 lib, AsyncElegantOTA, partition table, and a flattened platformio.ini for env heltec_v4_tft_companion_radio_usb_tcp_touch. MeshCore-derived files (app glue) remain MIT; ui-touch is GPL — see NOTICE. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Kaj Schittecat <kaj@schittecat.com>
22 lines
489 B
C
22 lines
489 B
C
#ifndef SHA512_H
|
|
#define SHA512_H
|
|
|
|
#include <stddef.h>
|
|
|
|
#include "fixedint.h"
|
|
|
|
/* state */
|
|
typedef struct sha512_context_ {
|
|
uint64_t length, state[8];
|
|
size_t curlen;
|
|
unsigned char buf[128];
|
|
} sha512_context;
|
|
|
|
|
|
int sha512_init(sha512_context * md);
|
|
int sha512_final(sha512_context * md, unsigned char *out);
|
|
int sha512_update(sha512_context * md, const unsigned char *in, size_t inlen);
|
|
int sha512(const unsigned char *message, size_t message_len, unsigned char *out);
|
|
|
|
#endif
|