Embedded SDK
Embedded SDK
base58.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <stddef.h> // size_t
4 #include <stdint.h> // uint*_t
5 #include <stdbool.h> // bool
6 
10 #define MAX_DEC_INPUT_SIZE 164
14 #define MAX_ENC_INPUT_SIZE 120
15 
33 int base58_decode(const char *in, size_t in_len, uint8_t *out, size_t out_len);
34 
52 int base58_encode(const uint8_t *in, size_t in_len, char *out, size_t out_len);
int base58_encode(const uint8_t *in, size_t in_len, char *out, size_t out_len)
Definition: base58.c:108
int base58_decode(const char *in, size_t in_len, uint8_t *out, size_t out_len)
Definition: base58.c:45
unsigned char uint8_t
Definition: usbd_conf.h:53