diff --git a/features/mbedtls/targets/TARGET_STM/TARGET_STM32WB55xx/mbedtls_device.h b/features/mbedtls/targets/TARGET_STM/TARGET_STM32WB55xx/mbedtls_device.h new file mode 100644 index 0000000000..985746bc00 --- /dev/null +++ b/features/mbedtls/targets/TARGET_STM/TARGET_STM32WB55xx/mbedtls_device.h @@ -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 */