mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 10:57:34 +09:00
re-introduce old nss im too tired for this
This commit is contained in:
parent
3c46be320d
commit
3a838106b9
2871 changed files with 1374431 additions and 1762417 deletions
|
|
@ -11,7 +11,6 @@
|
|||
#define _H_MPLOGIC_
|
||||
|
||||
#include "mpi.h"
|
||||
SEC_BEGIN_PROTOS
|
||||
|
||||
/*
|
||||
The logical operations treat an mp_int as if it were a bit vector,
|
||||
|
|
@ -39,9 +38,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, 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 */
|
||||
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 */
|
||||
|
||||
/* Get & Set the value of a bit */
|
||||
|
||||
|
|
@ -50,6 +49,4 @@ 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