mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Add comment on internal function API
This commit is contained in:
		
							parent
							
								
									d8b73f2312
								
							
						
					
					
						commit
						c0edc96704
					
				@ -41,6 +41,10 @@
 | 
				
			|||||||
#if !defined(MBEDTLS_ECDH_GEN_PUBLIC_ALT)
 | 
					#if !defined(MBEDTLS_ECDH_GEN_PUBLIC_ALT)
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * Generate public key (restartable version)
 | 
					 * Generate public key (restartable version)
 | 
				
			||||||
 | 
					 *
 | 
				
			||||||
 | 
					 * Note: this internal function relies on its caller preserving the value of
 | 
				
			||||||
 | 
					 * the output parameter 'd' accross continuation calls. This would not be
 | 
				
			||||||
 | 
					 * acceptable for a public function but is OK here as we control call sites.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
static int ecdh_gen_public_restartable( mbedtls_ecp_group *grp,
 | 
					static int ecdh_gen_public_restartable( mbedtls_ecp_group *grp,
 | 
				
			||||||
                    mbedtls_mpi *d, mbedtls_ecp_point *Q,
 | 
					                    mbedtls_mpi *d, mbedtls_ecp_point *Q,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user