Home
last modified time | relevance | path

Searched refs:mbedtls_chacha20_context (Results 1 – 7 of 7) sorted by relevance

/mbedtls-latest/include/mbedtls/
Dchacha20.h38 typedef struct mbedtls_chacha20_context { struct
43 mbedtls_chacha20_context; typedef
64 void mbedtls_chacha20_init(mbedtls_chacha20_context *ctx);
75 void mbedtls_chacha20_free(mbedtls_chacha20_context *ctx);
93 int mbedtls_chacha20_setkey(mbedtls_chacha20_context *ctx,
115 int mbedtls_chacha20_starts(mbedtls_chacha20_context *ctx,
148 int mbedtls_chacha20_update(mbedtls_chacha20_context *ctx,
Dchachapoly.h49 mbedtls_chacha20_context MBEDTLS_PRIVATE(chacha20_ctx); /**< The ChaCha20 context. */
/mbedtls-latest/library/
Dchacha20.c143 void mbedtls_chacha20_init(mbedtls_chacha20_context *ctx) in mbedtls_chacha20_init()
152 void mbedtls_chacha20_free(mbedtls_chacha20_context *ctx) in mbedtls_chacha20_free()
155 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_chacha20_context)); in mbedtls_chacha20_free()
159 int mbedtls_chacha20_setkey(mbedtls_chacha20_context *ctx, in mbedtls_chacha20_setkey()
181 int mbedtls_chacha20_starts(mbedtls_chacha20_context *ctx, in mbedtls_chacha20_starts()
201 int mbedtls_chacha20_update(mbedtls_chacha20_context *ctx, in mbedtls_chacha20_update()
252 mbedtls_chacha20_context ctx; in mbedtls_chacha20_crypt()
Dcipher_wrap.c1893 if (0 != mbedtls_chacha20_setkey((mbedtls_chacha20_context *) ctx, key)) { in chacha20_setkey_wrap()
1916 mbedtls_chacha20_context *ctx; in chacha20_ctx_alloc()
1917 ctx = mbedtls_calloc(1, sizeof(mbedtls_chacha20_context)); in chacha20_ctx_alloc()
1930 mbedtls_chacha20_free((mbedtls_chacha20_context *) ctx); in chacha20_ctx_free()
Dcipher.c455 if (0 != mbedtls_chacha20_starts((mbedtls_chacha20_context *) ctx->cipher_ctx, in mbedtls_cipher_set_iv()
/mbedtls-latest/tests/include/alt-dummy/
Dchacha20_alt.h10 typedef struct mbedtls_chacha20_context { struct
13 mbedtls_chacha20_context; argument
/mbedtls-latest/tests/suites/
Dtest_suite_chacha20.function18 mbedtls_chacha20_context ctx;