diff options
Diffstat (limited to 'components/service/crypto/client/cpp/protocol/protobuf/protobuf_crypto_client.cpp')
-rw-r--r-- | components/service/crypto/client/cpp/protocol/protobuf/protobuf_crypto_client.cpp | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/components/service/crypto/client/cpp/protocol/protobuf/protobuf_crypto_client.cpp b/components/service/crypto/client/cpp/protocol/protobuf/protobuf_crypto_client.cpp index 6c0fe7605..094185747 100644 --- a/components/service/crypto/client/cpp/protocol/protobuf/protobuf_crypto_client.cpp +++ b/components/service/crypto/client/cpp/protocol/protobuf/protobuf_crypto_client.cpp @@ -844,3 +844,52 @@ psa_status_t protobuf_crypto_client::cipher_abort( { return PSA_ERROR_NOT_SUPPORTED; } + +/* MAC methods */ +size_t protobuf_crypto_client::mac_max_update_size() const +{ + return PSA_ERROR_NOT_SUPPORTED; +} + +psa_status_t protobuf_crypto_client::mac_sign_setup( + uint32_t *op_handle, + psa_key_id_t key, + psa_algorithm_t alg) +{ + return PSA_ERROR_NOT_SUPPORTED; +} + +psa_status_t protobuf_crypto_client::mac_verify_setup( + uint32_t *op_handle, + psa_key_id_t key, + psa_algorithm_t alg) +{ + return PSA_ERROR_NOT_SUPPORTED; +} + +psa_status_t protobuf_crypto_client::mac_update( + uint32_t op_handle, + const uint8_t *input, size_t input_length) +{ + return PSA_ERROR_NOT_SUPPORTED; +} + +psa_status_t protobuf_crypto_client::mac_sign_finish( + uint32_t op_handle, + uint8_t *mac, size_t mac_size, size_t *mac_length) +{ + return PSA_ERROR_NOT_SUPPORTED; +} + +psa_status_t protobuf_crypto_client::mac_verify_finish( + uint32_t op_handle, + const uint8_t *mac, size_t mac_length) +{ + return PSA_ERROR_NOT_SUPPORTED; +} + +psa_status_t protobuf_crypto_client::mac_abort( + uint32_t op_handle) +{ + return PSA_ERROR_NOT_SUPPORTED; +} |