mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 13:17:25 +01:00 
			
		
		
		
	netdev: Add support for CCMP|GCMP-256
These are similar to CCMP/GCMP, just a different key size which is already taken care of by calling crypto_cipher_key_len
This commit is contained in:
		
							parent
							
								
									5998043bd2
								
							
						
					
					
						commit
						b3c3b08785
					
				| @ -1565,6 +1565,8 @@ static bool netdev_copy_tk(uint8_t *tk_buf, const uint8_t *tk, | ||||
| 	switch (cipher) { | ||||
| 	case CRYPTO_CIPHER_CCMP: | ||||
| 	case CRYPTO_CIPHER_GCMP: | ||||
| 	case CRYPTO_CIPHER_GCMP_256: | ||||
| 	case CRYPTO_CIPHER_CCMP_256: | ||||
| 		/*
 | ||||
| 		 * 802.11-2020 12.8.3 Mapping PTK to CCMP keys: | ||||
| 		 * "A STA shall use the temporal key as the CCMP key | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Denis Kenzior
						Denis Kenzior