Home
last modified time | relevance | path

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

/mbedtls-3.7.0/tests/suites/
Dtest_suite_cipher.function115 TEST_ASSERT(0 == mbedtls_cipher_setup(ctx,
189 TEST_ASSERT(mbedtls_cipher_setup(&valid_ctx, valid_info) == 0);
191 /* mbedtls_cipher_setup() */
192 TEST_ASSERT(mbedtls_cipher_setup(&valid_ctx, NULL) ==
337 TEST_ASSERT(0 == mbedtls_cipher_setup(&ctx, cipher_info));
353 TEST_ASSERT(0 == mbedtls_cipher_setup(&ctx, cipher_info));
397 TEST_ASSERT(0 == mbedtls_cipher_setup(&ctx_dec, cipher_info));
398 TEST_ASSERT(0 == mbedtls_cipher_setup(&ctx_enc, cipher_info));
532 TEST_ASSERT(0 == mbedtls_cipher_setup(&ctx, cipher_info));
598 TEST_ASSERT(0 == mbedtls_cipher_setup(&ctx_dec, cipher_info));
[all …]
Dtest_suite_cmac.function34 TEST_ASSERT(mbedtls_cipher_setup(&ctx, cipher_info) == 0);
154 TEST_ASSERT(mbedtls_cipher_setup(&ctx, cipher_info) == 0);
238 TEST_ASSERT(mbedtls_cipher_setup(&ctx, cipher_info) == 0);
/mbedtls-3.7.0/library/
Dssl_ticket.c268 if ((ret = mbedtls_cipher_setup(&ctx->keys[0].ctx, cipher_info)) != 0) { in mbedtls_ssl_ticket_setup()
272 if ((ret = mbedtls_cipher_setup(&ctx->keys[1].ctx, cipher_info)) != 0) { in mbedtls_ssl_ticket_setup()
Dcmac.c361 if ((ret = mbedtls_cipher_setup(&ctx, cipher_info)) != 0) { in mbedtls_cipher_cmac()
757 if ((ret = mbedtls_cipher_setup(&ctx, cipher_info)) != 0) { in cmac_test_subkeys()
Dpkcs12.c199 if ((ret = mbedtls_cipher_setup(&cipher_ctx, cipher_info)) != 0) { in mbedtls_pkcs12_pbe_ext()
Dpkcs5.c225 if ((ret = mbedtls_cipher_setup(&cipher_ctx, cipher_info)) != 0) { in mbedtls_pkcs5_pbes2_ext()
Dpsa_crypto_mac.c184 ret = mbedtls_cipher_setup(&operation->ctx.cmac, cipher_info); in cmac_setup()
Dnist_kw.c86 if ((ret = mbedtls_cipher_setup(&ctx->cipher_ctx, cipher_info)) != 0) { in mbedtls_nist_kw_setkey()
Dpsa_crypto_cipher.c306 ret = mbedtls_cipher_setup(&operation->ctx.cipher, cipher_info); in psa_cipher_setup()
Dssl_tls13_keys.c971 if ((ret = mbedtls_cipher_setup(&transform->cipher_ctx_enc, in mbedtls_ssl_tls13_populate_transform()
977 if ((ret = mbedtls_cipher_setup(&transform->cipher_ctx_dec, in mbedtls_ssl_tls13_populate_transform()
Dccm.c84 if ((ret = mbedtls_cipher_setup(&ctx->cipher_ctx, cipher_info)) != 0) { in mbedtls_ccm_setkey()
Dgcm.c198 if ((ret = mbedtls_cipher_setup(&ctx->cipher_ctx, cipher_info)) != 0) { in mbedtls_gcm_setkey()
Dcipher.c245 int mbedtls_cipher_setup(mbedtls_cipher_context_t *ctx, in mbedtls_cipher_setup() function
Dssl_tls.c9136 if ((ret = mbedtls_cipher_setup(&transform->cipher_ctx_enc, in ssl_tls12_populate_transform()
9142 if ((ret = mbedtls_cipher_setup(&transform->cipher_ctx_dec, in ssl_tls12_populate_transform()
/mbedtls-3.7.0/programs/cipher/
Dcipher_aead_demo.c140 CHK(mbedtls_cipher_setup(ctx, in aead_prepare()
/mbedtls-3.7.0/include/mbedtls/
Dcipher.h631 int mbedtls_cipher_setup(mbedtls_cipher_context_t *ctx,
/mbedtls-3.7.0/programs/aes/
Dcrypt_and_hash.c159 if ((ret = mbedtls_cipher_setup(&cipher_ctx, cipher_info)) != 0) { in main()
/mbedtls-3.7.0/docs/architecture/psa-migration/
Dtesting.md85 `mbedtls_cipher_setup()` in TLS is tested by `run_test_psa` in
/mbedtls-3.7.0/tests/src/test_helpers/
Dssl_helpers.c1309 CHK(mbedtls_cipher_setup(&t_in->cipher_ctx_enc, cipher_info) == 0); in mbedtls_test_ssl_build_transforms()
1310 CHK(mbedtls_cipher_setup(&t_in->cipher_ctx_dec, cipher_info) == 0); in mbedtls_test_ssl_build_transforms()
1311 CHK(mbedtls_cipher_setup(&t_out->cipher_ctx_enc, cipher_info) == 0); in mbedtls_test_ssl_build_transforms()
1312 CHK(mbedtls_cipher_setup(&t_out->cipher_ctx_dec, cipher_info) == 0); in mbedtls_test_ssl_build_transforms()
/mbedtls-3.7.0/docs/
Dpsa-transition.md364 2. Establish the operation parameters (algorithm, key, mode) with `mbedtls_cipher_setup`, `mbedtls_…
389 2. Establish the operation parameters (algorithm, key, mode) with `mbedtls_cipher_setup`, `mbedtls_…
560 2. Call `mbedtls_cipher_setup` to select the block cipher. Then call `mbedtls_md_cmac_starts` to se…