Functions
cmp.c File Reference
#include <openssl/bn.h>
#include <openssl/mem.h>
#include <openssl/type_check.h>
#include "internal.h"
#include "../../internal.h"
Include dependency graph for cmp.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int BN_abs_is_word (const BIGNUM *bn, BN_ULONG w)
 
int BN_cmp (const BIGNUM *a, const BIGNUM *b)
 
int BN_cmp_word (const BIGNUM *a, BN_ULONG b)
 
static int bn_cmp_words_consttime (const BN_ULONG *a, size_t a_len, const BN_ULONG *b, size_t b_len)
 
int BN_equal_consttime (const BIGNUM *a, const BIGNUM *b)
 
int BN_is_odd (const BIGNUM *bn)
 
int BN_is_one (const BIGNUM *bn)
 
int BN_is_pow2 (const BIGNUM *bn)
 
int BN_is_word (const BIGNUM *bn, BN_ULONG w)
 
int BN_is_zero (const BIGNUM *bn)
 
int bn_less_than_words (const BN_ULONG *a, const BN_ULONG *b, size_t len)
 
int BN_ucmp (const BIGNUM *a, const BIGNUM *b)
 

Function Documentation

◆ BN_abs_is_word()

int BN_abs_is_word ( const BIGNUM bn,
BN_ULONG  w 
)

Definition at line 130 of file cmp.c.

◆ BN_cmp()

int BN_cmp ( const BIGNUM a,
const BIGNUM b 
)

Definition at line 102 of file cmp.c.

◆ BN_cmp_word()

int BN_cmp_word ( const BIGNUM a,
BN_ULONG  b 
)

Definition at line 141 of file cmp.c.

◆ bn_cmp_words_consttime()

static int bn_cmp_words_consttime ( const BN_ULONG *  a,
size_t  a_len,
const BN_ULONG *  b,
size_t  b_len 
)
static

Definition at line 66 of file cmp.c.

◆ BN_equal_consttime()

int BN_equal_consttime ( const BIGNUM a,
const BIGNUM b 
)

Definition at line 183 of file cmp.c.

◆ BN_is_odd()

int BN_is_odd ( const BIGNUM bn)

Definition at line 164 of file cmp.c.

◆ BN_is_one()

int BN_is_one ( const BIGNUM bn)

Definition at line 156 of file cmp.c.

◆ BN_is_pow2()

int BN_is_pow2 ( const BIGNUM bn)

Definition at line 168 of file cmp.c.

◆ BN_is_word()

int BN_is_word ( const BIGNUM bn,
BN_ULONG  w 
)

Definition at line 160 of file cmp.c.

◆ BN_is_zero()

int BN_is_zero ( const BIGNUM bn)

Definition at line 152 of file cmp.c.

◆ bn_less_than_words()

int bn_less_than_words ( const BN_ULONG *  a,
const BN_ULONG *  b,
size_t  len 
)

Definition at line 126 of file cmp.c.

◆ BN_ucmp()

int BN_ucmp ( const BIGNUM a,
const BIGNUM b 
)

Definition at line 98 of file cmp.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:07