mirror of
https://github.com/taigrr/arduinolibs
synced 2025-01-18 04:33:12 -08:00
Remove XXfallback and Noise Pipes
Fallback protocols are not needed for NoiseTinyLink, so simplify.
This commit is contained in:
@@ -97,9 +97,6 @@ SOURCES += \
|
||||
Noise_NNpsk0_25519_ChaChaPoly_BLAKE2s.cpp \
|
||||
Noise_NNpsk0_25519_ChaChaPoly_SHA256.cpp \
|
||||
Noise_NNpsk0.cpp \
|
||||
Noise_Pipes_25519_AESGCM_SHA256.cpp \
|
||||
Noise_Pipes_25519_ChaChaPoly_BLAKE2s.cpp \
|
||||
Noise_Pipes_25519_ChaChaPoly_SHA256.cpp \
|
||||
NoiseProtocolDescriptor.cpp \
|
||||
NoiseSymmetricState_AESGCM_SHA256.cpp \
|
||||
NoiseSymmetricState_ChaChaPoly_BLAKE2s.cpp \
|
||||
@@ -108,11 +105,7 @@ SOURCES += \
|
||||
Noise_XX_25519_AESGCM_SHA256.cpp \
|
||||
Noise_XX_25519_ChaChaPoly_BLAKE2s.cpp \
|
||||
Noise_XX_25519_ChaChaPoly_SHA256.cpp \
|
||||
Noise_XX.cpp \
|
||||
Noise_XXfallback_25519_AESGCM_SHA256.cpp \
|
||||
Noise_XXfallback_25519_ChaChaPoly_BLAKE2s.cpp \
|
||||
Noise_XXfallback_25519_ChaChaPoly_SHA256.cpp \
|
||||
Noise_XXfallback.cpp
|
||||
Noise_XX.cpp
|
||||
|
||||
SKETCHES = \
|
||||
TestAcorn/TestAcorn.ino \
|
||||
|
||||
@@ -215,13 +215,6 @@ static NoiseHandshakeState *create_handshake(const char *protocol)
|
||||
if (!strcmp(protocol, "Noise_XX_25519_ChaChaPoly_SHA256"))
|
||||
return new NoiseHandshakeState_XX_25519_ChaChaPoly_SHA256();
|
||||
|
||||
if (!strcmp(protocol, "Noise_XXfallback_25519_AESGCM_SHA256"))
|
||||
return new NoiseHandshakeState_XXfallback_25519_AESGCM_SHA256();
|
||||
if (!strcmp(protocol, "Noise_XXfallback_25519_ChaChaPoly_BLAKE2s"))
|
||||
return new NoiseHandshakeState_XXfallback_25519_ChaChaPoly_BLAKE2s();
|
||||
if (!strcmp(protocol, "Noise_XXfallback_25519_ChaChaPoly_SHA256"))
|
||||
return new NoiseHandshakeState_XXfallback_25519_ChaChaPoly_SHA256();
|
||||
|
||||
fail(protocol);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user