mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			psa: Fix style in psa_hrng.c
							parent
							
								
									5d6ec71171
								
							
						
					
					
						commit
						8b5a2ff2d9
					
				| 
						 | 
				
			
			@ -34,13 +34,13 @@ MBED_WEAK void trng_free(trng_t *obj)
 | 
			
		|||
 | 
			
		||||
MBED_WEAK int trng_get_bytes(trng_t *obj, uint8_t *output, size_t length, size_t *output_length)
 | 
			
		||||
{
 | 
			
		||||
   ((void)(obj));
 | 
			
		||||
    if (output == NULL || output_length == NULL){
 | 
			
		||||
    ((void)(obj));
 | 
			
		||||
    if (output == NULL || output_length == NULL) {
 | 
			
		||||
        return -1;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    psa_status_t status = psa_crypto_init();
 | 
			
		||||
    if(status != PSA_SUCCESS) {
 | 
			
		||||
    if (status != PSA_SUCCESS) {
 | 
			
		||||
        return -1;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue