Searched refs:mbedtls_chachapoly_context (Results 1 – 5 of 5) sorted by relevance
/AliOS-Things-master/components/mbedtls/include/mbedtls/ |
A D | chachapoly.h | 63 typedef struct mbedtls_chachapoly_context struct 72 mbedtls_chachapoly_context; argument 120 void mbedtls_chachapoly_init( mbedtls_chachapoly_context *ctx ); 129 void mbedtls_chachapoly_free( mbedtls_chachapoly_context *ctx ); 142 int mbedtls_chachapoly_setkey( mbedtls_chachapoly_context *ctx, 170 int mbedtls_chachapoly_starts( mbedtls_chachapoly_context *ctx, 213 int mbedtls_chachapoly_update_aad( mbedtls_chachapoly_context *ctx, 248 int mbedtls_chachapoly_update( mbedtls_chachapoly_context *ctx, 269 int mbedtls_chachapoly_finish( mbedtls_chachapoly_context *ctx, 301 int mbedtls_chachapoly_encrypt_and_tag( mbedtls_chachapoly_context *ctx, [all …]
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | chachapoly.c | 63 static int chachapoly_pad_aad( mbedtls_chachapoly_context *ctx ) in chachapoly_pad_aad() 83 static int chachapoly_pad_ciphertext( mbedtls_chachapoly_context *ctx ) in chachapoly_pad_ciphertext() 97 void mbedtls_chachapoly_init( mbedtls_chachapoly_context *ctx ) in mbedtls_chachapoly_init() 109 void mbedtls_chachapoly_free( mbedtls_chachapoly_context *ctx ) in mbedtls_chachapoly_free() 122 int mbedtls_chachapoly_setkey( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_setkey() 134 int mbedtls_chachapoly_starts( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_starts() 174 int mbedtls_chachapoly_update_aad( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_update_aad() 189 int mbedtls_chachapoly_update( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_update() 240 int mbedtls_chachapoly_finish( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_finish() 297 static int chachapoly_crypt_and_tag( mbedtls_chachapoly_context *ctx, in chachapoly_crypt_and_tag() [all …]
|
A D | cipher.c | 334 result = mbedtls_chachapoly_starts( (mbedtls_chachapoly_context*) ctx->cipher_ctx, in mbedtls_cipher_update_ad() 340 return( mbedtls_chachapoly_update_aad( (mbedtls_chachapoly_context*) ctx->cipher_ctx, in mbedtls_cipher_update_ad() 394 return( mbedtls_chachapoly_update( (mbedtls_chachapoly_context*) ctx->cipher_ctx, in mbedtls_cipher_update() 927 return( mbedtls_chachapoly_finish( (mbedtls_chachapoly_context*) ctx->cipher_ctx, in mbedtls_cipher_write_tag() 978 ret = mbedtls_chachapoly_finish( (mbedtls_chachapoly_context*) ctx->cipher_ctx, in mbedtls_cipher_check_tag()
|
A D | cipher_wrap.c | 1990 if ( 0 != mbedtls_chachapoly_setkey( (mbedtls_chachapoly_context*)ctx, key ) ) in chachapoly_setkey_wrap() 1998 mbedtls_chachapoly_context *ctx; in chachapoly_ctx_alloc() 1999 ctx = mbedtls_calloc( 1, sizeof( mbedtls_chachapoly_context ) ); in chachapoly_ctx_alloc() 2011 mbedtls_chachapoly_free( (mbedtls_chachapoly_context *) ctx ); in chachapoly_ctx_free()
|
/AliOS-Things-master/components/mbedtls/programs/test/ |
A D | benchmark.c | 540 mbedtls_chachapoly_context chachapoly; in main()
|
Completed in 13 milliseconds