From 90edc99e30c480c2db9c916b8d83767970f3003c Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 13 Nov 2020 15:39:19 +0100 Subject: [PATCH] Create a header file for PSA crypto random generator abstraction Subsequent commits will move declarations and definitions there. Signed-off-by: Gilles Peskine --- library/psa_crypto.c | 2 ++ library/psa_crypto_random.h | 26 ++++++++++++++++++++++++++ visualc/VS2010/mbedTLS.vcxproj | 1 + 3 files changed, 29 insertions(+) create mode 100644 library/psa_crypto_random.h diff --git a/library/psa_crypto.c b/library/psa_crypto.c index 66c8f65bc6..c041e8eed7 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -40,6 +40,8 @@ * stored keys. */ #include "psa_crypto_storage.h" +#include "psa_crypto_random.h" + #include #include #include diff --git a/library/psa_crypto_random.h b/library/psa_crypto_random.h new file mode 100644 index 0000000000..c90891dc98 --- /dev/null +++ b/library/psa_crypto_random.h @@ -0,0 +1,26 @@ +/** \file psa_crypto_random.h + * + * \brief PSA crypto random generator abstraction. + */ +/* + * Copyright The Mbed TLS Contributors + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef PSA_CRYPTO_RANDOM_H +#define PSA_CRYPTO_RANDOM_H + + +#endif /* PSA_CRYPTO_RANDOM_H */ diff --git a/visualc/VS2010/mbedTLS.vcxproj b/visualc/VS2010/mbedTLS.vcxproj index 0af4145171..1d28df0972 100644 --- a/visualc/VS2010/mbedTLS.vcxproj +++ b/visualc/VS2010/mbedTLS.vcxproj @@ -251,6 +251,7 @@ +