Home
last modified time | relevance | path

Searched refs:mbedtls_chacha20_context (Results 1 - 6 of 6) sorted by relevance

/third_party/mbedtls/include/mbedtls/
H A Dchacha20.h50 typedef struct mbedtls_chacha20_context { struct
55 mbedtls_chacha20_context; typedef
76 void mbedtls_chacha20_init(mbedtls_chacha20_context *ctx);
87 void mbedtls_chacha20_free(mbedtls_chacha20_context *ctx);
105 int mbedtls_chacha20_setkey(mbedtls_chacha20_context *ctx,
127 int mbedtls_chacha20_starts(mbedtls_chacha20_context *ctx,
160 int mbedtls_chacha20_update(mbedtls_chacha20_context *ctx,
H A Dchachapoly.h61 mbedtls_chacha20_context MBEDTLS_PRIVATE(chacha20_ctx); /**< The ChaCha20 context. */
/third_party/mbedtls/tests/include/alt-dummy/
H A Dchacha20_alt.h22 typedef struct mbedtls_chacha20_context { struct
25 mbedtls_chacha20_context; typedef
/third_party/mbedtls/library/
H A Dchacha20.c155 void mbedtls_chacha20_init(mbedtls_chacha20_context *ctx) in mbedtls_chacha20_init()
164 void mbedtls_chacha20_free(mbedtls_chacha20_context *ctx) in mbedtls_chacha20_free()
167 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_chacha20_context)); in mbedtls_chacha20_free()
171 int mbedtls_chacha20_setkey(mbedtls_chacha20_context *ctx, in mbedtls_chacha20_setkey()
193 int mbedtls_chacha20_starts(mbedtls_chacha20_context *ctx, in mbedtls_chacha20_starts()
213 int mbedtls_chacha20_update(mbedtls_chacha20_context *ctx, in mbedtls_chacha20_update()
264 mbedtls_chacha20_context ctx; in mbedtls_chacha20_crypt()
H A 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()
H A Dcipher.c455 if (0 != mbedtls_chacha20_starts((mbedtls_chacha20_context *) ctx->cipher_ctx, in mbedtls_cipher_set_iv()

Completed in 9 milliseconds