36 #if defined(HAVE_CHACHA)
49 } cx_chacha_context_t;
65 void cx_chacha_init(cx_chacha_context_t *ctx, uint32_t nrounds);
83 WARN_UNUSED_RESULT cx_err_t cx_chacha_set_key(cx_chacha_context_t *ctx,
107 WARN_UNUSED_RESULT cx_err_t cx_chacha_start(cx_chacha_context_t *ctx,
130 WARN_UNUSED_RESULT cx_err_t cx_chacha_update(cx_chacha_context_t *ctx,
158 WARN_UNUSED_RESULT cx_err_t cx_chacha_cipher(uint32_t nrounds,