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