Home
last modified time | relevance | path

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

12

/external/mbedtls/tests/suites/
Dtest_suite_cipher.function132 TEST_ASSERT( 0 == mbedtls_cipher_setup( ctx,
200 TEST_ASSERT( mbedtls_cipher_setup( &valid_ctx, valid_info ) == 0 );
202 /* mbedtls_cipher_setup() */
203 TEST_ASSERT( mbedtls_cipher_setup( &valid_ctx, NULL ) ==
348 TEST_ASSERT( 0 == mbedtls_cipher_setup( &ctx, cipher_info ) );
364 TEST_ASSERT( 0 == mbedtls_cipher_setup( &ctx, cipher_info ) );
408 TEST_ASSERT( 0 == mbedtls_cipher_setup( &ctx_dec, cipher_info ) );
409 TEST_ASSERT( 0 == mbedtls_cipher_setup( &ctx_enc, cipher_info ) );
544 TEST_ASSERT( 0 == mbedtls_cipher_setup( &ctx, cipher_info ) );
609 TEST_ASSERT( 0 == mbedtls_cipher_setup( &ctx_dec, cipher_info ) );
[all …]
Dtest_suite_cmac.function34 TEST_ASSERT( mbedtls_cipher_setup( &ctx, cipher_info ) == 0 );
148 TEST_ASSERT( mbedtls_cipher_setup( &ctx, cipher_info ) == 0 );
228 TEST_ASSERT( mbedtls_cipher_setup( &ctx, cipher_info ) == 0 );
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_cipher.function45 TEST_ASSERT( 0 == mbedtls_cipher_setup( ctx,
107 TEST_ASSERT( mbedtls_cipher_setup( &valid_ctx, valid_info ) == 0 );
109 /* mbedtls_cipher_setup() */
110 TEST_ASSERT( mbedtls_cipher_setup( &valid_ctx, NULL ) ==
233 /* mbedtls_cipher_setup() */
234 TEST_VALID_PARAM( mbedtls_cipher_setup( &valid_ctx, valid_info ) );
237 mbedtls_cipher_setup( NULL, valid_info ) );
675 TEST_ASSERT( 0 == mbedtls_cipher_setup( &ctx, cipher_info ) );
691 TEST_ASSERT( 0 == mbedtls_cipher_setup( &ctx, cipher_info ) );
733 TEST_ASSERT( 0 == mbedtls_cipher_setup( &ctx_dec, cipher_info ) );
[all …]
Dtest_suite_cmac.function34 TEST_ASSERT( mbedtls_cipher_setup( &ctx, cipher_info ) == 0 );
148 TEST_ASSERT( mbedtls_cipher_setup( &ctx, cipher_info ) == 0 );
228 TEST_ASSERT( mbedtls_cipher_setup( &ctx, cipher_info ) == 0 );
/external/openthread/third_party/mbedtls/repo/library/
Dssl_ticket.c162 if( ( ret = mbedtls_cipher_setup( &ctx->keys[0].ctx, cipher_info ) ) != 0 ) in mbedtls_ssl_ticket_setup()
172 if( ( ret = mbedtls_cipher_setup( &ctx->keys[1].ctx, cipher_info ) ) != 0 ) in mbedtls_ssl_ticket_setup()
Dcmac.c386 if( ( ret = mbedtls_cipher_setup( &ctx, cipher_info ) ) != 0 ) in mbedtls_cipher_cmac()
773 if( ( ret = mbedtls_cipher_setup( &ctx, cipher_info ) ) != 0 ) in cmac_test_subkeys()
Dpkcs5.c199 if( ( ret = mbedtls_cipher_setup( &cipher_ctx, cipher_info ) ) != 0 ) in mbedtls_pkcs5_pbes2()
Dpkcs12.c200 if( ( ret = mbedtls_cipher_setup( &cipher_ctx, cipher_info ) ) != 0 ) in mbedtls_pkcs12_pbe()
Dccm.c88 if( ( ret = mbedtls_cipher_setup( &ctx->cipher_ctx, cipher_info ) ) != 0 ) in mbedtls_ccm_setkey()
Dpsa_crypto_mac.c180 ret = mbedtls_cipher_setup( &operation->ctx.cmac, cipher_info ); in cmac_setup()
Dpsa_crypto_cipher.c154 ret = mbedtls_cipher_setup( &operation->ctx.cipher, cipher_info ); in psa_cipher_setup()
Dnist_kw.c101 if( ( ret = mbedtls_cipher_setup( &ctx->cipher_ctx, cipher_info ) ) != 0 ) in mbedtls_nist_kw_setkey()
/external/mbedtls/library/
Dssl_ticket.c261 if( ( ret = mbedtls_cipher_setup( &ctx->keys[0].ctx, cipher_info ) ) != 0 ) in mbedtls_ssl_ticket_setup()
264 if( ( ret = mbedtls_cipher_setup( &ctx->keys[1].ctx, cipher_info ) ) != 0 ) in mbedtls_ssl_ticket_setup()
Dcmac.c386 if( ( ret = mbedtls_cipher_setup( &ctx, cipher_info ) ) != 0 ) in mbedtls_cipher_cmac()
773 if( ( ret = mbedtls_cipher_setup( &ctx, cipher_info ) ) != 0 ) in cmac_test_subkeys()
Dpkcs12.c158 if( ( ret = mbedtls_cipher_setup( &cipher_ctx, cipher_info ) ) != 0 ) in mbedtls_pkcs12_pbe()
Dpsa_crypto_mac.c181 ret = mbedtls_cipher_setup( &operation->ctx.cmac, cipher_info ); in cmac_setup()
Dpkcs5.c188 if( ( ret = mbedtls_cipher_setup( &cipher_ctx, cipher_info ) ) != 0 ) in mbedtls_pkcs5_pbes2()
Dpsa_crypto_cipher.c186 ret = mbedtls_cipher_setup( &operation->ctx.cipher, cipher_info ); in psa_cipher_setup()
Dnist_kw.c94 if( ( ret = mbedtls_cipher_setup( &ctx->cipher_ctx, cipher_info ) ) != 0 ) in mbedtls_nist_kw_setkey()
/external/mbedtls/programs/cipher/
Dcipher_aead_demo.c151 CHK( mbedtls_cipher_setup( ctx, in aead_prepare()
/external/openthread/third_party/mbedtls/repo/include/mbedtls/
Dcipher.h467 int mbedtls_cipher_setup( mbedtls_cipher_context_t *ctx,
/external/mbedtls/include/mbedtls/
Dcipher.h624 int mbedtls_cipher_setup( mbedtls_cipher_context_t *ctx,
/external/mbedtls/docs/architecture/psa-migration/
Dtesting.md85 `mbedtls_cipher_setup()` in TLS is tested by `run_test_psa` in
/external/openthread/third_party/mbedtls/repo/programs/aes/
Dcrypt_and_hash.c187 if( ( ret = mbedtls_cipher_setup( &cipher_ctx, cipher_info) ) != 0 ) in main()
/external/mbedtls/programs/aes/
Dcrypt_and_hash.c172 if( ( ret = mbedtls_cipher_setup( &cipher_ctx, cipher_info) ) != 0 ) in main()

12