| /trusted-services/components/service/crypto/client/psa/ |
| A D | psa_hash.c | 17 if (operation->handle) in psa_hash_setup() 21 &operation->handle, alg); in psa_hash_setup() 29 operation->handle, in psa_hash_update() 39 operation->handle, in psa_hash_finish() 46 operation->handle); in psa_hash_abort() 54 operation->handle, in psa_hash_verify() 74 (void)operation; in psa_hash_suspend() 86 (void)operation; in psa_hash_resume() 126 psa_hash_abort(operation); in multi_hash_update() 152 psa_hash_abort(&operation); in psa_hash_compare() [all …]
|
| A D | psa_mac.c | 19 if (operation->handle) in psa_mac_sign_setup() 23 &operation->handle, in psa_mac_sign_setup() 34 if (operation->handle) in psa_mac_verify_setup() 38 &operation->handle, in psa_mac_verify_setup() 47 operation->handle, in psa_mac_update() 57 operation->handle, in psa_mac_sign_finish() 66 operation->handle, in psa_mac_verify_finish() 73 operation->handle); in psa_mac_abort() 104 psa_mac_abort(operation); in multi_mac_update() 135 psa_mac_abort(&operation); in psa_mac_verify() [all …]
|
| A D | psa_key_derivation.c | 12 psa_key_derivation_operation_t *operation, in psa_key_derivation_setup() argument 19 &operation->handle, alg); in psa_key_derivation_setup() 27 operation->handle, capacity); in psa_key_derivation_get_capacity() 31 psa_key_derivation_operation_t *operation, in psa_key_derivation_set_capacity() argument 35 operation->handle, capacity); in psa_key_derivation_set_capacity() 45 operation->handle, step, in psa_key_derivation_input_bytes() 55 operation->handle, step, key); in psa_key_derivation_input_key() 64 operation->handle, in psa_key_derivation_output_bytes() 74 attributes, operation->handle, in psa_key_derivation_output_key() 82 operation->handle); in psa_key_derivation_abort() [all …]
|
| A D | psa_aead.c | 19 &operation->handle, key, alg); in psa_aead_encrypt_setup() 30 &operation->handle, key, alg); in psa_aead_decrypt_setup() 39 operation->handle, in psa_aead_generate_nonce() 48 operation->handle, in psa_aead_set_nonce() 57 operation->handle, in psa_aead_set_lengths() 66 operation->handle, in psa_aead_update_ad() 78 operation->handle, in psa_aead_update() 89 psa_aead_abort(operation); in psa_aead_update() 104 operation->handle, in psa_aead_finish() 117 operation->handle, in psa_aead_verify() [all …]
|
| A D | psa_cipher.c | 18 if (operation->handle) in psa_cipher_encrypt_setup() 22 &operation->handle, in psa_cipher_encrypt_setup() 33 if (operation->handle) in psa_cipher_decrypt_setup() 37 &operation->handle, in psa_cipher_decrypt_setup() 47 operation->handle, in psa_cipher_generate_iv() 56 operation->handle, in psa_cipher_set_iv() 68 operation->handle, in psa_cipher_update() 79 operation->handle, in psa_cipher_finish() 86 operation->handle); in psa_cipher_abort() 154 psa_cipher_abort(operation); in multi_cipher_update() [all …]
|
| /trusted-services/components/service/crypto/include/psa/ |
| A D | crypto.h | 938 PSA_CRYPTO_EXPORTED psa_status_t psa_hash_setup(psa_hash_operation_t *operation, 965 PSA_CRYPTO_EXPORTED psa_status_t psa_hash_update(psa_hash_operation_t *operation, 1051 PSA_CRYPTO_EXPORTED psa_status_t psa_hash_verify(psa_hash_operation_t *operation, 1079 PSA_CRYPTO_EXPORTED psa_status_t psa_hash_abort(psa_hash_operation_t *operation); 1159 PSA_CRYPTO_EXPORTED psa_status_t psa_hash_resume(psa_hash_operation_t *operation, 1449 PSA_CRYPTO_EXPORTED psa_status_t psa_mac_update(psa_mac_operation_t *operation, 1568 PSA_CRYPTO_EXPORTED psa_status_t psa_mac_abort(psa_mac_operation_t *operation); 3308 psa_key_derivation_operation_t *operation, psa_key_derivation_step_t step, 3359 psa_key_derivation_input_key(psa_key_derivation_operation_t *operation, 3428 psa_key_derivation_operation_t *operation, psa_key_derivation_step_t step, [all …]
|
| /trusted-services/components/service/rpmb/frontend/platform/default/ |
| A D | rpmb_platform_default.c | 13 psa_hash_operation_t operation = PSA_HASH_OPERATION_INIT; in rpmb_platform_derive_key() local 25 status = psa_hash_setup(&operation, PSA_ALG_SHA_256); in rpmb_platform_derive_key() 29 status = psa_hash_update(&operation, dummy_huk, sizeof(dummy_huk)); in rpmb_platform_derive_key() 33 status = psa_hash_update(&operation, data, data_length); in rpmb_platform_derive_key() 37 status = psa_hash_finish(&operation, key, key_length, &hash_length); in rpmb_platform_derive_key() 62 psa_hash_operation_t operation = PSA_HASH_OPERATION_INIT; in rpmb_platform_calculate_mac() local 69 status = psa_hash_setup(&operation, PSA_ALG_SHA_256); in rpmb_platform_calculate_mac() 73 status = psa_hash_update(&operation, key, key_length); in rpmb_platform_calculate_mac() 79 status = psa_hash_update(&operation, (const uint8_t *)frames[i].data, in rpmb_platform_calculate_mac() 85 status = psa_hash_finish(&operation, mac, mac_length, &hash_length); in rpmb_platform_calculate_mac()
|
| /trusted-services/components/service/rpmb/backend/emulated/ |
| A D | rpmb_backend_emulated.c | 76 psa_hash_operation_t operation = PSA_HASH_OPERATION_INIT; in calculate_mac() local 80 psa_hash_setup(&operation, PSA_ALG_SHA_256); in calculate_mac() 81 psa_hash_update(&operation, backend->key, sizeof(backend->key)); in calculate_mac() 85 psa_hash_update(&operation, (const uint8_t *)frames[i].data, frame_hash_length); in calculate_mac() 88 psa_hash_finish(&operation, mac, RPMB_KEY_MAC_SIZE, &hash_length); in calculate_mac()
|
| /trusted-services/docs/project/quality-assurance/ |
| A D | verification-strategy.rst | 20 may become error prone. This undermines effectiveness of co-operation and code-review, and may lead… 51 Unit tests aim to verify if the internal operation of a module matches the developers expectation. … 52 code execution paths, and to give confidence on correct operation when code needs to be refactored.… 67 System test verifies correct operation of a set of modules configured to fulfill the requirements o…
|
| /trusted-services/deployments/env-test/suites/ |
| A D | baremetal-tests.cmake | 6 # Baremetal driver test cases to test paltform driver operation from within
|
| /trusted-services/protocols/test_api/ |
| A D | fw-test-api.yaml | 53 summary: Call service operation
|
| /trusted-services/docs/developer/ |
| A D | supported-architectural-features.rst | 13 …on related hardware features can not be controlled from S-EL0 and to enable these co-operation with
|
| A D | arch-overview.rst | 66 - A set of request and response message parameter definitions, one for each operation.
|
| A D | spmc-tests.rst | 125 - No operation
|
| /trusted-services/docs/services/ |
| A D | logging-service-description.rst | 5 operation of the system. The service allows other Secure Partitions to efficiently and securely make
|
| A D | crypto-service-description.rst | 39 function calls. A separate handler function exists for each operation supported by the
|
| A D | attest-service-description.rst | 20 …- **PSA Initial Attestation API** - used during normal device operation to obtain a fresh attestat… 199 an IAK, factory provisioning software should call the *export_iak_public_key* operation. 209 To support external generation of the IAK, a one-time key import operation is also
|
| A D | block-storage-service-description.rst | 73 technology does not support an explicit erase operation (e.g. RPMB), the corresponding 75 operation (if the partition is writable and the LBA falls within the limits of the
|
| A D | uefi-smm-services.rst | 85 - | Set constraints that are checked on the SetVariable operation.
|
| /trusted-services/docs/services/fwu/ |
| A D | psa-fwu-m.rst | 41 …mage based calls and then make the actual call to the M class side when the operation was called on 151 * The images only support write operation due to FWU-M limitation.
|
| A D | fwu-service-description.rst | 9 the operation of a device, failures during the update process that lead to corrupted 331 - Presents a unit of storage is a seekable file. Supports byte-orient read and writes operation
|