summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2021-04-22 10:25:04 +0200
committerDenys Vlasenko2021-04-22 10:25:04 +0200
commit972e29881a4aecde7987ee4947e609e75894fb8c (patch)
tree90160aa8bf68dc367fac07e0b7a30198f05a90fb
parent6c6470b3847d12b2d7504fa37fbf871c46792d77 (diff)
downloadbusybox-972e29881a4aecde7987ee4947e609e75894fb8c.zip
busybox-972e29881a4aecde7987ee4947e609e75894fb8c.tar.gz
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>
-rw-r--r--networking/tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tls.c b/networking/tls.c
index e34acd6..bbb1f41 100644
--- a/networking/tls.c
+++ b/networking/tls.c
@@ -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))