GPS to Pulga
mbedtls_lora_config.h@24:595155aa83c3, 2020-01-03 (annotated)
- Committer:
- pancotinho
- Date:
- Fri Jan 03 09:28:20 2020 +0000
- Revision:
- 24:595155aa83c3
Working sensors, GPS, BLE, Lorawan (w/ Buffering)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pancotinho | 24:595155aa83c3 | 1 | /** |
pancotinho | 24:595155aa83c3 | 2 | * Copyright (c) 2017, Arm Limited and affiliates. |
pancotinho | 24:595155aa83c3 | 3 | * SPDX-License-Identifier: Apache-2.0 |
pancotinho | 24:595155aa83c3 | 4 | * |
pancotinho | 24:595155aa83c3 | 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
pancotinho | 24:595155aa83c3 | 6 | * you may not use this file except in compliance with the License. |
pancotinho | 24:595155aa83c3 | 7 | * You may obtain a copy of the License at |
pancotinho | 24:595155aa83c3 | 8 | * |
pancotinho | 24:595155aa83c3 | 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
pancotinho | 24:595155aa83c3 | 10 | * |
pancotinho | 24:595155aa83c3 | 11 | * Unless required by applicable law or agreed to in writing, software |
pancotinho | 24:595155aa83c3 | 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
pancotinho | 24:595155aa83c3 | 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
pancotinho | 24:595155aa83c3 | 14 | * See the License for the specific language governing permissions and |
pancotinho | 24:595155aa83c3 | 15 | * limitations under the License. |
pancotinho | 24:595155aa83c3 | 16 | */ |
pancotinho | 24:595155aa83c3 | 17 | |
pancotinho | 24:595155aa83c3 | 18 | #ifndef MBEDTLS_LORA_CONFIG_H |
pancotinho | 24:595155aa83c3 | 19 | #define MBEDTLS_LORA_CONFIG_H |
pancotinho | 24:595155aa83c3 | 20 | |
pancotinho | 24:595155aa83c3 | 21 | /* |
pancotinho | 24:595155aa83c3 | 22 | * Configure mbedtls for LoRa stack. |
pancotinho | 24:595155aa83c3 | 23 | * |
pancotinho | 24:595155aa83c3 | 24 | * These settings are just a customization of the main mbedtls config |
pancotinho | 24:595155aa83c3 | 25 | * mbed-os/features/mbedtls/inc/mbedtls/config.h |
pancotinho | 24:595155aa83c3 | 26 | */ |
pancotinho | 24:595155aa83c3 | 27 | |
pancotinho | 24:595155aa83c3 | 28 | // Ensure LoRa required ciphers are enabled |
pancotinho | 24:595155aa83c3 | 29 | #define MBEDTLS_CIPHER_C |
pancotinho | 24:595155aa83c3 | 30 | #define MBEDTLS_AES_C |
pancotinho | 24:595155aa83c3 | 31 | #define MBEDTLS_CMAC_C |
pancotinho | 24:595155aa83c3 | 32 | |
pancotinho | 24:595155aa83c3 | 33 | // Reduce ROM usage by optimizing some mbedtls features. |
pancotinho | 24:595155aa83c3 | 34 | // These are only reference configurations for this LoRa example application. |
pancotinho | 24:595155aa83c3 | 35 | // Other LoRa applications might need different configurations. |
pancotinho | 24:595155aa83c3 | 36 | #define MBEDTLS_AES_FEWER_TABLES |
pancotinho | 24:595155aa83c3 | 37 | |
pancotinho | 24:595155aa83c3 | 38 | #undef MBEDTLS_GCM_C |
pancotinho | 24:595155aa83c3 | 39 | #undef MBEDTLS_CHACHA20_C |
pancotinho | 24:595155aa83c3 | 40 | #undef MBEDTLS_CHACHAPOLY_C |
pancotinho | 24:595155aa83c3 | 41 | #undef MBEDTLS_POLY1305_C |
pancotinho | 24:595155aa83c3 | 42 | |
pancotinho | 24:595155aa83c3 | 43 | #endif /* MBEDTLS_LORA_CONFIG_H */ |