mirror of
https://github.com/martravi/wiiqt.git
synced 2024-11-15 13:55:14 +01:00
12 lines
440 B
C
12 lines
440 B
C
|
#ifndef BN_H
|
||
|
#define BN_H
|
||
|
#include "includes.h"
|
||
|
|
||
|
int bn_compare(quint8 *a, quint8 *b, quint32 n);
|
||
|
void bn_sub_modulus(quint8 *a, quint8 *N, quint32 n);
|
||
|
void bn_add(quint8 *d, quint8 *a, quint8 *b, quint8 *N, quint32 n);
|
||
|
void bn_mul(quint8 *d, quint8 *a, quint8 *b, quint8 *N, quint32 n);
|
||
|
void bn_exp(quint8 *d, quint8 *a, quint8 *N, quint32 n, quint8 *e, quint32 en);
|
||
|
void bn_inv(quint8 *d, quint8 *a, quint8 *N, quint32 n);
|
||
|
#endif // BN_H
|