Searched refs:mbedtls_chacha20_context (Results 1 – 5 of 5) sorted by relevance
/AliOS-Things-master/components/mbedtls/include/mbedtls/ |
A D | chacha20.h | 61 typedef struct mbedtls_chacha20_context struct 67 mbedtls_chacha20_context; argument 88 void mbedtls_chacha20_init( mbedtls_chacha20_context *ctx ); 99 void mbedtls_chacha20_free( mbedtls_chacha20_context *ctx ); 117 int mbedtls_chacha20_setkey( mbedtls_chacha20_context *ctx, 139 int mbedtls_chacha20_starts( mbedtls_chacha20_context* ctx, 172 int mbedtls_chacha20_update( mbedtls_chacha20_context *ctx,
|
A D | chachapoly.h | 65 mbedtls_chacha20_context chacha20_ctx; /**< The ChaCha20 context. */
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | chacha20.c | 188 void mbedtls_chacha20_init( mbedtls_chacha20_context *ctx ) in mbedtls_chacha20_init() 199 void mbedtls_chacha20_free( mbedtls_chacha20_context *ctx ) in mbedtls_chacha20_free() 203 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_chacha20_context ) ); in mbedtls_chacha20_free() 207 int mbedtls_chacha20_setkey( mbedtls_chacha20_context *ctx, in mbedtls_chacha20_setkey() 232 int mbedtls_chacha20_starts( mbedtls_chacha20_context* ctx, in mbedtls_chacha20_starts() 255 int mbedtls_chacha20_update( mbedtls_chacha20_context *ctx, in mbedtls_chacha20_update() 327 mbedtls_chacha20_context ctx; in mbedtls_chacha20_crypt()
|
A D | cipher_wrap.c | 1905 if ( 0 != mbedtls_chacha20_setkey( (mbedtls_chacha20_context*)ctx, key ) ) in chacha20_setkey_wrap() 1926 mbedtls_chacha20_context *ctx; in chacha20_ctx_alloc() 1927 ctx = mbedtls_calloc( 1, sizeof( mbedtls_chacha20_context ) ); in chacha20_ctx_alloc() 1939 mbedtls_chacha20_free( (mbedtls_chacha20_context *) ctx ); in chacha20_ctx_free()
|
A D | cipher.c | 278 if ( 0 != mbedtls_chacha20_starts( (mbedtls_chacha20_context*)ctx->cipher_ctx, in mbedtls_cipher_set_iv()
|
Completed in 10 milliseconds