mirror of
https://github.com/martravi/wiiqt6.git
synced 2024-12-26 04:41:51 +01:00
cc09d9e72f
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@37 389f4c8b-5dfe-645f-db0e-df882bc27289
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
|