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:
@@ -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