Home
last modified time | relevance | path

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

/mbedtls-3.6.0/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-3.6.0/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.c547 result = mbedtls_chachapoly_starts((mbedtls_chachapoly_context *) ctx->cipher_ctx, in mbedtls_cipher_update_ad()
554 return mbedtls_chachapoly_update_aad((mbedtls_chachapoly_context *) ctx->cipher_ctx, in mbedtls_cipher_update_ad()
623 return mbedtls_chachapoly_update((mbedtls_chachapoly_context *) ctx->cipher_ctx, in mbedtls_cipher_update()
1202 (mbedtls_chachapoly_context *) ctx->cipher_ctx, tag); in mbedtls_cipher_write_tag()
1268 (mbedtls_chachapoly_context *) ctx->cipher_ctx, check_tag); in mbedtls_cipher_check_tag()
Dcipher_wrap.c1930 if (0 != mbedtls_chachapoly_setkey((mbedtls_chachapoly_context *) ctx, key)) { in chachapoly_setkey_wrap()
1939 mbedtls_chachapoly_context *ctx; in chachapoly_ctx_alloc()
1940 ctx = mbedtls_calloc(1, sizeof(mbedtls_chachapoly_context)); in chachapoly_ctx_alloc()
1953 mbedtls_chachapoly_free((mbedtls_chachapoly_context *) ctx); in chachapoly_ctx_free()
/mbedtls-3.6.0/tests/include/alt-dummy/
Dchachapoly_alt.h12 typedef struct mbedtls_chachapoly_context { struct
15 mbedtls_chachapoly_context; argument
/mbedtls-3.6.0/tests/suites/
Dtest_suite_chachapoly.function20 mbedtls_chachapoly_context ctx;
54 mbedtls_chachapoly_context ctx;
90 mbedtls_chachapoly_context ctx;
/mbedtls-3.6.0/include/psa/
Dcrypto_builtin_composites.h92 mbedtls_chachapoly_context MBEDTLS_PRIVATE(chachapoly);
/mbedtls-3.6.0/programs/test/
Dbenchmark.c788 mbedtls_chachapoly_context chachapoly; in main()