webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Functions
mul.c File Reference
#include <openssl/bn.h>
#include <assert.h>
#include <string.h>
#include "internal.h"

Macros

#define BN_MUL_RECURSIVE_SIZE_NORMAL   16
 
#define BN_SQR_RECURSIVE_SIZE_NORMAL   BN_MUL_RECURSIVE_SIZE_NORMAL
 

Functions

int BN_mul (BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
 
int BN_mul_word (BIGNUM *bn, BN_ULONG w)
 
int BN_sqr (BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
 

Macro Definition Documentation

◆ BN_MUL_RECURSIVE_SIZE_NORMAL

#define BN_MUL_RECURSIVE_SIZE_NORMAL   16

◆ BN_SQR_RECURSIVE_SIZE_NORMAL

#define BN_SQR_RECURSIVE_SIZE_NORMAL   BN_MUL_RECURSIVE_SIZE_NORMAL

Function Documentation

◆ BN_mul()

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

◆ BN_mul_word()

int BN_mul_word ( BIGNUM *  bn,
BN_ULONG  w 
)

◆ BN_sqr()

int BN_sqr ( BIGNUM *  r,
const BIGNUM *  a,
BN_CTX *  ctx 
)