Lines Matching refs:L
203 mbedtls_mpi K, L; in mbedtls_rsa_deduce_private_exponent() local
216 mbedtls_mpi_init( &L ); in mbedtls_rsa_deduce_private_exponent()
220 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_int( &L, Q, 1 ) ); in mbedtls_rsa_deduce_private_exponent()
223 MBEDTLS_MPI_CHK( mbedtls_mpi_gcd( D, &K, &L ) ); in mbedtls_rsa_deduce_private_exponent()
226 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &K, &K, &L ) ); in mbedtls_rsa_deduce_private_exponent()
235 mbedtls_mpi_free( &L ); in mbedtls_rsa_deduce_private_exponent()
249 mbedtls_mpi K, L; in mbedtls_rsa_validate_crt() local
251 mbedtls_mpi_init( &L ); in mbedtls_rsa_validate_crt()
263 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &L, DP, D ) ); in mbedtls_rsa_validate_crt()
264 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &L, &L, &K ) ); in mbedtls_rsa_validate_crt()
266 if( mbedtls_mpi_cmp_int( &L, 0 ) != 0 ) in mbedtls_rsa_validate_crt()
283 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &L, DQ, D ) ); in mbedtls_rsa_validate_crt()
284 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &L, &L, &K ) ); in mbedtls_rsa_validate_crt()
286 if( mbedtls_mpi_cmp_int( &L, 0 ) != 0 ) in mbedtls_rsa_validate_crt()
323 mbedtls_mpi_free( &L ); in mbedtls_rsa_validate_crt()
338 mbedtls_mpi K, L; in mbedtls_rsa_validate_params() local
341 mbedtls_mpi_init( &L ); in mbedtls_rsa_validate_params()
418 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_int( &L, P, 1 ) ); in mbedtls_rsa_validate_params()
419 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &K, &K, &L ) ); in mbedtls_rsa_validate_params()
429 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_int( &L, Q, 1 ) ); in mbedtls_rsa_validate_params()
430 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &K, &K, &L ) ); in mbedtls_rsa_validate_params()
441 mbedtls_mpi_free( &L ); in mbedtls_rsa_validate_params()