mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-17 03:48:09 +00:00
11 lines
234 B
C
11 lines
234 B
C
|
#ifndef __SSSS_H__
|
||
|
#define __SSSS_H__
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
#include "bignum.h"
|
||
|
|
||
|
bool ssss_split(const bignum256 *secret, int m, int n, bignum256 *shares);
|
||
|
bool ssss_combine(const bignum256 *shares, int n, bignum256 *secret);
|
||
|
|
||
|
#endif
|