Home
last modified time | relevance | path

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

/third_party/mbedtls/tests/suites/
Dtest_suite_cipher.function135 TEST_ASSERT( 0 == mbedtls_cipher_setup( ctx,
203 TEST_ASSERT( mbedtls_cipher_setup( &valid_ctx, valid_info ) == 0 );
205 /* mbedtls_cipher_setup() */
206 TEST_ASSERT( mbedtls_cipher_setup( &valid_ctx, NULL ) ==
353 TEST_ASSERT( 0 == mbedtls_cipher_setup( &ctx, cipher_info ) );
369 TEST_ASSERT( 0 == mbedtls_cipher_setup( &ctx, cipher_info ) );
413 TEST_ASSERT( 0 == mbedtls_cipher_setup( &ctx_dec, cipher_info ) );
414 TEST_ASSERT( 0 == mbedtls_cipher_setup( &ctx_enc, cipher_info ) );
542 TEST_ASSERT( 0 == mbedtls_cipher_setup( &ctx, cipher_info ) );
594 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 );
Dtest_suite_ssl.function1234 CHK( mbedtls_cipher_setup( &t_in->cipher_ctx_enc, cipher_info ) == 0 );
1235 CHK( mbedtls_cipher_setup( &t_in->cipher_ctx_dec, cipher_info ) == 0 );
1236 CHK( mbedtls_cipher_setup( &t_out->cipher_ctx_enc, cipher_info ) == 0 );
1237 CHK( mbedtls_cipher_setup( &t_out->cipher_ctx_dec, cipher_info ) == 0 );
/third_party/lwip/src/apps/snmp/
Dsnmpv3_mbedtls.c133 if (mbedtls_cipher_setup(&ctx, cipher_info) != 0) { in snmpv3_crypt()
183 if (mbedtls_cipher_setup(&ctx, cipher_info) != 0) { in snmpv3_crypt()
/third_party/mbedtls/library/
Dssl_ticket.c160 if( ( ret = mbedtls_cipher_setup( &ctx->keys[0].ctx, cipher_info ) ) != 0 ) in mbedtls_ssl_ticket_setup()
170 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.c155 if( ( ret = mbedtls_cipher_setup( &cipher_ctx, cipher_info ) ) != 0 ) in mbedtls_pkcs12_pbe()
Dssl_tls13_keys.c837 if( ( ret = mbedtls_cipher_setup( &transform->cipher_ctx_enc, in mbedtls_ssl_tls13_populate_transform()
844 if( ( ret = mbedtls_cipher_setup( &transform->cipher_ctx_dec, in mbedtls_ssl_tls13_populate_transform()
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()
Dccm.c77 if( ( ret = mbedtls_cipher_setup( &ctx->cipher_ctx, cipher_info ) ) != 0 ) in mbedtls_ccm_setkey()
Dgcm.c160 if( ( ret = mbedtls_cipher_setup( &ctx->cipher_ctx, cipher_info ) ) != 0 ) in mbedtls_gcm_setkey()
Dcipher.c193 int mbedtls_cipher_setup( mbedtls_cipher_context_t *ctx, in mbedtls_cipher_setup() function
Dssl_tls.c1024 if( ( ret = mbedtls_cipher_setup( &transform->cipher_ctx_enc, in ssl_tls12_populate_transform()
1053 if( ( ret = mbedtls_cipher_setup( &transform->cipher_ctx_dec, in ssl_tls12_populate_transform()
/third_party/mbedtls/include/mbedtls/
Dcipher.h629 int mbedtls_cipher_setup( mbedtls_cipher_context_t *ctx,
/third_party/mbedtls/programs/aes/
Dcrypt_and_hash.c183 if( ( ret = mbedtls_cipher_setup( &cipher_ctx, cipher_info) ) != 0 ) in main()