Home
last modified time | relevance | path

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

/third_party/mbedtls/include/mbedtls/
Dchacha20.h50 typedef struct mbedtls_chacha20_context struct
56 mbedtls_chacha20_context; typedef
77 void mbedtls_chacha20_init( mbedtls_chacha20_context *ctx );
88 void mbedtls_chacha20_free( mbedtls_chacha20_context *ctx );
106 int mbedtls_chacha20_setkey( mbedtls_chacha20_context *ctx,
128 int mbedtls_chacha20_starts( mbedtls_chacha20_context* ctx,
161 int mbedtls_chacha20_update( mbedtls_chacha20_context *ctx,
Dchachapoly.h63 mbedtls_chacha20_context MBEDTLS_PRIVATE(chacha20_ctx); /**< The ChaCha20 context. */
/third_party/mbedtls/library/
Dchacha20.c173 void mbedtls_chacha20_init( mbedtls_chacha20_context *ctx ) in mbedtls_chacha20_init()
184 void mbedtls_chacha20_free( mbedtls_chacha20_context *ctx ) in mbedtls_chacha20_free()
188 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_chacha20_context ) ); in mbedtls_chacha20_free()
192 int mbedtls_chacha20_setkey( mbedtls_chacha20_context *ctx, in mbedtls_chacha20_setkey()
217 int mbedtls_chacha20_starts( mbedtls_chacha20_context* ctx, in mbedtls_chacha20_starts()
240 int mbedtls_chacha20_update( mbedtls_chacha20_context *ctx, in mbedtls_chacha20_update()
312 mbedtls_chacha20_context ctx; in mbedtls_chacha20_crypt()
Dcipher_wrap.c1776 if ( 0 != mbedtls_chacha20_setkey( (mbedtls_chacha20_context*)ctx, key ) ) in chacha20_setkey_wrap()
1797 mbedtls_chacha20_context *ctx; in chacha20_ctx_alloc()
1798 ctx = mbedtls_calloc( 1, sizeof( mbedtls_chacha20_context ) ); in chacha20_ctx_alloc()
1810 mbedtls_chacha20_free( (mbedtls_chacha20_context *) ctx ); in chacha20_ctx_free()
Dcipher.c389 if ( 0 != mbedtls_chacha20_starts( (mbedtls_chacha20_context*)ctx->cipher_ctx, in mbedtls_cipher_set_iv()
/third_party/mbedtls/tests/include/alt-dummy/
Dchacha20_alt.h22 typedef struct mbedtls_chacha20_context struct
26 mbedtls_chacha20_context; argument
/third_party/mbedtls/tests/suites/
Dtest_suite_chacha20.function18 mbedtls_chacha20_context ctx;