fix: Loss of sign (initialization) (int to unsigned long long)
This commit is contained in:
		
							parent
							
								
									b439f83018
								
							
						
					
					
						commit
						f6ea738fee
					
				@ -54,7 +54,7 @@ int ccm_memory(int cipher,
 | 
			
		||||
   int            err;
 | 
			
		||||
   unsigned long  len, L, x, y, z, CTRlen;
 | 
			
		||||
#ifdef LTC_FAST
 | 
			
		||||
   LTC_FAST_TYPE fastMask = -1; /* initialize fastMask at all zeroes */
 | 
			
		||||
   LTC_FAST_TYPE fastMask = ~0; /* initialize fastMask at all zeroes */
 | 
			
		||||
#endif
 | 
			
		||||
   unsigned char mask = 0xff; /* initialize mask at all zeroes */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user