/hal_infineon-3.5.0/mtb-pdl-cat1/drivers/source/ |
D | cy_cryptolite_nist_p.c | 95 …oid)Cy_Cryptolite_Vu_lsr_hw (base, vu_struct0, p_z, VU_BITS_TO_WORDS(bit_size), p_x, VU_BITS_TO_WO… in Cryptolite_EC_Bar_MulRed() 97 …ase, vu_struct1, p_t_double, VU_BITS_TO_WORDS(2U*bit_size), p_z, VU_BITS_TO_WORDS(bit_size), my_BA… in Cryptolite_EC_Bar_MulRed() 98 …y_Cryptolite_Vu_lsr_hw (base, vu_struct0, p_t1, VU_BITS_TO_WORDS(bit_size), p_t_double, VU_BITS_TO… in Cryptolite_EC_Bar_MulRed() 99 …w (base, vu_struct1, p_t_double, VU_BITS_TO_WORDS(2U*bit_size), p_t1, VU_BITS_TO_WORDS(bit_size), … in Cryptolite_EC_Bar_MulRed() 101 …, vu_struct0, p_t2_plus2, VU_BITS_TO_WORDS(bit_size+2U+1U), p_x, VU_BITS_TO_WORDS(bit_size+2U+1U),… in Cryptolite_EC_Bar_MulRed() 102 …e, vu_struct1, p_t1_plus2, VU_BITS_TO_WORDS(bit_size+2U+1U), p_t2_plus2, VU_BITS_TO_WORDS(bit_size… in Cryptolite_EC_Bar_MulRed() 112 …ub_hw (base, vu_struct1, p_z, VU_BITS_TO_WORDS(bit_size), p_t1_plus2, VU_BITS_TO_WORDS(bit_size+3U… in Cryptolite_EC_Bar_MulRed() 158 …(base, vu_struct0, ab_double, VU_BITS_TO_WORDS(2U*(uint32_t)size), a, VU_BITS_TO_WORDS((uint32_t)s… in Cryptolite_EC_MulMod() 206 uint16_t wordsize = VU_BITS_TO_WORDS((uint16_t)size); in Cryptolite_EC_DivMod() 207 uint16_t wordsize1 = VU_BITS_TO_WORDS((uint16_t)size+1U); in Cryptolite_EC_DivMod() [all …]
|
D | cy_cryptolite_rsa.c | 71 uint32_t bitsize_p1 = VU_BITS_TO_WORDS(bit_size+1U); in cryptolite_rsa_mont_inv_transform() 72 uint32_t bitsize = VU_BITS_TO_WORDS(bit_size); in cryptolite_rsa_mont_inv_transform() 76 …(void)Cy_Cryptolite_Vu_mul_hw (base, vu_struct0, p_t1_2n1, VU_BITS_TO_WORDS(2U*bit_size), p_a, bit… in cryptolite_rsa_mont_inv_transform() 77 …(void)Cy_Cryptolite_Vu_lsr_hw (base, vu_struct1, p_a, bitsize, p_t1_2n1, VU_BITS_TO_WORDS(2U*bit_s… in cryptolite_rsa_mont_inv_transform() 78 …(void)Cy_Cryptolite_Vu_mul_hw (base, vu_struct0, p_t2_2n1, VU_BITS_TO_WORDS(2U*bit_size), p_a, bit… in cryptolite_rsa_mont_inv_transform() 79 …(void)Cy_Cryptolite_Vu_lsr_hw (base, vu_struct1, p_a, bitsize, p_t2_2n1, VU_BITS_TO_WORDS(2U*bit_s… in cryptolite_rsa_mont_inv_transform() 80 …(void)Cy_Cryptolite_Vu_mul_hw (base, vu_struct0, p_t2_2n1, VU_BITS_TO_WORDS(2U*bit_size), p_a, bit… in cryptolite_rsa_mont_inv_transform() 81 …ase, vu_struct1, p_t1_2n1, VU_BITS_TO_WORDS(bit_size+2U), p_t1_2n1, VU_BITS_TO_WORDS(bit_size+2U),… in cryptolite_rsa_mont_inv_transform() 83 …e_Vu_cond_sub_hw (base, vu_struct0, p_t2_2n1, bitsize_p1, p_t1_2n1, VU_BITS_TO_WORDS(bit_size+2U),… in cryptolite_rsa_mont_inv_transform() 99 uint32_t bitsize_p1 = VU_BITS_TO_WORDS(bit_size+1U); in cryptolite_rsa_mont_transform() [all …]
|
D | cy_cryptolite_vu.c | 45 while (p_a_uint32 < (((uint32_t *) ((void *)psrc)) + VU_BITS_TO_WORDS(bitsize))) in Cy_Cryptolite_Vu_test_zero() 60 …struct, temp, VU_BITS_TO_WORDS((uint32_t)bitsize), rsrc0, (uint32_t)VU_BITS_TO_WORDS((uint32_t)bit… in Cy_Cryptolite_Vu_test_equal() 63 if (Cy_Cryptolite_Vu_test_zero(base, p_struct, temp, VU_BITS_TO_WORDS(bitsize))) { in Cy_Cryptolite_Vu_test_equal() 77 …(base, p_struct, temp, VU_BITS_TO_WORDS((uint32_t)bitsize+1U), rsrc0, VU_BITS_TO_WORDS((uint32_t)b… in Cy_Cryptolite_Vu_test_less_than()
|
D | cy_cryptolite_ecdsa.c | 566 Cy_Cryptolite_Vu_clr(cfContext->my_BARRETT_U, VU_BITS_TO_WORDS(BIT_SIZE+1U)); in Cy_Cryptolite_ECC_Free() 571 Cy_Cryptolite_Vu_clr(cfContext->my_P, VU_BITS_TO_WORDS(BIT_SIZE)); in Cy_Cryptolite_ECC_Free() 576 Cy_Cryptolite_Vu_clr(cfContext->dividend, VU_BITS_TO_WORDS(BIT_SIZE)); in Cy_Cryptolite_ECC_Free() 581 Cy_Cryptolite_Vu_clr(cfContext->p_r, VU_BITS_TO_WORDS(BIT_SIZE)); in Cy_Cryptolite_ECC_Free() 586 Cy_Cryptolite_Vu_clr(cfContext->p_s, VU_BITS_TO_WORDS(BIT_SIZE)); in Cy_Cryptolite_ECC_Free() 591 Cy_Cryptolite_Vu_clr(cfContext->p_u1, VU_BITS_TO_WORDS(BIT_SIZE)); in Cy_Cryptolite_ECC_Free() 596 Cy_Cryptolite_Vu_clr(cfContext->p_u2, VU_BITS_TO_WORDS(BIT_SIZE)); in Cy_Cryptolite_ECC_Free() 601 Cy_Cryptolite_Vu_clr(cfContext->p_o, VU_BITS_TO_WORDS(BIT_SIZE)); in Cy_Cryptolite_ECC_Free() 606 Cy_Cryptolite_Vu_clr(cfContext->p_gx, VU_BITS_TO_WORDS(BIT_SIZE)); in Cy_Cryptolite_ECC_Free() 611 Cy_Cryptolite_Vu_clr(cfContext->p_gy, VU_BITS_TO_WORDS(BIT_SIZE)); in Cy_Cryptolite_ECC_Free() [all …]
|
/hal_infineon-3.5.0/mtb-pdl-cat1/drivers/include/ |
D | cy_cryptolite_nist_p.h | 90 …_hw (base, vu_struct1, temp,VU_BITS_TO_WORDS((uint32_t)bitsize+1U), a,VU_BITS_TO_WORDS((uint32_t)b… in Cryptolite_EC_AddMod() 91 …w (base, vu_struct0, z, VU_BITS_TO_WORDS((uint32_t)bitsize), temp, VU_BITS_TO_WORDS((uint32_t)bits… in Cryptolite_EC_AddMod() 117 …(base, vu_struct0, temp_z, VU_BITS_TO_WORDS((uint32_t)bitsize+1U), a, VU_BITS_TO_WORDS((uint32_t)b… in Cryptolite_EC_SubMod() 118 …Cy_Cryptolite_Vu_mov_hw (base, vu_struct1, z, VU_BITS_TO_WORDS((uint32_t)bitsize), temp_z,VU_BITS_… in Cryptolite_EC_SubMod() 125 …dd_hw (base, vu_struct0, z, VU_BITS_TO_WORDS((uint32_t)bitsize), z,VU_BITS_TO_WORDS((uint32_t)bits… in Cryptolite_EC_SubMod() 155 …ase, vu_struct0, temp_a, VU_BITS_TO_WORDS((uint32_t)bitsize+1U), a, VU_BITS_TO_WORDS((uint32_t)bit… in Cryptolite_EC_HalfMod() 156 …dd_hw(base, vu_struct1, a, VU_BITS_TO_WORDS((uint32_t)bitsize), a, VU_BITS_TO_WORDS((uint32_t)bits… in Cryptolite_EC_HalfMod() 159 …ryptolite_Vu_lsr1_carry_hw(base, vu_struct0, z, VU_BITS_TO_WORDS((uint32_t)bitsize), a, VU_BITS_TO… in Cryptolite_EC_HalfMod()
|
D | cy_cryptolite_ecdsa.h | 131 CY_ALIGN(4) uint8_t my_BARRETT_U[4*VU_BITS_TO_WORDS(BIT_SIZE+1)]; 132 CY_ALIGN(4) uint8_t my_P[4*VU_BITS_TO_WORDS(BIT_SIZE)]; 133 CY_ALIGN(4) uint8_t dividend[4*VU_BITS_TO_WORDS(BIT_SIZE)]; 134 CY_ALIGN(4) uint8_t p_r[4*VU_BITS_TO_WORDS(BIT_SIZE)]; 135 CY_ALIGN(4) uint8_t p_s[4*VU_BITS_TO_WORDS(BIT_SIZE)]; 136 CY_ALIGN(4) uint8_t p_u1[4*VU_BITS_TO_WORDS(BIT_SIZE)]; 137 CY_ALIGN(4) uint8_t p_u2[4*VU_BITS_TO_WORDS(BIT_SIZE)]; 138 CY_ALIGN(4) uint8_t p_o[4*VU_BITS_TO_WORDS(BIT_SIZE)]; 139 CY_ALIGN(4) uint8_t p_gx[4*VU_BITS_TO_WORDS(BIT_SIZE)]; 140 CY_ALIGN(4) uint8_t p_gy[4*VU_BITS_TO_WORDS(BIT_SIZE)]; [all …]
|
D | cy_cryptolite_rsa.h | 60 #define CY_CRYPTOLITE_RSA_BUFFER_SIZE (4U*VU_BITS_TO_WORDS(2U*CY_CRYPTOLITE_RSA_BITSIZE+1U) \ 61 + 4U*VU_BITS_TO_WORDS(2U*CY_CRYPTOLITE_RSA_BITSIZE+1U)\ 62 … + 4U*VU_BITS_TO_WORDS(CY_CRYPTOLITE_RSA_BITSIZE) + 4U*VU_BITS_TO_WORDS(CY_CRYPTOLITE_RSA_BITSIZE))
|
D | cy_cryptolite_vu.h | 41 #define VU_BITS_TO_WORDS(b) (((b)+31U) >> 5) macro 42 #define VU_BITS_TO_BYTES(b) ((4U)*VU_BITS_TO_WORDS(b))
|