1
0
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:
Rhys Weatherley
2018-06-17 15:50:43 +10:00
parent 8fd4a994dc
commit e04733b8a5
26 changed files with 6 additions and 952 deletions

View File

@@ -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;
}