|
| 1 | +<!-- |
| 2 | + -- Copyright (c) 2019, Arm Limited, All Rights Reserved |
| 3 | + -- SPDX-License-Identifier: Apache-2.0 |
| 4 | + -- |
| 5 | + -- Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 6 | + -- not use this file except in compliance with the License. |
| 7 | + -- You may obtain a copy of the License at |
| 8 | + -- |
| 9 | + -- http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | + -- |
| 11 | + -- Unless required by applicable law or agreed to in writing, software |
| 12 | + -- distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 13 | + -- WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + -- See the License for the specific language governing permissions and |
| 15 | + -- limitations under the License. |
| 16 | +---> |
| 17 | +# **Operation Directory** |
| 18 | + |
| 19 | +## **Introduction** |
| 20 | +This document provides links to full descriptions for all of the operations in the API. |
| 21 | + |
| 22 | +## **Status Note** |
| 23 | +This is preliminary documentation. It may be incomplete, and is subject to change without notice. Some operations are listed without being linked to documentation pages. These operations are not currently supported, but are intended for future roadmap. Only a small number of the PSA Crypto operations are supported in the current version. |
| 24 | + |
| 25 | +## **Identity Operations** |
| 26 | +Identity operations are not supported by the security service. These operations are reserved for use only by the identity provider, which is a separate service in the system, but supports a common wire protocol. |
| 27 | + |
| 28 | +* [**AddClient**](operation_directory/identity/add_client.md) |
| 29 | +* [**ProveClient**](operation_directory/identity/prove_client.md) |
| 30 | + |
| 31 | + |
| 32 | +## **Core Operations** |
| 33 | +Core operations are non-cryptographic operations supported by the core provider. Set the **provider** field of the request header to 0 (`0x00`) to invoke these operations. |
| 34 | + |
| 35 | +### **Service Health** |
| 36 | + |
| 37 | +* [**Ping**](operation_directory/core/ping.md) |
| 38 | + |
| 39 | +### **Service Configuration** |
| 40 | + |
| 41 | +* **GetProviders** |
| 42 | + |
| 43 | +### **Trust** |
| 44 | + |
| 45 | +* [**ShareTrustBundle**](operation_directory/trust/share_trust_bundle.md) |
| 46 | + |
| 47 | +## **PSA Crypto Operations** |
| 48 | +These operations are all derived from equivalent function definitions in the [**PSA Crypto API Specification**](https://github.com/ARMmbed/mbed-crypto/blob/psa-crypto-api/docs/PSA_Cryptography_API_Specification.pdf). |
| 49 | + |
| 50 | +### **Key Management** |
| 51 | + |
| 52 | +* [**PsaCreateKey**](operation_directory/psa_crypto/psa_create_key.md) |
| 53 | +* **PsaExportKey** |
| 54 | +* [**PsaExportPublicKey**](operation_directory/psa_crypto/psa_export_public_key.md) |
| 55 | +* [**PsaImportKey**](operation_directory/psa_crypto/psa_import_key.md) |
| 56 | +* **PsaCopyKey** |
| 57 | +* [**PsaDestroyKey**](operation_directory/psa_crypto/psa_destroy_key.md) |
| 58 | + |
| 59 | +### **Symmetric Cryptography** |
| 60 | + |
| 61 | +* **PsaCipherEncrypt** |
| 62 | +* **PsaCipherDecrypt** |
| 63 | +* **PsaCipherOperationInit** |
| 64 | +* **PsaCipherEncryptSetup** |
| 65 | +* **PsaCipherDecryptSetup** |
| 66 | +* **PsaCipherGenerateIv** |
| 67 | +* **PsaCipherSetIv** |
| 68 | +* **PsaCipherUpdate** |
| 69 | +* **PsaCipherFinish** |
| 70 | +* **PsaCipherAbort** |
| 71 | + |
| 72 | +### **Asymmetric Cryptography** |
| 73 | + |
| 74 | +* [**PsaAsymmetricSign**](operation_directory/psa_crypto/psa_asymmetric_sign.md) |
| 75 | +* [**PsaAsymmetricVerify**](operation_directory/psa_crypto/psa_asymmetric_verify.md) |
| 76 | +* **PsaAsymmetricEncrypt** |
| 77 | +* **PsaAsymmetricDecrypt** |
| 78 | + |
| 79 | +### **Authenticated Encryption with Associated Data (AEAD)** |
| 80 | + |
| 81 | +* **PsaAeadEncrypt** |
| 82 | +* **PsaAeadDecrypt** |
| 83 | +* **PsaAeadOperationInit** |
| 84 | +* **PsaAeadEncryptSetup** |
| 85 | +* **PsaAeadDecryptSetup** |
| 86 | +* **PsaAeadGenerateNonce** |
| 87 | +* **PsaAeadSetNonce** |
| 88 | +* **PsaAeadSetLengths** |
| 89 | +* **PsaAeadUpdateAd** |
| 90 | +* **PsaAeadUpdate** |
| 91 | +* **PsaAeadFinish** |
| 92 | +* **PsaAeadVerify** |
| 93 | +* **PsaAeadAbort** |
| 94 | + |
| 95 | +### **Digests** |
| 96 | + |
| 97 | +* **PsaHashCompute** |
| 98 | +* **PsaHashCompare** |
| 99 | +* **PsaHashOperationInit** |
| 100 | +* **PsaHashSetup** |
| 101 | +* **PsaHashUpdate** |
| 102 | +* **PsaHashFinish** |
| 103 | +* **PsaHashVerify** |
| 104 | +* **PsaHashAbort** |
| 105 | +* **PsaHashClone** |
| 106 | + |
| 107 | +### **Message Authentication Codes (MAC)** |
| 108 | + |
| 109 | +* **PsaMacCompute** |
| 110 | +* **PsaMacVerify** |
| 111 | +* **PsaMacOperationInit** |
| 112 | +* **PsaMacSignSetup** |
| 113 | +* **PsaMacVerifySetup** |
| 114 | +* **PsaMacUpdate** |
| 115 | +* **PsaMacSignFinish** |
| 116 | +* **PsaMacVerifyFinish** |
| 117 | +* **PsaMacAbort** |
| 118 | + |
| 119 | +### **Key Derivation** |
| 120 | + |
| 121 | +* **PsaKeyDerivationOperationInit** |
| 122 | +* **PsaKeyDerivationSetup** |
| 123 | +* **PsaKeyDerivationGetCapacity** |
| 124 | +* **PsaKeyDerivationSetCapacity** |
| 125 | +* **PsaKeyDerivationInputBytes** |
| 126 | +* **PsaKeyDerivationInputKey** |
| 127 | +* **PsaKeyDerivationKeyAgreement** |
| 128 | +* **PsaKeyDerivationOutputBytes** |
| 129 | +* **PsaKeyDerivationOutputKey** |
| 130 | +* **PsaKeyDerivationAbort** |
| 131 | +* **PsaRawKeyAgreement** |
| 132 | + |
| 133 | +### **Entropy** |
| 134 | + |
| 135 | +* **PsaGenerateRandom** |
| 136 | + |
0 commit comments