STM32 MBEDTLS: create mbedtls_device.h for all WB55 targets

pull/12747/head
jeromecoutant 2020-03-30 14:33:47 +02:00
parent 904ced2150
commit 073bbf7b73
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
/*
* mbedtls_device.h
*******************************************************************************
* Copyright (c) 2017, STMicroelectronics
* 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 MBEDTLS_DEVICE_H
#define MBEDTLS_DEVICE_H
#define MBEDTLS_AES_ALT
// #define MBEDTLS_MD5_ALT // HASH IP not available for STM32WB
// #define MBEDTLS_SHA1_ALT // HASH IP not available for STM32WB
// #define MBEDTLS_SHA256_ALT // HASH IP not available for STM32WB
// #define MBEDTLS_CCM_ALT // not fully supported yet
// #define MBEDTLS_GCM_ALT // not fully supported yet
#endif /* MBEDTLS_DEVICE_H */