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

Go to the source code of this file.

Functions

int BN_clear_bit (BIGNUM *a, int n)
 
int BN_count_low_zero_bits (const BIGNUM *bn)
 
static int bn_count_low_zero_bits_word (BN_ULONG l)
 
int BN_is_bit_set (const BIGNUM *a, int n)
 
int bn_is_bit_set_words (const BN_ULONG *a, size_t num, unsigned bit)
 
int BN_lshift (BIGNUM *r, const BIGNUM *a, int n)
 
int BN_lshift1 (BIGNUM *r, const BIGNUM *a)
 
int BN_mask_bits (BIGNUM *a, int n)
 
int BN_rshift (BIGNUM *r, const BIGNUM *a, int n)
 
int BN_rshift1 (BIGNUM *r, const BIGNUM *a)
 
void bn_rshift1_words (BN_ULONG *r, const BN_ULONG *a, size_t num)
 
int bn_rshift_secret_shift (BIGNUM *r, const BIGNUM *a, unsigned n, BN_CTX *ctx)
 
void bn_rshift_words (BN_ULONG *r, const BN_ULONG *a, unsigned shift, size_t num)
 
int BN_set_bit (BIGNUM *a, int n)
 

Function Documentation

◆ BN_clear_bit()

int BN_clear_bit ( BIGNUM a,
int  n 
)

Definition at line 243 of file shift.c.

◆ BN_count_low_zero_bits()

int BN_count_low_zero_bits ( const BIGNUM bn)

Definition at line 344 of file shift.c.

◆ bn_count_low_zero_bits_word()

static int bn_count_low_zero_bits_word ( BN_ULONG  l)
static

Definition at line 298 of file shift.c.

◆ BN_is_bit_set()

int BN_is_bit_set ( const BIGNUM a,
int  n 
)

Definition at line 270 of file shift.c.

◆ bn_is_bit_set_words()

int bn_is_bit_set_words ( const BN_ULONG *  a,
size_t  num,
unsigned  bit 
)

Definition at line 261 of file shift.c.

◆ BN_lshift()

int BN_lshift ( BIGNUM r,
const BIGNUM a,
int  n 
)

Definition at line 67 of file shift.c.

◆ BN_lshift1()

int BN_lshift1 ( BIGNUM r,
const BIGNUM a 
)

Definition at line 105 of file shift.c.

◆ BN_mask_bits()

int BN_mask_bits ( BIGNUM a,
int  n 
)

Definition at line 277 of file shift.c.

◆ BN_rshift()

int BN_rshift ( BIGNUM r,
const BIGNUM a,
int  n 
)

Definition at line 156 of file shift.c.

◆ BN_rshift1()

int BN_rshift1 ( BIGNUM r,
const BIGNUM a 
)

Definition at line 210 of file shift.c.

◆ bn_rshift1_words()

void bn_rshift1_words ( BN_ULONG *  r,
const BN_ULONG *  a,
size_t  num 
)

Definition at line 200 of file shift.c.

◆ bn_rshift_secret_shift()

int bn_rshift_secret_shift ( BIGNUM r,
const BIGNUM a,
unsigned  n,
BN_CTX ctx 
)

Definition at line 172 of file shift.c.

◆ bn_rshift_words()

void bn_rshift_words ( BN_ULONG *  r,
const BN_ULONG *  a,
unsigned  shift,
size_t  num 
)

Definition at line 136 of file shift.c.

◆ BN_set_bit()

int BN_set_bit ( BIGNUM a,
int  n 
)

Definition at line 221 of file shift.c.



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