Home
last modified time | relevance | path

Searched refs:mbedtls_chachapoly_context (Results 1 – 8 of 8) sorted by relevance

/mbedtls-development/include/mbedtls/
A Dchachapoly.h61 typedef struct mbedtls_chachapoly_context struct
70 mbedtls_chachapoly_context; typedef
118 void mbedtls_chachapoly_init( mbedtls_chachapoly_context *ctx );
127 void mbedtls_chachapoly_free( mbedtls_chachapoly_context *ctx );
140 int mbedtls_chachapoly_setkey( mbedtls_chachapoly_context *ctx,
168 int mbedtls_chachapoly_starts( mbedtls_chachapoly_context *ctx,
211 int mbedtls_chachapoly_update_aad( mbedtls_chachapoly_context *ctx,
246 int mbedtls_chachapoly_update( mbedtls_chachapoly_context *ctx,
267 int mbedtls_chachapoly_finish( mbedtls_chachapoly_context *ctx,
299 int mbedtls_chachapoly_encrypt_and_tag( mbedtls_chachapoly_context *ctx,
[all …]
/mbedtls-development/library/
A Dchachapoly.c58 static int chachapoly_pad_aad( mbedtls_chachapoly_context *ctx ) in chachapoly_pad_aad()
78 static int chachapoly_pad_ciphertext( mbedtls_chachapoly_context *ctx ) in chachapoly_pad_ciphertext()
92 void mbedtls_chachapoly_init( mbedtls_chachapoly_context *ctx ) in mbedtls_chachapoly_init()
104 void mbedtls_chachapoly_free( mbedtls_chachapoly_context *ctx ) in mbedtls_chachapoly_free()
117 int mbedtls_chachapoly_setkey( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_setkey()
129 int mbedtls_chachapoly_starts( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_starts()
169 int mbedtls_chachapoly_update_aad( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_update_aad()
184 int mbedtls_chachapoly_update( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_update()
235 int mbedtls_chachapoly_finish( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_finish()
278 static int chachapoly_crypt_and_tag( mbedtls_chachapoly_context *ctx, in chachapoly_crypt_and_tag()
[all …]
A Dcipher.c518 result = mbedtls_chachapoly_starts( (mbedtls_chachapoly_context*) ctx->cipher_ctx, in mbedtls_cipher_update_ad()
524 return( mbedtls_chachapoly_update_aad( (mbedtls_chachapoly_context*) ctx->cipher_ctx, in mbedtls_cipher_update_ad()
601 return( mbedtls_chachapoly_update( (mbedtls_chachapoly_context*) ctx->cipher_ctx, in mbedtls_cipher_update()
1165 (mbedtls_chachapoly_context*) ctx->cipher_ctx, tag ) ); in mbedtls_cipher_write_tag()
1232 (mbedtls_chachapoly_context*) ctx->cipher_ctx, check_tag ); in mbedtls_cipher_check_tag()
A Dcipher_wrap.c1861 if ( 0 != mbedtls_chachapoly_setkey( (mbedtls_chachapoly_context*)ctx, key ) ) in chachapoly_setkey_wrap()
1869 mbedtls_chachapoly_context *ctx; in chachapoly_ctx_alloc()
1870 ctx = mbedtls_calloc( 1, sizeof( mbedtls_chachapoly_context ) ); in chachapoly_ctx_alloc()
1882 mbedtls_chachapoly_free( (mbedtls_chachapoly_context *) ctx ); in chachapoly_ctx_free()
/mbedtls-development/tests/include/alt-dummy/
A Dchachapoly_alt.h24 typedef struct mbedtls_chachapoly_context struct
28 mbedtls_chachapoly_context; typedef
/mbedtls-development/tests/suites/
A Dtest_suite_chachapoly.function15 mbedtls_chachapoly_context ctx;
43 mbedtls_chachapoly_context ctx;
80 mbedtls_chachapoly_context ctx;
/mbedtls-development/include/psa/
A Dcrypto_builtin_composites.h106 mbedtls_chachapoly_context MBEDTLS_PRIVATE(chachapoly);
/mbedtls-development/programs/test/
A Dbenchmark.c807 mbedtls_chachapoly_context chachapoly; in main()

Completed in 14 milliseconds