tls: make constant basepoint9[32] array 8-byte aligned
Has no effect on binary size, but likely to be more efficient. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
		@@ -1953,7 +1953,7 @@ static void send_client_key_exchange(tls_state_t *tls)
 | 
			
		||||
		premaster_size = sizeof(rsa_premaster);
 | 
			
		||||
	} else {
 | 
			
		||||
		/* ECDHE */
 | 
			
		||||
		static const uint8_t basepoint9[CURVE25519_KEYSIZE] ALIGN1 = {9};
 | 
			
		||||
		static const uint8_t basepoint9[CURVE25519_KEYSIZE] ALIGN8 = {9};
 | 
			
		||||
		uint8_t privkey[CURVE25519_KEYSIZE]; //[32]
 | 
			
		||||
 | 
			
		||||
		if (!(tls->flags & GOT_EC_KEY))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user