Go to the documentation of this file.
33 #ifndef MBEDTLS_CHACHA20_H
34 #define MBEDTLS_CHACHA20_H
36 #if !defined(MBEDTLS_CONFIG_FILE)
39 #include MBEDTLS_CONFIG_FILE
45 #define MBEDTLS_ERR_CHACHA20_BAD_INPUT_DATA -0x0051
49 #define MBEDTLS_ERR_CHACHA20_FEATURE_UNAVAILABLE -0x0053
53 #define MBEDTLS_ERR_CHACHA20_HW_ACCEL_FAILED -0x0055
59 #if !defined(MBEDTLS_CHACHA20_ALT)
70 #include "chacha20_alt.h"
111 const unsigned char key[32] );
132 const unsigned char nonce[12],
166 const unsigned char *input,
167 unsigned char *output );
198 const unsigned char nonce[12],
201 const unsigned char* input,
202 unsigned char* output );
204 #if defined(MBEDTLS_SELF_TEST)