1 /* 2 * Copyright (c) 2019,2020 Linaro Limited 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 9 #include "psa/crypto.h" 10 #include "psa/error.h" 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 /** 17 * @brief Generates random values using the TF-M crypto service. 18 */ 19 void crp_test_rng(void); 20 21 /** 22 * @brief Runs a series of PSA Cryptography API test functions. 23 */ 24 void crp_test(void); 25 26 /** 27 * @brief Generates device certificate signing request (CSR) using Mbed TLS 28 * X.509 and TF-M crypto service. 29 */ 30 void crp_generate_csr(void); 31 32 #ifdef __cplusplus 33 } 34 #endif 35