mirror of
				https://github.com/open-quantum-safe/liboqs.git
				synced 2025-11-04 00:02:35 -05:00 
			
		
		
		
	Keccak4x needs both AVX2 and AES
This commit is contained in:
		
							parent
							
								
									decb6b198c
								
							
						
					
					
						commit
						ac467b470c
					
				@ -6,7 +6,9 @@ if USE_SHA3_OPENSSL
 | 
			
		||||
libsha3_la_SOURCES += sha3_ossl.c
 | 
			
		||||
endif
 | 
			
		||||
if USE_AVX2_INSTRUCTIONS
 | 
			
		||||
if USE_AES_INSTRUCTIONS
 | 
			
		||||
libsha3_la_SOURCES += sha3x4.c
 | 
			
		||||
endif
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
sha3_c.c: fips202.c sp800-185.c
 | 
			
		||||
 | 
			
		||||
@ -499,7 +499,7 @@ void OQS_SHA3_cshake128_simple(uint8_t *output, size_t outlen, uint16_t cstm, co
 | 
			
		||||
*/
 | 
			
		||||
void OQS_SHA3_cshake256_simple(uint8_t *output, size_t outlen, uint16_t cstm, const uint8_t *input, size_t inplen);
 | 
			
		||||
 | 
			
		||||
#ifdef USE_AVX2_INSTRUCTIONS
 | 
			
		||||
#if defined(USE_AVX2_INSTRUCTIONS) && defined(USE_AES_INSTRUCTIONS)
 | 
			
		||||
/**
 | 
			
		||||
 * \brief Seed 4 parallel SHAKE-128 instances, and generate 4 arrays of pseudo-random bytes.
 | 
			
		||||
 *
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user