Mbed OS Reference
Loading...
Searching...
No Matches
FEATURE_CRYPTOCELL310/include/cryptocell310/mbedtls_device.h
1 /*
2 * mbedtls_device.h
3 *
4 * Copyright (C) 2018-2019, Arm Limited, All Rights Reserved
5 * SPDX-License-Identifier: Apache-2.0
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License"); you may
8 * not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 *
19 */
20
21#ifndef __MBEDTLS_DEVICE__
22#define __MBEDTLS_DEVICE__
23
24#define MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT
25//#define MBEDTLS_AES_ALT
26#define MBEDTLS_CTR_DRBG_USE_128_BIT_KEY
27#define MBEDTLS_SHA1_ALT
28#define MBEDTLS_SHA256_ALT
29//#define MBEDTLS_SHA512_ALT
30#define MBEDTLS_CCM_ALT
31//#define MBEDTLS_CMAC_ALT
32#define MBEDTLS_ECDSA_VERIFY_ALT
33#define MBEDTLS_ECDSA_SIGN_ALT
34#define MBEDTLS_ECDSA_GENKEY_ALT
35#define MBEDTLS_ECDH_GEN_PUBLIC_ALT
36#define MBEDTLS_ECDH_COMPUTE_SHARED_ALT
37
38#endif //__MBEDTLS_DEVICE__