aboutsummaryrefslogtreecommitdiff
path: root/tests/psa-client-server/psasim/src/client.c
blob: a8c9e08f3eb6bc778f800a3f9a50181f3e071a4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* psasim test client */

/*
 *  Copyright The Mbed TLS Contributors
 *  SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 */

/* Includes from mbedtls */
#include "psa/crypto.h"

int main()
{
    /* psa_crypto_init() connects to the server */
    psa_status_t status = psa_crypto_init();
    if (status != PSA_SUCCESS) {
        return 1;
    }

    mbedtls_psa_crypto_free();
    return 0;
}