Home
last modified time | relevance | path

Searched refs:mbedtls_cipher_context_t (Results 1 – 20 of 20) sorted by relevance

/mbedtls-3.7.0/include/mbedtls/
Dcipher.h316 typedef struct mbedtls_cipher_context_t { struct
368 } mbedtls_cipher_context_t; typedef
591 void mbedtls_cipher_init(mbedtls_cipher_context_t *ctx);
602 void mbedtls_cipher_free(mbedtls_cipher_context_t *ctx);
631 int mbedtls_cipher_setup(mbedtls_cipher_context_t *ctx,
662 int MBEDTLS_DEPRECATED mbedtls_cipher_setup_psa(mbedtls_cipher_context_t *ctx,
679 const mbedtls_cipher_context_t *ctx) in mbedtls_cipher_get_block_size()
698 const mbedtls_cipher_context_t *ctx) in mbedtls_cipher_get_cipher_mode()
718 const mbedtls_cipher_context_t *ctx) in mbedtls_cipher_get_iv_size()
741 const mbedtls_cipher_context_t *ctx) in mbedtls_cipher_get_type()
[all …]
Dcmac.h105 int mbedtls_cipher_cmac_starts(mbedtls_cipher_context_t *ctx,
130 int mbedtls_cipher_cmac_update(mbedtls_cipher_context_t *ctx,
149 int mbedtls_cipher_cmac_finish(mbedtls_cipher_context_t *ctx,
168 int mbedtls_cipher_cmac_reset(mbedtls_cipher_context_t *ctx);
Dnist_kw.h52 mbedtls_cipher_context_t MBEDTLS_PRIVATE(cipher_ctx); /*!< The cipher context used. */
Dssl_ticket.h58 mbedtls_cipher_context_t MBEDTLS_PRIVATE(ctx); /*!< context for auth enc/decryption */
Dgcm.h62 mbedtls_cipher_context_t MBEDTLS_PRIVATE(cipher_ctx); /*!< The cipher context used. */
Dccm.h90 mbedtls_cipher_context_t MBEDTLS_PRIVATE(cipher_ctx); /*!< The cipher context used. */
/mbedtls-3.7.0/library/
Dcipher.c201 void mbedtls_cipher_init(mbedtls_cipher_context_t *ctx) in mbedtls_cipher_init()
203 memset(ctx, 0, sizeof(mbedtls_cipher_context_t)); in mbedtls_cipher_init()
206 void mbedtls_cipher_free(mbedtls_cipher_context_t *ctx) in mbedtls_cipher_free()
226 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_cipher_context_t)); in mbedtls_cipher_free()
242 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_cipher_context_t)); in mbedtls_cipher_free()
245 int mbedtls_cipher_setup(mbedtls_cipher_context_t *ctx, in mbedtls_cipher_setup()
252 memset(ctx, 0, sizeof(mbedtls_cipher_context_t)); in mbedtls_cipher_setup()
267 int mbedtls_cipher_setup_psa(mbedtls_cipher_context_t *ctx, in mbedtls_cipher_setup_psa()
288 memset(ctx, 0, sizeof(mbedtls_cipher_context_t)); in mbedtls_cipher_setup_psa()
302 int mbedtls_cipher_setkey(mbedtls_cipher_context_t *ctx, in mbedtls_cipher_setkey()
[all …]
Dcmac.c96 static int cmac_generate_subkeys(mbedtls_cipher_context_t *ctx, in cmac_generate_subkeys()
156 int mbedtls_cipher_cmac_starts(mbedtls_cipher_context_t *ctx, in mbedtls_cipher_cmac_starts()
198 int mbedtls_cipher_cmac_update(mbedtls_cipher_context_t *ctx, in mbedtls_cipher_cmac_update()
268 int mbedtls_cipher_cmac_finish(mbedtls_cipher_context_t *ctx, in mbedtls_cipher_cmac_finish()
327 int mbedtls_cipher_cmac_reset(mbedtls_cipher_context_t *ctx) in mbedtls_cipher_cmac_reset()
352 mbedtls_cipher_context_t ctx; in mbedtls_cipher_cmac()
739 mbedtls_cipher_context_t ctx; in cmac_test_subkeys()
Dpkcs12.c161 mbedtls_cipher_context_t cipher_ctx; in mbedtls_pkcs12_pbe_ext()
Dpkcs5.c143 mbedtls_cipher_context_t cipher_ctx; in mbedtls_pkcs5_pbes2_ext()
Dpsa_crypto_cipher.c420 mbedtls_cipher_context_t *ctx, in psa_cipher_update_ecb()
Dssl_misc.h1154 mbedtls_cipher_context_t cipher_ctx_enc; /*!< encryption context */
1155 mbedtls_cipher_context_t cipher_ctx_dec; /*!< decryption context */
/mbedtls-3.7.0/programs/cipher/
Dcipher_aead_demo.c115 mbedtls_cipher_context_t *ctx, in aead_prepare()
157 static void aead_info(const mbedtls_cipher_context_t *ctx, size_t tag_len) in aead_info()
176 static int aead_encrypt(mbedtls_cipher_context_t *ctx, size_t tag_len, in aead_encrypt()
214 mbedtls_cipher_context_t ctx; in aead_demo()
/mbedtls-3.7.0/tests/suites/
Dtest_suite_cipher.function98 static int cipher_reset_key(mbedtls_cipher_context_t *ctx, int cipher_id,
169 mbedtls_cipher_context_t valid_ctx;
170 mbedtls_cipher_context_t invalid_ctx;
296 mbedtls_cipher_context_t valid_ctx;
319 mbedtls_cipher_context_t ctx;
378 mbedtls_cipher_context_t ctx_dec;
379 mbedtls_cipher_context_t ctx_enc;
512 mbedtls_cipher_context_t ctx;
569 mbedtls_cipher_context_t ctx_dec;
663 mbedtls_cipher_context_t ctx_dec;
[all …]
Dtest_suite_cmac.function21 mbedtls_cipher_context_t ctx;
137 mbedtls_cipher_context_t ctx;
216 mbedtls_cipher_context_t ctx;
/mbedtls-3.7.0/include/psa/
Dcrypto_builtin_primitives.h108 mbedtls_cipher_context_t MBEDTLS_PRIVATE(cipher);
Dcrypto_builtin_composites.h65 mbedtls_cipher_context_t MBEDTLS_PRIVATE(cmac);
/mbedtls-3.7.0/programs/aes/
Dcrypt_and_hash.c77 mbedtls_cipher_context_t cipher_ctx; in main()
/mbedtls-3.7.0/docs/
Dpsa-transition.md363 1. Create a cipher context of type `mbedtls_cipher_context_t` and initialize it with `mbedtls_ciphe…
388 1. Create a cipher context of type `mbedtls_cipher_context_t` and initialize it with `mbedtls_ciphe…
559 1. Create a cipher context of type `mbedtls_cipher_context_t` and initialize it with `mbedtls_ciphe…
/mbedtls-3.7.0/
DChangeLog4385 mbedtls_cipher_context_t.key_length -> key_bitlen