mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
Replace NSS with Pale Moon's
This commit is contained in:
parent
ff1e5e48bf
commit
8c2e376f94
2870 changed files with 1762232 additions and 1374220 deletions
|
|
@ -11,6 +11,7 @@
|
|||
#define _H_MPLOGIC_
|
||||
|
||||
#include "mpi.h"
|
||||
SEC_BEGIN_PROTOS
|
||||
|
||||
/*
|
||||
The logical operations treat an mp_int as if it were a bit vector,
|
||||
|
|
@ -38,9 +39,9 @@ mp_err mpl_lsh(const mp_int *a, mp_int *b, mp_digit d); /* left shift */
|
|||
|
||||
/* Bit count and parity */
|
||||
|
||||
mp_err mpl_num_set(mp_int *a, int *num); /* count set bits */
|
||||
mp_err mpl_num_clear(mp_int *a, int *num); /* count clear bits */
|
||||
mp_err mpl_parity(mp_int *a); /* determine parity */
|
||||
mp_err mpl_num_set(mp_int *a, unsigned int *num); /* count set bits */
|
||||
mp_err mpl_num_clear(mp_int *a, unsigned int *num); /* count clear bits */
|
||||
mp_err mpl_parity(mp_int *a); /* determine parity */
|
||||
|
||||
/* Get & Set the value of a bit */
|
||||
|
||||
|
|
@ -49,4 +50,6 @@ mp_err mpl_get_bit(const mp_int *a, mp_size bitNum);
|
|||
mp_err mpl_get_bits(const mp_int *a, mp_size lsbNum, mp_size numBits);
|
||||
mp_size mpl_significant_bits(const mp_int *a);
|
||||
|
||||
SEC_END_PROTOS
|
||||
|
||||
#endif /* end _H_MPLOGIC_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue