Home
last modified time | relevance | path

Searched refs:target_operation (Results 1 – 10 of 10) sorted by relevance

/third_party/mbedtls/library/
Dpsa_crypto_hash.c153 mbedtls_psa_hash_operation_t *target_operation) in mbedtls_psa_hash_clone() argument
160 mbedtls_md5_clone(&target_operation->ctx.md5, in mbedtls_psa_hash_clone()
166 mbedtls_ripemd160_clone(&target_operation->ctx.ripemd160, in mbedtls_psa_hash_clone()
172 mbedtls_sha1_clone(&target_operation->ctx.sha1, in mbedtls_psa_hash_clone()
178 mbedtls_sha256_clone(&target_operation->ctx.sha256, in mbedtls_psa_hash_clone()
184 mbedtls_sha256_clone(&target_operation->ctx.sha256, in mbedtls_psa_hash_clone()
190 mbedtls_sha512_clone(&target_operation->ctx.sha512, in mbedtls_psa_hash_clone()
196 mbedtls_sha512_clone(&target_operation->ctx.sha512, in mbedtls_psa_hash_clone()
202 (void) target_operation; in mbedtls_psa_hash_clone()
206 target_operation->alg = source_operation->alg; in mbedtls_psa_hash_clone()
Dpsa_crypto_hash.h128 mbedtls_psa_hash_operation_t *target_operation);
Dpsa_crypto_driver_wrappers.c1707 psa_hash_operation_t *target_operation ) in psa_driver_wrapper_hash_clone() argument
1713 target_operation->id = PSA_CRYPTO_MBED_TLS_DRIVER_ID; in psa_driver_wrapper_hash_clone()
1715 &target_operation->ctx.mbedtls_ctx ) ); in psa_driver_wrapper_hash_clone()
1719 target_operation->id = MBEDTLS_TEST_TRANSPARENT_DRIVER_ID; in psa_driver_wrapper_hash_clone()
1722 &target_operation->ctx.test_driver_ctx ) ); in psa_driver_wrapper_hash_clone()
1725 (void) target_operation; in psa_driver_wrapper_hash_clone()
Dpsa_crypto_driver_wrappers.h228 psa_hash_operation_t *target_operation);
Dpsa_crypto.c2335 psa_hash_operation_t *target_operation) in psa_hash_clone() argument
2338 target_operation->id != 0) { in psa_hash_clone()
2343 target_operation); in psa_hash_clone()
2345 psa_hash_abort(target_operation); in psa_hash_clone()
/third_party/mbedtls/tests/src/drivers/
Dhash.c99 mbedtls_transparent_test_driver_hash_operation_t *target_operation) in mbedtls_test_transparent_hash_clone() argument
111 target_operation); in mbedtls_test_transparent_hash_clone()
114 mbedtls_psa_hash_clone(source_operation, target_operation); in mbedtls_test_transparent_hash_clone()
117 (void) target_operation; in mbedtls_test_transparent_hash_clone()
/third_party/mbedtls/tests/include/test/drivers/
Dhash.h59 mbedtls_transparent_test_driver_hash_operation_t *target_operation);
/third_party/mbedtls/include/psa/
Dcrypto.h1166 psa_hash_operation_t *target_operation);
/third_party/mbedtls/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.c.jinja1692 psa_hash_operation_t *target_operation )
1698 target_operation->id = PSA_CRYPTO_MBED_TLS_DRIVER_ID;
1700 &target_operation->ctx.mbedtls_ctx ) );
1704 target_operation->id = MBEDTLS_TEST_TRANSPARENT_DRIVER_ID;
1707 &target_operation->ctx.test_driver_ctx ) );
1710 (void) target_operation;
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_driver_wrappers.function2431 psa_hash_operation_t target_operation = PSA_HASH_OPERATION_INIT;
2442 TEST_EQUAL(psa_hash_clone(&source_operation, &target_operation),
2451 TEST_EQUAL(psa_hash_clone(&source_operation, &target_operation),
2459 PSA_ASSERT(psa_hash_update(&target_operation,
2464 PSA_ASSERT(psa_hash_finish(&target_operation,
2475 psa_hash_abort(&target_operation);