diff options
Diffstat (limited to 'components/service/crypto/provider/serializer/packed-c/packedc_key_attributes_translator.h')
-rw-r--r-- | components/service/crypto/provider/serializer/packed-c/packedc_key_attributes_translator.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/components/service/crypto/provider/serializer/packed-c/packedc_key_attributes_translator.h b/components/service/crypto/provider/serializer/packed-c/packedc_key_attributes_translator.h new file mode 100644 index 000000000..ae8871d82 --- /dev/null +++ b/components/service/crypto/provider/serializer/packed-c/packedc_key_attributes_translator.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef PACKEDC_CRYPTO_PROVIDER_KEY_ATTRIBUTES_TRANSLATOR_H +#define PACKEDC_CRYPTO_PROVIDER_KEY_ATTRIBUTES_TRANSLATOR_H + +#include <protocols/service/crypto/packed-c/key_attributes.h> +#include <psa/crypto.h> + +void packedc_crypto_provider_translate_key_attributes( + psa_key_attributes_t *psa_attributes, + const struct ts_crypto_key_attributes *proto_attributes); + +#endif /* PACKEDC_CRYPTO_PROVIDER_KEY_ATTRIBUTES_TRANSLATOR_H */
\ No newline at end of file |