#include <stdio.h>
#include <assert.h>
#include "cryptlib.h"
#include "bn_lcl.h"
Go to the source code of this file.
|
BN_ULONG | bn_mul_add_words (BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w) |
|
BN_ULONG | bn_mul_words (BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w) |
|
void | bn_sqr_words (BN_ULONG *r, const BN_ULONG *a, int n) |
|
BN_ULONG | bn_div_words (BN_ULONG h, BN_ULONG l, BN_ULONG d) |
|
BN_ULONG | bn_add_words (BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int n) |
|
BN_ULONG | bn_sub_words (BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int n) |
|
void | bn_sqr_comba4 (BN_ULONG *r, const BN_ULONG *a) |
|
void | bn_sqr_comba8 (BN_ULONG *r, const BN_ULONG *a) |
|
void | bn_mul_comba4 (BN_ULONG *r, BN_ULONG *a, BN_ULONG *b) |
|
void | bn_mul_comba8 (BN_ULONG *r, BN_ULONG *a, BN_ULONG *b) |
|
BN_ULONG bn_add_words |
( |
BN_ULONG * |
r, |
|
|
const BN_ULONG * |
a, |
|
|
const BN_ULONG * |
b, |
|
|
int |
n |
|
) |
| |
BN_ULONG bn_div_words |
( |
BN_ULONG |
h, |
|
|
BN_ULONG |
l, |
|
|
BN_ULONG |
d |
|
) |
| |
BN_ULONG bn_mul_add_words |
( |
BN_ULONG * |
rp, |
|
|
const BN_ULONG * |
ap, |
|
|
int |
num, |
|
|
BN_ULONG |
w |
|
) |
| |
void bn_mul_comba4 |
( |
BN_ULONG * |
r, |
|
|
BN_ULONG * |
a, |
|
|
BN_ULONG * |
b |
|
) |
| |
void bn_mul_comba8 |
( |
BN_ULONG * |
r, |
|
|
BN_ULONG * |
a, |
|
|
BN_ULONG * |
b |
|
) |
| |
BN_ULONG bn_mul_words |
( |
BN_ULONG * |
rp, |
|
|
const BN_ULONG * |
ap, |
|
|
int |
num, |
|
|
BN_ULONG |
w |
|
) |
| |
void bn_sqr_comba4 |
( |
BN_ULONG * |
r, |
|
|
const BN_ULONG * |
a |
|
) |
| |
void bn_sqr_comba8 |
( |
BN_ULONG * |
r, |
|
|
const BN_ULONG * |
a |
|
) |
| |
void bn_sqr_words |
( |
BN_ULONG * |
r, |
|
|
const BN_ULONG * |
a, |
|
|
int |
n |
|
) |
| |
BN_ULONG bn_sub_words |
( |
BN_ULONG * |
r, |
|
|
const BN_ULONG * |
a, |
|
|
const BN_ULONG * |
b, |
|
|
int |
n |
|
) |
| |