diff options
author | Denys Vlasenko | 2021-04-22 10:25:04 +0200 |
---|---|---|
committer | Denys Vlasenko | 2021-04-22 10:25:04 +0200 |
commit | 972e29881a4aecde7987ee4947e609e75894fb8c (patch) | |
tree | 90160aa8bf68dc367fac07e0b7a30198f05a90fb /networking/tls.c | |
parent | 6c6470b3847d12b2d7504fa37fbf871c46792d77 (diff) | |
download | busybox-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>
Diffstat (limited to 'networking/tls.c')
-rw-r--r-- | networking/tls.c | 2 |
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)) |