tls: simplify sp_256_ecc_gen_k_10, cosmetic changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/networking/tls.h b/networking/tls.h
index 154e9b2..215e92b 100644
--- a/networking/tls.h
+++ b/networking/tls.h
@@ -111,9 +111,9 @@
#define CURVE25519_KEYSIZE 32
void curve_x25519_compute_pubkey_and_premaster(
- uint8_t *pubkey, uint8_t *premaster,
+ uint8_t *pubkey32, uint8_t *premaster32,
const uint8_t *peerkey32) FAST_FUNC;
void curve_P256_compute_pubkey_and_premaster(
- uint8_t *pubkey, uint8_t *premaster,
- const uint8_t *peerkey32) FAST_FUNC;
+ uint8_t *pubkey2x32, uint8_t *premaster32,
+ const uint8_t *peerkey2x32) FAST_FUNC;