Skip to content

Commit

Permalink
STM32 MBEDTLS: create mbedtls_device.h for all L562 targets
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromecoutant committed Jun 8, 2020
1 parent 073bbf7 commit d0e5722
Showing 1 changed file with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
#define MBEDTLS_SHA1_ALT
#define MBEDTLS_SHA256_ALT
// #define MBEDTLS_CCM_ALT // not fully supported yet
// #define MBEDTLS_GCM_ALT // not fully supported yet

#endif /* MBEDTLS_DEVICE_H */

0 comments on commit d0e5722

Please sign in to comment.