Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
mbedtls_lora_config.h@3:514c9faeba80, 2020-03-26 (annotated)
- Committer:
- spadaaa
- Date:
- Thu Mar 26 11:45:17 2020 +0000
- Revision:
- 3:514c9faeba80
- Parent:
- 0:e73fe93596e9
for mesurement
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| jordanemonney | 0:e73fe93596e9 | 1 | /** |
| jordanemonney | 0:e73fe93596e9 | 2 | * Copyright (c) 2017, Arm Limited and affiliates. |
| jordanemonney | 0:e73fe93596e9 | 3 | * SPDX-License-Identifier: Apache-2.0 |
| jordanemonney | 0:e73fe93596e9 | 4 | * |
| jordanemonney | 0:e73fe93596e9 | 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| jordanemonney | 0:e73fe93596e9 | 6 | * you may not use this file except in compliance with the License. |
| jordanemonney | 0:e73fe93596e9 | 7 | * You may obtain a copy of the License at |
| jordanemonney | 0:e73fe93596e9 | 8 | * |
| jordanemonney | 0:e73fe93596e9 | 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| jordanemonney | 0:e73fe93596e9 | 10 | * |
| jordanemonney | 0:e73fe93596e9 | 11 | * Unless required by applicable law or agreed to in writing, software |
| jordanemonney | 0:e73fe93596e9 | 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
| jordanemonney | 0:e73fe93596e9 | 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| jordanemonney | 0:e73fe93596e9 | 14 | * See the License for the specific language governing permissions and |
| jordanemonney | 0:e73fe93596e9 | 15 | * limitations under the License. |
| jordanemonney | 0:e73fe93596e9 | 16 | */ |
| jordanemonney | 0:e73fe93596e9 | 17 | |
| jordanemonney | 0:e73fe93596e9 | 18 | #ifndef MBEDTLS_LORA_CONFIG_H |
| jordanemonney | 0:e73fe93596e9 | 19 | #define MBEDTLS_LORA_CONFIG_H |
| jordanemonney | 0:e73fe93596e9 | 20 | |
| jordanemonney | 0:e73fe93596e9 | 21 | /* |
| jordanemonney | 0:e73fe93596e9 | 22 | * Configure mbedtls for LoRa stack. |
| jordanemonney | 0:e73fe93596e9 | 23 | * |
| jordanemonney | 0:e73fe93596e9 | 24 | * These settings are just a customization of the main mbedtls config |
| jordanemonney | 0:e73fe93596e9 | 25 | * mbed-os/features/mbedtls/inc/mbedtls/config.h |
| jordanemonney | 0:e73fe93596e9 | 26 | */ |
| jordanemonney | 0:e73fe93596e9 | 27 | |
| jordanemonney | 0:e73fe93596e9 | 28 | // Ensure LoRa required ciphers are enabled |
| jordanemonney | 0:e73fe93596e9 | 29 | #define MBEDTLS_CIPHER_C |
| jordanemonney | 0:e73fe93596e9 | 30 | #define MBEDTLS_AES_C |
| jordanemonney | 0:e73fe93596e9 | 31 | #define MBEDTLS_CMAC_C |
| jordanemonney | 0:e73fe93596e9 | 32 | |
| jordanemonney | 0:e73fe93596e9 | 33 | // Reduce ROM usage by optimizing some mbedtls features. |
| jordanemonney | 0:e73fe93596e9 | 34 | // These are only reference configurations for this LoRa example application. |
| jordanemonney | 0:e73fe93596e9 | 35 | // Other LoRa applications might need different configurations. |
| jordanemonney | 0:e73fe93596e9 | 36 | #define MBEDTLS_AES_FEWER_TABLES |
| jordanemonney | 0:e73fe93596e9 | 37 | |
| jordanemonney | 0:e73fe93596e9 | 38 | #undef MBEDTLS_GCM_C |
| jordanemonney | 0:e73fe93596e9 | 39 | #undef MBEDTLS_CHACHA20_C |
| jordanemonney | 0:e73fe93596e9 | 40 | #undef MBEDTLS_CHACHAPOLY_C |
| jordanemonney | 0:e73fe93596e9 | 41 | #undef MBEDTLS_POLY1305_C |
| jordanemonney | 0:e73fe93596e9 | 42 | |
| jordanemonney | 0:e73fe93596e9 | 43 | #endif /* MBEDTLS_LORA_CONFIG_H */ |
| jordanemonney | 0:e73fe93596e9 | 44 |