mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-30 19:20:40 -04:00 
			
		
		
		
	Correct outdated comment
This commit is contained in:
		
							parent
							
								
									4e1be398f6
								
							
						
					
					
						commit
						2dec5e8b00
					
				| @ -585,8 +585,9 @@ int mbedtls_rsa_private( mbedtls_rsa_context *ctx, | |||||||
|         MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &T, &T, &ctx->N ) ); |         MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &T, &T, &ctx->N ) ); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     /* If requested by the config, verify the result to prevent glitching attacks. */ |     /* Verify the result to prevent glitching attacks. */ | ||||||
|     MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &C, &T, &ctx->E, &ctx->N, &ctx->RN ) ); |     MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &C, &T, &ctx->E, | ||||||
|  |                                           &ctx->N, &ctx->RN ) ); | ||||||
|     if( mbedtls_mpi_cmp_mpi( &C, &I ) != 0 ) |     if( mbedtls_mpi_cmp_mpi( &C, &I ) != 0 ) | ||||||
|     { |     { | ||||||
|         ret = MBEDTLS_ERR_RSA_VERIFY_FAILED; |         ret = MBEDTLS_ERR_RSA_VERIFY_FAILED; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Hanno Becker
						Hanno Becker