Searched refs:T1 (Results 1 – 3 of 3) sorted by relevance
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/Native_Driver/drivers/ |
D | fsl_casper.c | 1620 uint32_t *T1 = &CASPER_MEM[0], borrow; in MultprecCiosMul_ct() local 1676 CASPER_MEMCPY_I2I(T1, w_out, (N_wordlen + 1U) * sizeof(uint32_t)); in MultprecCiosMul_ct() 1684 borrow = (uint32_t)(GET_WORD(&((uint32_t *)w_out)[N_wordlen]) > GET_WORD(&T1[N_wordlen])); in MultprecCiosMul_ct() 1688 casper_select(w_out, w_out, T1, (int32_t)borrow, (int16_t)(uint16_t)N_wordlen); in MultprecCiosMul_ct() 1924 uint32_t *T1, *T2; in Jac_toAffine() local 1926 T1 = &CASPER_MEM[((2U * (N_wordlen + 4U)) + (9U * (N_wordlen + 4U))) + 0U * (N_wordlen + 4U)]; in Jac_toAffine() 1929 square_casper(T1, Z1); // Z^2 in Jac_toAffine() 1930 multiply_casper(T2, T1, Z1); // Z^3 in Jac_toAffine() 1935 invert_mod_p256(T1, T2); in Jac_toAffine() 1940 invert_mod_p384(T1, T2); in Jac_toAffine() [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/ |
D | ecp_alt.c | 1351 mbedtls_mpi T1, T2, T3, T4, X, Y, Z; in ecp_add_mixed() local 1377 …mbedtls_mpi_init( &T1 ); mbedtls_mpi_init( &T2 ); mbedtls_mpi_init( &T3 ); mbedtls_mpi_init( &T4 ); in ecp_add_mixed() 1380 …MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mod( grp, &T1, &P->MBEDTLS_PRIVATE(Z), &P->MBEDTLS_PRIVATE(Z) )… in ecp_add_mixed() 1381 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mod( grp, &T2, &T1, &P->MBEDTLS_PRIVATE(Z) ) ); in ecp_add_mixed() 1382 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mod( grp, &T1, &T1, &Q->MBEDTLS_PRIVATE(X) ) ); in ecp_add_mixed() 1384 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mod( grp, &T1, &T1, &P->MBEDTLS_PRIVATE(X) ) ); in ecp_add_mixed() 1388 if( mbedtls_mpi_cmp_int( &T1, 0 ) == 0 ) in ecp_add_mixed() 1402 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mod( grp, &Z, &P->MBEDTLS_PRIVATE(Z), &T1 ) ); in ecp_add_mixed() 1403 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mod( grp, &T3, &T1, &T1 ) ); in ecp_add_mixed() 1404 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mod( grp, &T4, &T3, &T1 ) ); in ecp_add_mixed() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/ |
D | pka_hw_defs.h | 128 #define PKA_SET_N_NP_T0_T1_REG(N, NP, T0, T1) \ argument 134 (T1) << PKA_N_NP_T0_T1_REG_T1_POS ) )
|