Home
last modified time | relevance | path

Searched refs:source_operation (Results 1 – 9 of 9) sorted by relevance

/third_party/mbedtls/library/
Dpsa_crypto_hash.c199 const mbedtls_psa_hash_operation_t *source_operation, in mbedtls_psa_hash_clone() argument
202 switch( source_operation->alg ) in mbedtls_psa_hash_clone()
209 &source_operation->ctx.md5 ); in mbedtls_psa_hash_clone()
215 &source_operation->ctx.ripemd160 ); in mbedtls_psa_hash_clone()
221 &source_operation->ctx.sha1 ); in mbedtls_psa_hash_clone()
227 &source_operation->ctx.sha256 ); in mbedtls_psa_hash_clone()
233 &source_operation->ctx.sha256 ); in mbedtls_psa_hash_clone()
239 &source_operation->ctx.sha512 ); in mbedtls_psa_hash_clone()
245 &source_operation->ctx.sha512 ); in mbedtls_psa_hash_clone()
249 (void) source_operation; in mbedtls_psa_hash_clone()
[all …]
Dpsa_crypto_hash.h136 const mbedtls_psa_hash_operation_t *source_operation,
Dpsa_crypto_driver_wrappers.c1419 const psa_hash_operation_t *source_operation, in psa_driver_wrapper_hash_clone() argument
1422 switch( source_operation->id ) in psa_driver_wrapper_hash_clone()
1427 return( mbedtls_psa_hash_clone( &source_operation->ctx.mbedtls_ctx, in psa_driver_wrapper_hash_clone()
1434 &source_operation->ctx.test_driver_ctx, in psa_driver_wrapper_hash_clone()
Dpsa_crypto_driver_wrappers.h191 const psa_hash_operation_t *source_operation,
Dpsa_crypto.c2261 psa_status_t psa_hash_clone( const psa_hash_operation_t *source_operation, in psa_hash_clone() argument
2264 if( source_operation->id == 0 || in psa_hash_clone()
2270 psa_status_t status = psa_driver_wrapper_hash_clone( source_operation, in psa_hash_clone()
/third_party/mbedtls/tests/src/drivers/
Dhash.c104 const mbedtls_transparent_test_driver_hash_operation_t *source_operation, in mbedtls_test_transparent_hash_clone() argument
119 libtestdriver1_mbedtls_psa_hash_clone( source_operation, in mbedtls_test_transparent_hash_clone()
123 mbedtls_psa_hash_clone( source_operation, target_operation ); in mbedtls_test_transparent_hash_clone()
125 (void) source_operation; in mbedtls_test_transparent_hash_clone()
/third_party/mbedtls/tests/include/test/drivers/
Dhash.h58 const mbedtls_transparent_test_driver_hash_operation_t *source_operation,
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_driver_wrappers.function1735 psa_hash_operation_t source_operation = PSA_HASH_OPERATION_INIT;
1747 TEST_EQUAL( psa_hash_clone( &source_operation, &target_operation ),
1751 PSA_ASSERT( psa_hash_setup( &source_operation, alg ) );
1756 TEST_EQUAL( psa_hash_clone( &source_operation, &target_operation ),
1780 psa_hash_abort( &source_operation );
/third_party/mbedtls/include/psa/
Dcrypto.h1174 psa_status_t psa_hash_clone(const psa_hash_operation_t *source_operation,