chachapoly: Use a function instead of an extern variable

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-06-30 14:23:05 +02:00
parent a19513b87a
commit 6dd9303729
5 changed files with 10 additions and 8 deletions

View File

@@ -161,4 +161,6 @@ struct ssh_cipher_struct {
void (*cleanup)(struct ssh_cipher_struct *cipher);
};
const struct ssh_cipher_struct *ssh_get_chacha20poly1305_cipher(void);
#endif /* _CRYPTO_H_ */