Functions | |
__STATIC_INLINE cy_en_cryptolite_status_t | Cy_Cryptolite_Vu_mul_hw (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a, uint8_t *p_b, uint32_t word_size_b) |
Performs long integer multiplication operation. More... | |
__STATIC_INLINE cy_en_cryptolite_status_t | Cy_Cryptolite_Vu_xmul_hw (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a, uint8_t *p_b, uint32_t word_size_b) |
Performs carry less long integer multiplication operation. More... | |
__STATIC_INLINE cy_en_cryptolite_status_t | Cy_Cryptolite_Vu_add_hw (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a, uint8_t *p_b, uint32_t word_size_b) |
Performs long integer addition operation. More... | |
__STATIC_INLINE cy_en_cryptolite_status_t | Cy_Cryptolite_Vu_sub_hw (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a, uint8_t *p_b, uint32_t word_size_b) |
Performs long integer subtraction operation. More... | |
__STATIC_INLINE cy_en_cryptolite_status_t | Cy_Cryptolite_Vu_mov_hw (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a) |
Performs long integer move operation. More... | |
__STATIC_INLINE cy_en_cryptolite_status_t | Cy_Cryptolite_Vu_lsl1_hw (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a) |
Performs left shifting of long integer by one bit. More... | |
__STATIC_INLINE cy_en_cryptolite_status_t | Cy_Cryptolite_Vu_lsr1_hw (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a) |
Performs right shifting of long integer by one bit. More... | |
__STATIC_INLINE cy_en_cryptolite_status_t | Cy_Cryptolite_Vu_lsr_hw (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a, uint32_t shift) |
Performs right shifting of long integer by shift bits. More... | |
__STATIC_INLINE cy_en_cryptolite_status_t | Cy_Cryptolite_Vu_xor_hw (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a, uint8_t *p_b, uint32_t word_size_b) |
Performs long integer exclusive-or operation. More... | |
__STATIC_INLINE cy_en_cryptolite_status_t | Cy_Cryptolite_Vu_cond_sub_hw (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a, uint8_t *p_b, uint32_t word_size_b) |
Performs long integer conditional subtraction operation. More... | |
__STATIC_INLINE cy_en_cryptolite_status_t Cy_Cryptolite_Vu_mul_hw | ( | CRYPTOLITE_Type * | base, |
cy_stc_cryptolite_descr_t * | p_struct, | ||
uint8_t * | p_z, | ||
uint32_t | word_size_z, | ||
uint8_t * | p_a, | ||
uint32_t | word_size_a, | ||
uint8_t * | p_b, | ||
uint32_t | word_size_b | ||
) |
Performs long integer multiplication operation.
base | The pointer to a Cryptolite instance. |
p_struct | The pointer to the cy_stc_cryptolite_descr_t. |
p_z | The buffer pointer to the store the output. |
word_size_z | The size of the p_z buffer in word size. |
p_a | The pointer to the first operand buffer. |
word_size_a | The size of the p_a buffer in word size. |
p_b | The pointer to the second operand buffer. |
word_size_b | The size of the p_b buffer in word size. |
__STATIC_INLINE cy_en_cryptolite_status_t Cy_Cryptolite_Vu_xmul_hw | ( | CRYPTOLITE_Type * | base, |
cy_stc_cryptolite_descr_t * | p_struct, | ||
uint8_t * | p_z, | ||
uint32_t | word_size_z, | ||
uint8_t * | p_a, | ||
uint32_t | word_size_a, | ||
uint8_t * | p_b, | ||
uint32_t | word_size_b | ||
) |
Performs carry less long integer multiplication operation.
base | The pointer to a Cryptolite instance. |
p_struct | The pointer to the cy_stc_cryptolite_descr_t. |
p_z | The buffer pointer to the store the output. |
word_size_z | The size of the p_z buffer in word size. |
p_a | The pointer to the first operand buffer. |
word_size_a | The size of the p_a buffer in word size. |
p_b | The pointer to the second operand buffer. |
word_size_b | The size of the p_b buffer in word size. |
__STATIC_INLINE cy_en_cryptolite_status_t Cy_Cryptolite_Vu_add_hw | ( | CRYPTOLITE_Type * | base, |
cy_stc_cryptolite_descr_t * | p_struct, | ||
uint8_t * | p_z, | ||
uint32_t | word_size_z, | ||
uint8_t * | p_a, | ||
uint32_t | word_size_a, | ||
uint8_t * | p_b, | ||
uint32_t | word_size_b | ||
) |
Performs long integer addition operation.
base | The pointer to a Cryptolite instance. |
p_struct | The pointer to the cy_stc_cryptolite_descr_t. |
p_z | The buffer pointer to the store the output. |
word_size_z | The size of the p_z buffer in word size. |
p_a | The pointer to the first operand buffer. |
word_size_a | The size of the p_a buffer in word size. |
p_b | The pointer to the second operand buffer. |
word_size_b | The size of the p_b buffer in word size. |
__STATIC_INLINE cy_en_cryptolite_status_t Cy_Cryptolite_Vu_sub_hw | ( | CRYPTOLITE_Type * | base, |
cy_stc_cryptolite_descr_t * | p_struct, | ||
uint8_t * | p_z, | ||
uint32_t | word_size_z, | ||
uint8_t * | p_a, | ||
uint32_t | word_size_a, | ||
uint8_t * | p_b, | ||
uint32_t | word_size_b | ||
) |
Performs long integer subtraction operation.
base | The pointer to a Cryptolite instance. |
p_struct | The pointer to the cy_stc_cryptolite_descr_t. |
p_z | The buffer pointer to the store the output. |
word_size_z | The size of the p_z buffer in word size. |
p_a | The pointer to the first operand buffer. |
word_size_a | The size of the p_a buffer in word size. |
p_b | The pointer to the second operand buffer. |
word_size_b | The size of the p_b buffer in word size. |
__STATIC_INLINE cy_en_cryptolite_status_t Cy_Cryptolite_Vu_mov_hw | ( | CRYPTOLITE_Type * | base, |
cy_stc_cryptolite_descr_t * | p_struct, | ||
uint8_t * | p_z, | ||
uint32_t | word_size_z, | ||
uint8_t * | p_a, | ||
uint32_t | word_size_a | ||
) |
Performs long integer move operation.
base | The pointer to a Cryptolite instance. |
p_struct | The pointer to the cy_stc_cryptolite_descr_t. |
p_z | The buffer pointer to the store the output. |
word_size_z | The size of the p_z buffer in word size. |
p_a | The pointer to the operand buffer. |
word_size_a | The size of the p_a buffer in word size. |
__STATIC_INLINE cy_en_cryptolite_status_t Cy_Cryptolite_Vu_lsl1_hw | ( | CRYPTOLITE_Type * | base, |
cy_stc_cryptolite_descr_t * | p_struct, | ||
uint8_t * | p_z, | ||
uint32_t | word_size_z, | ||
uint8_t * | p_a, | ||
uint32_t | word_size_a | ||
) |
Performs left shifting of long integer by one bit.
base | The pointer to a Cryptolite instance. |
p_struct | The pointer to the cy_stc_cryptolite_descr_t. |
p_z | The buffer pointer to the store the output. |
word_size_z | The size of the p_z buffer in word size. |
p_a | The pointer to the operand buffer. |
word_size_a | The size of the p_a buffer in word size. |
__STATIC_INLINE cy_en_cryptolite_status_t Cy_Cryptolite_Vu_lsr1_hw | ( | CRYPTOLITE_Type * | base, |
cy_stc_cryptolite_descr_t * | p_struct, | ||
uint8_t * | p_z, | ||
uint32_t | word_size_z, | ||
uint8_t * | p_a, | ||
uint32_t | word_size_a | ||
) |
Performs right shifting of long integer by one bit.
base | The pointer to a Cryptolite instance. |
p_struct | The pointer to the cy_stc_cryptolite_descr_t. |
p_z | The buffer pointer to the store the output. |
word_size_z | The size of the p_z buffer in word size. |
p_a | The pointer to the operand buffer. |
word_size_a | The size of the p_a buffer in word size. |
__STATIC_INLINE cy_en_cryptolite_status_t Cy_Cryptolite_Vu_lsr_hw | ( | CRYPTOLITE_Type * | base, |
cy_stc_cryptolite_descr_t * | p_struct, | ||
uint8_t * | p_z, | ||
uint32_t | word_size_z, | ||
uint8_t * | p_a, | ||
uint32_t | word_size_a, | ||
uint32_t | shift | ||
) |
Performs right shifting of long integer by shift bits.
base | The pointer to a Cryptolite instance. |
p_struct | The pointer to the cy_stc_cryptolite_descr_t. |
p_z | The buffer pointer to the store the output. |
word_size_z | The size of the p_z buffer in word size. |
p_a | The pointer to the operand buffer. |
word_size_a | The size of the p_a buffer in word size. |
shift | The number of bits to shift right. |
__STATIC_INLINE cy_en_cryptolite_status_t Cy_Cryptolite_Vu_xor_hw | ( | CRYPTOLITE_Type * | base, |
cy_stc_cryptolite_descr_t * | p_struct, | ||
uint8_t * | p_z, | ||
uint32_t | word_size_z, | ||
uint8_t * | p_a, | ||
uint32_t | word_size_a, | ||
uint8_t * | p_b, | ||
uint32_t | word_size_b | ||
) |
Performs long integer exclusive-or operation.
base | The pointer to a Cryptolite instance. |
p_struct | The pointer to the cy_stc_cryptolite_descr_t. |
p_z | The buffer pointer to the store the output. |
word_size_z | The size of the p_z buffer in word size. |
p_a | The pointer to the first operand buffer. |
word_size_a | The size of the p_a buffer in word size. |
p_b | The pointer to the second operand buffer. |
word_size_b | The size of the p_b buffer in word size. |
__STATIC_INLINE cy_en_cryptolite_status_t Cy_Cryptolite_Vu_cond_sub_hw | ( | CRYPTOLITE_Type * | base, |
cy_stc_cryptolite_descr_t * | p_struct, | ||
uint8_t * | p_z, | ||
uint32_t | word_size_z, | ||
uint8_t * | p_a, | ||
uint32_t | word_size_a, | ||
uint8_t * | p_b, | ||
uint32_t | word_size_b | ||
) |
Performs long integer conditional subtraction operation.
base | The pointer to a Cryptolite instance. |
p_struct | The pointer to the cy_stc_cryptolite_descr_t. |
p_z | The buffer pointer to the store the output. |
word_size_z | The size of the p_z buffer in word size. |
p_a | The pointer to the first operand buffer. |
word_size_a | The size of the p_a buffer in word size. |
p_b | The pointer to the second operand buffer. |
word_size_b | The size of the p_b buffer in word size. |