Home
last modified time | relevance | path

Searched refs:T2 (Results 1 – 4 of 4) sorted by relevance

/net-tools-3.7.0/tinydtls-0.8.2/sha2/
Dsha2.c476 sha2_word32 T1, T2, *W256; in SHA256_Transform() local
502 T2 = Sigma0_256(a) + Maj(a, b, c); in SHA256_Transform()
510 a = T1 + T2; in SHA256_Transform()
525 T2 = Sigma0_256(a) + Maj(a, b, c); in SHA256_Transform()
533 a = T1 + T2; in SHA256_Transform()
549 a = b = c = d = e = f = g = h = T1 = T2 = 0; in SHA256_Transform()
801 sha2_word64 T1, T2, *W512 = (sha2_word64*)context->buffer; in SHA512_Transform() local
825 T2 = Sigma0_512(a) + Maj(a, b, c); in SHA512_Transform()
833 a = T1 + T2; in SHA512_Transform()
848 T2 = Sigma0_512(a) + Maj(a, b, c); in SHA512_Transform()
[all …]
/net-tools-3.7.0/mbedtls-2.4.0/library/
Decp.c1000 mbedtls_mpi T1, T2, T3, T4, X, Y, Z; in ecp_add_mixed() local
1021 …mbedtls_mpi_init( &T1 ); mbedtls_mpi_init( &T2 ); mbedtls_mpi_init( &T3 ); mbedtls_mpi_init( &T4 ); in ecp_add_mixed()
1025 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &T2, &T1, &P->Z ) ); MOD_MUL( T2 ); in ecp_add_mixed()
1027 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &T2, &T2, &Q->Y ) ); MOD_MUL( T2 ); in ecp_add_mixed()
1029 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &T2, &T2, &P->Y ) ); MOD_SUB( T2 ); in ecp_add_mixed()
1034 if( mbedtls_mpi_cmp_int( &T2, 0 ) == 0 ) in ecp_add_mixed()
1051 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &X, &T2, &T2 ) ); MOD_MUL( X ); in ecp_add_mixed()
1055 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &T3, &T3, &T2 ) ); MOD_MUL( T3 ); in ecp_add_mixed()
1065 …mbedtls_mpi_free( &T1 ); mbedtls_mpi_free( &T2 ); mbedtls_mpi_free( &T3 ); mbedtls_mpi_free( &T4 ); in ecp_add_mixed()
Drsa.c370 mbedtls_mpi T, T1, T2; in mbedtls_rsa_private() local
376 mbedtls_mpi_init( &T ); mbedtls_mpi_init( &T1 ); mbedtls_mpi_init( &T2 ); in mbedtls_rsa_private()
411 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &T2, &T, &ctx->DQ, &ctx->Q, &ctx->RQ ) ); in mbedtls_rsa_private()
416 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &T, &T1, &T2 ) ); in mbedtls_rsa_private()
424 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &T, &T2, &T1 ) ); in mbedtls_rsa_private()
446 mbedtls_mpi_free( &T ); mbedtls_mpi_free( &T1 ); mbedtls_mpi_free( &T2 ); in mbedtls_rsa_private()
Dbignum.c1321 mbedtls_mpi X, Y, Z, T1, T2; in mbedtls_mpi_div_mpi() local
1327 mbedtls_mpi_init( &T1 ); mbedtls_mpi_init( &T2 ); in mbedtls_mpi_div_mpi()
1343 MBEDTLS_MPI_CHK( mbedtls_mpi_grow( &T2, 3 ) ); in mbedtls_mpi_div_mpi()
1385 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &T2, 0 ) ); in mbedtls_mpi_div_mpi()
1386 T2.p[0] = ( i < 2 ) ? 0 : X.p[i - 2]; in mbedtls_mpi_div_mpi()
1387 T2.p[1] = ( i < 1 ) ? 0 : X.p[i - 1]; in mbedtls_mpi_div_mpi()
1388 T2.p[2] = X.p[i]; in mbedtls_mpi_div_mpi()
1390 while( mbedtls_mpi_cmp_mpi( &T1, &T2 ) > 0 ); in mbedtls_mpi_div_mpi()
1424 mbedtls_mpi_free( &T1 ); mbedtls_mpi_free( &T2 ); in mbedtls_mpi_div_mpi()