cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Functions
bn_mul.c File Reference
#include <stdio.h>
#include <assert.h>
#include "bn/bn_lcl.h"

Go to the source code of this file.

Functions

BN_ULONG bn_sub_part_words (BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int cl, int dl)
 
BN_ULONG bn_add_part_words (BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int cl, int dl)
 
int BN_mul (BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
 
void bn_mul_normal (BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb)
 
void bn_mul_low_normal (BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n)
 

Function Documentation

BN_ULONG bn_add_part_words ( BN_ULONG r,
const BN_ULONG a,
const BN_ULONG b,
int  cl,
int  dl 
)

Definition at line 212 of file bn_mul.c.

int BN_mul ( BIGNUM r,
const BIGNUM a,
const BIGNUM b,
BN_CTX ctx 
)

Definition at line 952 of file bn_mul.c.

void bn_mul_low_normal ( BN_ULONG r,
BN_ULONG a,
BN_ULONG b,
int  n 
)

Definition at line 1156 of file bn_mul.c.

void bn_mul_normal ( BN_ULONG r,
BN_ULONG a,
int  na,
BN_ULONG b,
int  nb 
)

Definition at line 1114 of file bn_mul.c.

BN_ULONG bn_sub_part_words ( BN_ULONG r,
const BN_ULONG a,
const BN_ULONG b,
int  cl,
int  dl 
)

Definition at line 85 of file bn_mul.c.