e829cd6953
(1) Add in driver jsons. (2) Improve Python scripts to take JSON file directory and template directory paths as arguments. (3) Add in file augment template files to template common functionality (4) render tempplates for Header files, ID generation and key management. (5) Changed driver ID nomenclature to be in synch with function names. Signed-off-by: Archana <archana.madhavan@silabs.com> Signed-off-by: Asfandyar Orakzai <asfandyar.orakzai@silabs.com>
42 lines
1.3 KiB
C
42 lines
1.3 KiB
C
/*
|
|
* Umbrella include for all of the test driver functionality
|
|
*/
|
|
/* 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_TEST_DRIVER_H
|
|
#define PSA_CRYPTO_TEST_DRIVER_H
|
|
|
|
#if defined(PSA_CRYPTO_DRIVER_TEST)
|
|
#ifndef PSA_CRYPTO_DRIVER_PRESENT
|
|
#define PSA_CRYPTO_DRIVER_PRESENT
|
|
#endif
|
|
#ifndef PSA_CRYPTO_ACCELERATOR_DRIVER_PRESENT
|
|
#define PSA_CRYPTO_ACCELERATOR_DRIVER_PRESENT
|
|
#endif
|
|
|
|
#define PSA_CRYPTO_TEST_DRIVER_LOCATION 0x7fffff
|
|
|
|
#include "test/drivers/aead.h"
|
|
#include "test/drivers/cipher.h"
|
|
#include "test/drivers/hash.h"
|
|
#include "test/drivers/mac.h"
|
|
#include "test/drivers/key_management.h"
|
|
#include "test/drivers/signature.h"
|
|
#include "test/drivers/asymmetric_encryption.h"
|
|
|
|
#endif /* PSA_CRYPTO_DRIVER_TEST */
|
|
#endif /* PSA_CRYPTO_TEST_DRIVER_H */
|