mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-30 19:20:40 -04:00 
			
		
		
		
	Clarify guarantees made by successful mbedtls_rsa_complete call
This commit is contained in:
		
							parent
							
								
									b269a8584a
								
							
						
					
					
						commit
						603b8c62c4
					
				| @ -396,11 +396,9 @@ int mbedtls_rsa_import_raw( mbedtls_rsa_context *ctx, | |||||||
|  *                 like the derivation of P, Q from N, D, E, as |  *                 like the derivation of P, Q from N, D, E, as | ||||||
|  *                 well as primality checks. |  *                 well as primality checks. | ||||||
|  * |  * | ||||||
|  * \return         - 0 if successful. In this case, all core parameters |  * \return         - 0 if successful. In this case, all imported core | ||||||
|  *                   as well as other internally needed parameters have |  *                   parameters are guaranteed to be sane, the RSA context | ||||||
|  *                   been generated, and it is guaranteed that they are |  *                   has been fully setup and is ready for use. | ||||||
|  *                   sane in the sense of \c mbedtls_rsa_validate_params |  | ||||||
|  *                   (with primality of P, Q checked if a PRNG is given). |  | ||||||
|  *                 - MBEDTLS_ERR_RSA_BAD_INPUT_DATA if the attempted |  *                 - MBEDTLS_ERR_RSA_BAD_INPUT_DATA if the attempted | ||||||
|  *                   derivations failed. |  *                   derivations failed. | ||||||
|  */ |  */ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Hanno Becker
						Hanno Becker