Go to the documentation of this file.
35 #ifndef MBEDTLS_CHACHA20_H
36 #define MBEDTLS_CHACHA20_H
38 #if !defined(MBEDTLS_CONFIG_FILE)
41 #include MBEDTLS_CONFIG_FILE
47 #define MBEDTLS_ERR_CHACHA20_BAD_INPUT_DATA -0x0051
51 #define MBEDTLS_ERR_CHACHA20_FEATURE_UNAVAILABLE -0x0053
55 #define MBEDTLS_ERR_CHACHA20_HW_ACCEL_FAILED -0x0055
61 #if !defined(MBEDTLS_CHACHA20_ALT)
72 #include "chacha20_alt.h"
120 const unsigned char key[32] );
142 const unsigned char nonce[12],
176 const unsigned char *input,
177 unsigned char *output );
208 const unsigned char nonce[12],
211 const unsigned char* input,
212 unsigned char* output );
214 #if defined(MBEDTLS_SELF_TEST)