Home
last modified time | relevance | path

Searched refs:mbedtls_chachapoly_context (Results 1 - 7 of 7) sorted by relevance

/third_party/mbedtls/include/mbedtls/
H A Dchachapoly.h60 typedef struct mbedtls_chachapoly_context { struct
68 mbedtls_chachapoly_context; typedef
116 void mbedtls_chachapoly_init(mbedtls_chachapoly_context *ctx);
125 void mbedtls_chachapoly_free(mbedtls_chachapoly_context *ctx);
138 int mbedtls_chachapoly_setkey(mbedtls_chachapoly_context *ctx,
166 int mbedtls_chachapoly_starts(mbedtls_chachapoly_context *ctx,
209 int mbedtls_chachapoly_update_aad(mbedtls_chachapoly_context *ctx,
244 int mbedtls_chachapoly_update(mbedtls_chachapoly_context *ctx,
265 int mbedtls_chachapoly_finish(mbedtls_chachapoly_context *ctx,
297 int mbedtls_chachapoly_encrypt_and_tag(mbedtls_chachapoly_context *ct
[all...]
/third_party/mbedtls/library/
H A 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 *ct
[all...]
H A 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()
1218 (mbedtls_chachapoly_context *) ctx->cipher_ctx, tag); in mbedtls_cipher_write_tag()
1284 (mbedtls_chachapoly_context *) ctx->cipher_ctx, check_tag); in mbedtls_cipher_check_tag()
H A 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()
/third_party/mbedtls/tests/include/alt-dummy/
H A Dchachapoly_alt.h24 typedef struct mbedtls_chachapoly_context { struct
27 mbedtls_chachapoly_context; typedef
/third_party/mbedtls/include/psa/
H A Dcrypto_builtin_composites.h96 mbedtls_chachapoly_context MBEDTLS_PRIVATE(chachapoly);
/third_party/mbedtls/programs/test/
H A Dbenchmark.c867 mbedtls_chachapoly_context chachapoly; in main()

Completed in 8 milliseconds