Home
last modified time | relevance | path

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

/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A 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 …]
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A 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 …]
/aosp_15_r20/external/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 *ctx, in chachapoly_crypt_and_tag()
[all …]
H A 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()
H A 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()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/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 *ctx, in chachapoly_crypt_and_tag()
[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()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A Dtest_suite_chachapoly.function20 mbedtls_chachapoly_context ctx;
54 mbedtls_chachapoly_context ctx;
90 mbedtls_chachapoly_context ctx;
/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_chachapoly.function20 mbedtls_chachapoly_context ctx;
54 mbedtls_chachapoly_context ctx;
90 mbedtls_chachapoly_context ctx;
/aosp_15_r20/external/mbedtls/tests/include/alt-dummy/
H A Dchachapoly_alt.h12 typedef struct mbedtls_chachapoly_context { struct
15 mbedtls_chachapoly_context; argument
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/include/alt-dummy/
H A Dchachapoly_alt.h12 typedef struct mbedtls_chachapoly_context { struct
15 mbedtls_chachapoly_context; typedef
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/psa/
H A Dcrypto_builtin_composites.h96 mbedtls_chachapoly_context MBEDTLS_PRIVATE(chachapoly);
/aosp_15_r20/external/mbedtls/include/psa/
H A Dcrypto_builtin_composites.h92 mbedtls_chachapoly_context MBEDTLS_PRIVATE(chachapoly);
/aosp_15_r20/external/mbedtls/programs/test/
H A Dbenchmark.c788 mbedtls_chachapoly_context chachapoly; in main()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/test/
H A Dbenchmark.c867 mbedtls_chachapoly_context chachapoly; in main()