1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-12 10:58:59 +00:00
trezor-firmware/extmod/modtrezorcrypto/ssss.h

11 lines
248 B
C
Raw Normal View History

2016-05-31 14:24:43 +00:00
#ifndef __SSSS_H__
#define __SSSS_H__
#include <stdbool.h>
2016-06-06 07:51:28 +00:00
#include "trezor-crypto/bignum.h"
2016-05-31 14:24:43 +00:00
bool ssss_split(const bignum256 *secret, int m, int n, bignum256 *shares);
bool ssss_combine(const bignum256 *shares, int n, bignum256 *secret);
#endif