|
LibSWIFFT
1.2.0
|
LibSWIFFT internal C arithmetic API. More...

Macros | |
| #define | LIBSWIFFT_API(name) name |
Functions | |
| void LIBSWIFFT_API() | SWIFFT_ConstSet (BitSequence output[SWIFFT_OUTPUT_BLOCK_SIZE], const int16_t operand) |
| Sets a constant value at each SWIFFT hash value element. More... | |
| void LIBSWIFFT_API() | SWIFFT_ConstAdd (BitSequence output[SWIFFT_OUTPUT_BLOCK_SIZE], const int16_t operand) |
| Adds a constant value to each SWIFFT hash value element. More... | |
| void LIBSWIFFT_API() | SWIFFT_ConstSub (BitSequence output[SWIFFT_OUTPUT_BLOCK_SIZE], const int16_t operand) |
| Subtracts a constant value from each SWIFFT hash value element. More... | |
| void LIBSWIFFT_API() | SWIFFT_ConstMul (BitSequence output[SWIFFT_OUTPUT_BLOCK_SIZE], const int16_t operand) |
| Multiply a constant value into each SWIFFT hash value element. More... | |
| void LIBSWIFFT_API() | SWIFFT_Set (BitSequence output[SWIFFT_OUTPUT_BLOCK_SIZE], const BitSequence operand[SWIFFT_OUTPUT_BLOCK_SIZE]) |
| Sets a SWIFFT hash value to another, element-wise. More... | |
| void LIBSWIFFT_API() | SWIFFT_Add (BitSequence output[SWIFFT_OUTPUT_BLOCK_SIZE], const BitSequence operand[SWIFFT_OUTPUT_BLOCK_SIZE]) |
| Adds a SWIFFT hash value to another, element-wise. More... | |
| void LIBSWIFFT_API() | SWIFFT_Sub (BitSequence output[SWIFFT_OUTPUT_BLOCK_SIZE], const BitSequence operand[SWIFFT_OUTPUT_BLOCK_SIZE]) |
| Subtracts a SWIFFT hash value from another, element-wise. More... | |
| void LIBSWIFFT_API() | SWIFFT_Mul (BitSequence output[SWIFFT_OUTPUT_BLOCK_SIZE], const BitSequence operand[SWIFFT_OUTPUT_BLOCK_SIZE]) |
| Multiplies a SWIFFT hash value from another, element-wise. More... | |
| void LIBSWIFFT_API() | SWIFFT_ConstSetMultiple (int nblocks, BitSequence *output, const int16_t *operand) |
| Sets a constant value at each SWIFFT hash value element for multiple blocks. More... | |
| void LIBSWIFFT_API() | SWIFFT_ConstAddMultiple (int nblocks, BitSequence *output, const int16_t *operand) |
| Adds a constant value to each SWIFFT hash value element for multiple blocks. More... | |
| void LIBSWIFFT_API() | SWIFFT_ConstSubMultiple (int nblocks, BitSequence *output, const int16_t *operand) |
| Subtracts a constant value from each SWIFFT hash value element for multiple blocks. More... | |
| void LIBSWIFFT_API() | SWIFFT_ConstMulMultiple (int nblocks, BitSequence *output, const int16_t *operand) |
| Multiply a constant value into each SWIFFT hash value element for multiple blocks. More... | |
| void LIBSWIFFT_API() | SWIFFT_SetMultiple (int nblocks, BitSequence *output, const BitSequence *operand) |
| Sets a SWIFFT hash value to another, element-wise, for multiple blocks. More... | |
| void LIBSWIFFT_API() | SWIFFT_AddMultiple (int nblocks, BitSequence *output, const BitSequence *operand) |
| Adds a SWIFFT hash value to another, element-wise, for multiple blocks. More... | |
| void LIBSWIFFT_API() | SWIFFT_SubMultiple (int nblocks, BitSequence *output, const BitSequence *operand) |
| Subtracts a SWIFFT hash value from another, element-wise, for multiple blocks. More... | |
| void LIBSWIFFT_API() | SWIFFT_MulMultiple (int nblocks, BitSequence *output, const BitSequence *operand) |
| Multiplies a SWIFFT hash value from another, element-wise, for multiple blocks. More... | |
LibSWIFFT internal C arithmetic API.
| #define LIBSWIFFT_API | ( | name | ) | name |
| void LIBSWIFFT_API() SWIFFT_Add | ( | BitSequence | output[SWIFFT_OUTPUT_BLOCK_SIZE], |
| const BitSequence | operand[SWIFFT_OUTPUT_BLOCK_SIZE] | ||
| ) |
Adds a SWIFFT hash value to another, element-wise.
| [in,out] | output | the hash value of SWIFFT to modify. |
| [in] | operand | the hash value to add. |
| void LIBSWIFFT_API() SWIFFT_AddMultiple | ( | int | nblocks, |
| BitSequence * | output, | ||
| const BitSequence * | operand | ||
| ) |
Adds a SWIFFT hash value to another, element-wise, for multiple blocks.
| [in] | nblocks | the number of blocks to operate on. |
| [in,out] | output | the hash value of SWIFFT to modify. |
| [in] | operand | the hash value to add. |
| [in] | nblocks | the number of blocks to operate on. |
| [in,out] | output | the hash value of SWIFFT to modify, per block. |
| [in] | operand | the hash value to add, per block. |
| void LIBSWIFFT_API() SWIFFT_ConstAdd | ( | BitSequence | output[SWIFFT_OUTPUT_BLOCK_SIZE], |
| const int16_t | operand | ||
| ) |
Adds a constant value to each SWIFFT hash value element.
| [in,out] | output | the hash value of SWIFFT to modify. |
| [in] | operand | the constant value to add. |
| void LIBSWIFFT_API() SWIFFT_ConstAddMultiple | ( | int | nblocks, |
| BitSequence * | output, | ||
| const int16_t * | operand | ||
| ) |
Adds a constant value to each SWIFFT hash value element for multiple blocks.
| [in] | nblocks | the number of blocks to operate on. |
| [in,out] | output | the hash value of SWIFFT to modify, per block. |
| [in] | operand | the constant value to add, per block. |
| void LIBSWIFFT_API() SWIFFT_ConstMul | ( | BitSequence | output[SWIFFT_OUTPUT_BLOCK_SIZE], |
| const int16_t | operand | ||
| ) |
Multiply a constant value into each SWIFFT hash value element.
| [in,out] | output | the hash value of SWIFFT to modify. |
| [in] | operand | the constant value to multiply by. |
| void LIBSWIFFT_API() SWIFFT_ConstMulMultiple | ( | int | nblocks, |
| BitSequence * | output, | ||
| const int16_t * | operand | ||
| ) |
Multiply a constant value into each SWIFFT hash value element for multiple blocks.
| [in] | nblocks | the number of blocks to operate on. |
| [in,out] | output | the hash value of SWIFFT to modify, per block. |
| [in] | operand | the constant value to multiply by, per block. |
| void LIBSWIFFT_API() SWIFFT_ConstSet | ( | BitSequence | output[SWIFFT_OUTPUT_BLOCK_SIZE], |
| const int16_t | operand | ||
| ) |
Sets a constant value at each SWIFFT hash value element.
| [out] | output | the hash value of SWIFFT to modify. |
| [in] | operand | the constant value to set. |
| void LIBSWIFFT_API() SWIFFT_ConstSetMultiple | ( | int | nblocks, |
| BitSequence * | output, | ||
| const int16_t * | operand | ||
| ) |
Sets a constant value at each SWIFFT hash value element for multiple blocks.
| [in] | nblocks | the number of blocks to operate on. |
| [out] | output | the hash value of SWIFFT to modify, per block. |
| [in] | operand | the constant value to set, per block. |
| void LIBSWIFFT_API() SWIFFT_ConstSub | ( | BitSequence | output[SWIFFT_OUTPUT_BLOCK_SIZE], |
| const int16_t | operand | ||
| ) |
Subtracts a constant value from each SWIFFT hash value element.
| [in,out] | output | the hash value of SWIFFT to modify. |
| [in] | operand | the constant value to subtract. |
| void LIBSWIFFT_API() SWIFFT_ConstSubMultiple | ( | int | nblocks, |
| BitSequence * | output, | ||
| const int16_t * | operand | ||
| ) |
Subtracts a constant value from each SWIFFT hash value element for multiple blocks.
| [in] | nblocks | the number of blocks to operate on. |
| [in,out] | output | the hash value of SWIFFT to modify, per block. |
| [in] | operand | the constant value to subtract, per block. |
| void LIBSWIFFT_API() SWIFFT_Mul | ( | BitSequence | output[SWIFFT_OUTPUT_BLOCK_SIZE], |
| const BitSequence | operand[SWIFFT_OUTPUT_BLOCK_SIZE] | ||
| ) |
Multiplies a SWIFFT hash value from another, element-wise.
| [in,out] | output | the hash value of SWIFFT to modify. |
| [in] | operand | the hash value to multiply by. |
| void LIBSWIFFT_API() SWIFFT_MulMultiple | ( | int | nblocks, |
| BitSequence * | output, | ||
| const BitSequence * | operand | ||
| ) |
Multiplies a SWIFFT hash value from another, element-wise, for multiple blocks.
| [in] | nblocks | the number of blocks to operate on. |
| [in,out] | output | the hash value of SWIFFT to modify. |
| [in] | operand | the hash value to multiply by. |
| [in] | nblocks | the number of blocks to operate on. |
| [in,out] | output | the hash value of SWIFFT to modify, per block. |
| [in] | operand | the hash value to multiply by, per block. |
| void LIBSWIFFT_API() SWIFFT_Set | ( | BitSequence | output[SWIFFT_OUTPUT_BLOCK_SIZE], |
| const BitSequence | operand[SWIFFT_OUTPUT_BLOCK_SIZE] | ||
| ) |
Sets a SWIFFT hash value to another, element-wise.
| [in,out] | output | the hash value of SWIFFT to modify. |
| [in] | operand | the hash value to set to. |
| void LIBSWIFFT_API() SWIFFT_SetMultiple | ( | int | nblocks, |
| BitSequence * | output, | ||
| const BitSequence * | operand | ||
| ) |
Sets a SWIFFT hash value to another, element-wise, for multiple blocks.
| [in] | nblocks | the number of blocks to operate on. |
| [in,out] | output | the hash value of SWIFFT to modify. |
| [in] | operand | the hash value to set to. |
| [in] | nblocks | the number of blocks to operate on. |
| [in,out] | output | the hash value of SWIFFT to modify, per block. |
| [in] | operand | the hash value to set to, per block. |
| void LIBSWIFFT_API() SWIFFT_Sub | ( | BitSequence | output[SWIFFT_OUTPUT_BLOCK_SIZE], |
| const BitSequence | operand[SWIFFT_OUTPUT_BLOCK_SIZE] | ||
| ) |
Subtracts a SWIFFT hash value from another, element-wise.
| [in,out] | output | the hash value of SWIFFT to modify. |
| [in] | operand | the hash value to subtract. |
| void LIBSWIFFT_API() SWIFFT_SubMultiple | ( | int | nblocks, |
| BitSequence * | output, | ||
| const BitSequence * | operand | ||
| ) |
Subtracts a SWIFFT hash value from another, element-wise, for multiple blocks.
| [in] | nblocks | the number of blocks to operate on. |
| [in,out] | output | the hash value of SWIFFT to modify. |
| [in] | operand | the hash value to subtract. |
| [in] | nblocks | the number of blocks to operate on. |
| [in,out] | output | the hash value of SWIFFT to modify, per block. |
| [in] | operand | the hash value to subtract, per block. |
1.8.13