diff options
Diffstat (limited to 'libressl/include/openssl/chacha.h')
-rw-r--r-- | libressl/include/openssl/chacha.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libressl/include/openssl/chacha.h b/libressl/include/openssl/chacha.h index 8d94e626..e2345b21 100644 --- a/libressl/include/openssl/chacha.h +++ b/libressl/include/openssl/chacha.h @@ -1,4 +1,4 @@ -/* $OpenBSD: chacha.h,v 1.7 2015/12/09 14:07:55 bcook Exp $ */ +/* $OpenBSD: chacha.h,v 1.8 2019/01/22 00:59:21 dlg Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -46,6 +46,10 @@ void ChaCha(ChaCha_ctx *ctx, unsigned char *out, const unsigned char *in, void CRYPTO_chacha_20(unsigned char *out, const unsigned char *in, size_t len, const unsigned char key[32], const unsigned char iv[8], uint64_t counter); +void CRYPTO_xchacha_20(unsigned char *out, const unsigned char *in, size_t len, + const unsigned char key[32], const unsigned char iv[24]); +void CRYPTO_hchacha_20(unsigned char out[32], + const unsigned char key[32], const unsigned char iv[16]); #ifdef __cplusplus } |