Searched refs:mbedtls_chacha20_context (Results 1 – 7 of 7) sorted by relevance
/third_party/mbedtls/include/mbedtls/ |
D | chacha20.h | 50 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,
|
D | chachapoly.h | 63 mbedtls_chacha20_context MBEDTLS_PRIVATE(chacha20_ctx); /**< The ChaCha20 context. */
|
/third_party/mbedtls/library/ |
D | chacha20.c | 173 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()
|
D | cipher_wrap.c | 1776 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()
|
D | cipher.c | 389 if ( 0 != mbedtls_chacha20_starts( (mbedtls_chacha20_context*)ctx->cipher_ctx, in mbedtls_cipher_set_iv()
|
/third_party/mbedtls/tests/include/alt-dummy/ |
D | chacha20_alt.h | 22 typedef struct mbedtls_chacha20_context struct 26 mbedtls_chacha20_context; argument
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_chacha20.function | 18 mbedtls_chacha20_context ctx;
|