webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Functions
internal.h File Reference
#include <openssl/base.h>
#include "../internal.h"

Go to the source code of this file.

Macros

#define STATIC_BIGNUM(x)
 

Functions

BIGNUMbn_expand (BIGNUM *bn, size_t bits)
 
int bn_set_words (BIGNUM *bn, const BN_ULONG *words, size_t num)
 
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 *rp, const BN_ULONG *ap, int num)
 
BN_ULONG bn_add_words (BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, int num)
 
BN_ULONG bn_sub_words (BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, int num)
 
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)
 
void bn_sqr_comba8 (BN_ULONG *r, const BN_ULONG *a)
 
void bn_sqr_comba4 (BN_ULONG *r, const BN_ULONG *a)
 
int bn_cmp_words (const BN_ULONG *a, const BN_ULONG *b, int n)
 
int bn_cmp_part_words (const BN_ULONG *a, const BN_ULONG *b, int cl, int dl)
 
int bn_mul_mont (BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np, const BN_ULONG *n0, int num)
 
uint64_t bn_mont_n0 (const BIGNUM *n)
 

Macro Definition Documentation

◆ STATIC_BIGNUM

#define STATIC_BIGNUM (   x)
Value:
{ \
(BN_ULONG *)(x), sizeof(x) / sizeof(BN_ULONG), \
sizeof(x) / sizeof(BN_ULONG), 0, BN_FLG_STATIC_DATA \
}
EGLSurface EGLint x
Definition: eglext.h:950
#define BN_FLG_STATIC_DATA
Definition: bn.h:911

Function Documentation

◆ bn_add_words()

BN_ULONG bn_add_words ( BN_ULONG *  rp,
const BN_ULONG *  ap,
const BN_ULONG *  bp,
int  num 
)

◆ bn_cmp_part_words()

int bn_cmp_part_words ( const BN_ULONG *  a,
const BN_ULONG *  b,
int  cl,
int  dl 
)

◆ bn_cmp_words()

int bn_cmp_words ( const BN_ULONG *  a,
const BN_ULONG *  b,
int  n 
)

◆ bn_expand()

BIGNUM* bn_expand ( BIGNUM bn,
size_t  bits 
)

◆ bn_mont_n0()

uint64_t bn_mont_n0 ( const BIGNUM n)

◆ bn_mul_add_words()

BN_ULONG bn_mul_add_words ( BN_ULONG *  rp,
const BN_ULONG *  ap,
int  num,
BN_ULONG  w 
)

◆ bn_mul_comba4()

void bn_mul_comba4 ( BN_ULONG *  r,
BN_ULONG *  a,
BN_ULONG *  b 
)

◆ bn_mul_comba8()

void bn_mul_comba8 ( BN_ULONG *  r,
BN_ULONG *  a,
BN_ULONG *  b 
)

◆ bn_mul_mont()

int bn_mul_mont ( BN_ULONG *  rp,
const BN_ULONG *  ap,
const BN_ULONG *  bp,
const BN_ULONG *  np,
const BN_ULONG *  n0,
int  num 
)

◆ bn_mul_words()

BN_ULONG bn_mul_words ( BN_ULONG *  rp,
const BN_ULONG *  ap,
int  num,
BN_ULONG  w 
)

◆ bn_set_words()

int bn_set_words ( BIGNUM bn,
const BN_ULONG *  words,
size_t  num 
)

◆ bn_sqr_comba4()

void bn_sqr_comba4 ( BN_ULONG *  r,
const BN_ULONG *  a 
)

◆ bn_sqr_comba8()

void bn_sqr_comba8 ( BN_ULONG *  r,
const BN_ULONG *  a 
)

◆ bn_sqr_words()

void bn_sqr_words ( BN_ULONG *  rp,
const BN_ULONG *  ap,
int  num 
)

◆ bn_sub_words()

BN_ULONG bn_sub_words ( BN_ULONG *  rp,
const BN_ULONG *  ap,
const BN_ULONG *  bp,
int  num 
)