From 3c6ed63537d68e6be62253725a6b61bfa6482e1e Mon Sep 17 00:00:00 2001 From: Gautham Kuppuswamy Date: Tue, 30 Jul 2024 04:58:13 -0400 Subject: [PATCH] alginment correction of curve array Signed-off-by: Gautham Kuppuswamy --- h/tls.h | 64 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/h/tls.h b/h/tls.h index 220ba4c51..76a09a9d3 100644 --- a/h/tls.h +++ b/h/tls.h @@ -284,38 +284,38 @@ typedef struct CipherMap_tag { #define TLS_IANA_CURVE_MAP(ianaCurveMap)\ static const CurveMap ianaCurveMap[] = {\ - {"sect163k1", TLS_CURVE_SECT163K1},\ - {"sect163r1", TLS_CURVE_SECT163R1},\ - {"sect163r2", TLS_CURVE_SECT163R2},\ - {"sect193r1", TLS_CURVE_SECT193R1},\ - {"sect193r2", TLS_CURVE_SECT193R2},\ - {"sect233k1", TLS_CURVE_SECT233K1},\ - {"sect233r1", TLS_CURVE_SECT233R1},\ - {"sect239k1", TLS_CURVE_SECT239K1},\ - {"sect283k1", TLS_CURVE_SECT283K1},\ - {"sect283r1", TLS_CURVE_SECT283R1},\ - {"sect409k1", TLS_CURVE_SECT409K1},\ - {"sect409r1", TLS_CURVE_SECT409R1},\ - {"sect571k1", TLS_CURVE_SECT571K1},\ - {"sect571r1", TLS_CURVE_SECT571R1},\ - {"secp160k1", TLS_CURVE_SECP160K1},\ - {"secp160r1", TLS_CURVE_SECP160R1},\ - {"secp160r2", TLS_CURVE_SECP160R2},\ - {"secp192k1", TLS_CURVE_SECP192K1},\ - {"prime192v",TLS_CURVE_PRIME192V},\ - {"secp224k1", TLS_CURVE_SECP224K1},\ - {"secp224r1", TLS_CURVE_SECP224R1},\ - {"secp256k1", TLS_CURVE_SECP256K1},\ - {"secp384r1", TLS_CURVE_SECP384R1},\ - {"prime256v1",TLS_CURVE_PRIME256V1},\ - {"secp521r1", TLS_CURVE_SECP521R1},\ - {"brainpoolP256r1", TLS_CURVE_BRAINPOOLP256R1},\ - {"brainpoolP384r1", TLS_CURVE_BRAINPOOLP384R1},\ - {"brainpoolP512r1", TLS_CURVE_BRAINPOOLP512R1},\ - {"brainpoolP256r1tls13", TLS_CURVE_BRAINPOOLP256R1TLS13},\ - {"brainpoolP384r1tls13", TLS_CURVE_BRAINPOOLP384R1TLS13},\ - {"brainpoolP512r1tls13", TLS_CURVE_BRAINPOOLP512R1TLS13},\ - {0, NULL}\ + {"sect163k1", TLS_CURVE_SECT163K1},\ + {"sect163r1", TLS_CURVE_SECT163R1},\ + {"sect163r2", TLS_CURVE_SECT163R2},\ + {"sect193r1", TLS_CURVE_SECT193R1},\ + {"sect193r2", TLS_CURVE_SECT193R2},\ + {"sect233k1", TLS_CURVE_SECT233K1},\ + {"sect233r1", TLS_CURVE_SECT233R1},\ + {"sect239k1", TLS_CURVE_SECT239K1},\ + {"sect283k1", TLS_CURVE_SECT283K1},\ + {"sect283r1", TLS_CURVE_SECT283R1},\ + {"sect409k1", TLS_CURVE_SECT409K1},\ + {"sect409r1", TLS_CURVE_SECT409R1},\ + {"sect571k1", TLS_CURVE_SECT571K1},\ + {"sect571r1", TLS_CURVE_SECT571R1},\ + {"secp160k1", TLS_CURVE_SECP160K1},\ + {"secp160r1", TLS_CURVE_SECP160R1},\ + {"secp160r2", TLS_CURVE_SECP160R2},\ + {"secp192k1", TLS_CURVE_SECP192K1},\ + {"prime192v",TLS_CURVE_PRIME192V},\ + {"secp224k1", TLS_CURVE_SECP224K1},\ + {"secp224r1", TLS_CURVE_SECP224R1},\ + {"secp256k1", TLS_CURVE_SECP256K1},\ + {"secp384r1", TLS_CURVE_SECP384R1},\ + {"prime256v1",TLS_CURVE_PRIME256V1},\ + {"secp521r1", TLS_CURVE_SECP521R1},\ + {"brainpoolP256r1", TLS_CURVE_BRAINPOOLP256R1},\ + {"brainpoolP384r1", TLS_CURVE_BRAINPOOLP384R1},\ + {"brainpoolP512r1", TLS_CURVE_BRAINPOOLP512R1},\ + {"brainpoolP256r1tls13", TLS_CURVE_BRAINPOOLP256R1TLS13},\ + {"brainpoolP384r1tls13", TLS_CURVE_BRAINPOOLP384R1TLS13},\ + {"brainpoolP512r1tls13", TLS_CURVE_BRAINPOOLP512R1TLS13},\ + {0, NULL}\ }; int tlsInit(TlsEnvironment **outEnv, TlsSettings *settings);