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

Go to the source code of this file.

Functions

uint16_t bn_mod_u16_consttime (const BIGNUM *bn, uint16_t d)
 
static uint16_t mod_u16 (uint32_t n, uint16_t d, uint32_t p, uint32_t m)
 
static uint16_t shift_and_add_mod_u16 (uint16_t r, uint32_t a, uint16_t d, uint32_t p, uint32_t m)
 

Function Documentation

◆ bn_mod_u16_consttime()

uint16_t bn_mod_u16_consttime ( const BIGNUM bn,
uint16_t  d 
)

Definition at line 62 of file div_extra.c.

◆ mod_u16()

static uint16_t mod_u16 ( uint32_t  n,
uint16_t  d,
uint32_t  p,
uint32_t  m 
)
static

Definition at line 33 of file div_extra.c.

◆ shift_and_add_mod_u16()

static uint16_t shift_and_add_mod_u16 ( uint16_t  r,
uint32_t  a,
uint16_t  d,
uint32_t  p,
uint32_t  m 
)
static

Definition at line 48 of file div_extra.c.



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