blob: a8c9e08f3eb6bc778f800a3f9a50181f3e071a4d [file] [log] [blame]
Valerio Setti66fb1c12024-05-10 06:51:16 +02001/* psasim test client */
Valerio Setti4f4ade92024-05-03 17:28:04 +02002
3/*
4 * Copyright The Mbed TLS Contributors
5 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
6 */
7
Valerio Setti66fb1c12024-05-10 06:51:16 +02008/* Includes from mbedtls */
Valerio Setti66fb1c12024-05-10 06:51:16 +02009#include "psa/crypto.h"
Valerio Setti4f4ade92024-05-03 17:28:04 +020010
Valerio Setti66fb1c12024-05-10 06:51:16 +020011int main()
Valerio Setti4f4ade92024-05-03 17:28:04 +020012{
Tom Cosgrove3ebb8802024-05-29 10:29:39 +010013 /* psa_crypto_init() connects to the server */
14 psa_status_t status = psa_crypto_init();
Valerio Setti66fb1c12024-05-10 06:51:16 +020015 if (status != PSA_SUCCESS) {
16 return 1;
17 }
Tom Cosgrove3ebb8802024-05-29 10:29:39 +010018
19 mbedtls_psa_crypto_free();
Valerio Setti4f4ade92024-05-03 17:28:04 +020020 return 0;
21}