Home
last modified time | relevance | path

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

/mbedtls-latest/include/mbedtls/
Dchachapoly.h48 typedef struct mbedtls_chachapoly_context { struct
56 mbedtls_chachapoly_context; typedef
104 void mbedtls_chachapoly_init(mbedtls_chachapoly_context *ctx);
113 void mbedtls_chachapoly_free(mbedtls_chachapoly_context *ctx);
126 int mbedtls_chachapoly_setkey(mbedtls_chachapoly_context *ctx,
154 int mbedtls_chachapoly_starts(mbedtls_chachapoly_context *ctx,
197 int mbedtls_chachapoly_update_aad(mbedtls_chachapoly_context *ctx,
232 int mbedtls_chachapoly_update(mbedtls_chachapoly_context *ctx,
253 int mbedtls_chachapoly_finish(mbedtls_chachapoly_context *ctx,
285 int mbedtls_chachapoly_encrypt_and_tag(mbedtls_chachapoly_context *ctx,
[all …]
/mbedtls-latest/library/
Dchachapoly.c34 static int chachapoly_pad_aad(mbedtls_chachapoly_context *ctx) in chachapoly_pad_aad()
55 static int chachapoly_pad_ciphertext(mbedtls_chachapoly_context *ctx) in chachapoly_pad_ciphertext()
70 void mbedtls_chachapoly_init(mbedtls_chachapoly_context *ctx) in mbedtls_chachapoly_init()
80 void mbedtls_chachapoly_free(mbedtls_chachapoly_context *ctx) in mbedtls_chachapoly_free()
94 int mbedtls_chachapoly_setkey(mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_setkey()
104 int mbedtls_chachapoly_starts(mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_starts()
143 int mbedtls_chachapoly_update_aad(mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_update_aad()
156 int mbedtls_chachapoly_update(mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_update()
204 int mbedtls_chachapoly_finish(mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_finish()
244 static int chachapoly_crypt_and_tag(mbedtls_chachapoly_context *ctx, in chachapoly_crypt_and_tag()
[all …]
Dcipher.c563 result = mbedtls_chachapoly_starts((mbedtls_chachapoly_context *) ctx->cipher_ctx, in mbedtls_cipher_update_ad()
570 return mbedtls_chachapoly_update_aad((mbedtls_chachapoly_context *) ctx->cipher_ctx, in mbedtls_cipher_update_ad()
639 return mbedtls_chachapoly_update((mbedtls_chachapoly_context *) ctx->cipher_ctx, in mbedtls_cipher_update()
1221 (mbedtls_chachapoly_context *) ctx->cipher_ctx, tag); in mbedtls_cipher_write_tag()
1287 (mbedtls_chachapoly_context *) ctx->cipher_ctx, check_tag); in mbedtls_cipher_check_tag()
Dcipher_wrap.c1984 if (0 != mbedtls_chachapoly_setkey((mbedtls_chachapoly_context *) ctx, key)) { in chachapoly_setkey_wrap()
1993 mbedtls_chachapoly_context *ctx; in chachapoly_ctx_alloc()
1994 ctx = mbedtls_calloc(1, sizeof(mbedtls_chachapoly_context)); in chachapoly_ctx_alloc()
2007 mbedtls_chachapoly_free((mbedtls_chachapoly_context *) ctx); in chachapoly_ctx_free()
/mbedtls-latest/tests/include/alt-dummy/
Dchachapoly_alt.h12 typedef struct mbedtls_chachapoly_context { struct
15 mbedtls_chachapoly_context; argument
/mbedtls-latest/tests/suites/
Dtest_suite_chachapoly.function20 mbedtls_chachapoly_context ctx;
54 mbedtls_chachapoly_context ctx;
90 mbedtls_chachapoly_context ctx;
/mbedtls-latest/include/psa/
Dcrypto_builtin_composites.h96 mbedtls_chachapoly_context MBEDTLS_PRIVATE(chachapoly);
/mbedtls-latest/programs/test/
Dbenchmark.c867 mbedtls_chachapoly_context chachapoly; in main()