Searched refs:mbedtls_chacha20_context (Results 1 – 7 of 7) sorted by relevance
/mbedtls-latest/include/mbedtls/ |
D | chacha20.h | 38 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,
|
D | chachapoly.h | 49 mbedtls_chacha20_context MBEDTLS_PRIVATE(chacha20_ctx); /**< The ChaCha20 context. */
|
/mbedtls-latest/library/ |
D | chacha20.c | 143 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()
|
D | cipher_wrap.c | 1893 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()
|
D | cipher.c | 455 if (0 != mbedtls_chacha20_starts((mbedtls_chacha20_context *) ctx->cipher_ctx, in mbedtls_cipher_set_iv()
|
/mbedtls-latest/tests/include/alt-dummy/ |
D | chacha20_alt.h | 10 typedef struct mbedtls_chacha20_context { struct 13 mbedtls_chacha20_context; argument
|
/mbedtls-latest/tests/suites/ |
D | test_suite_chacha20.function | 18 mbedtls_chacha20_context ctx;
|