mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 03:58:12 +00:00
feat: remove some deprecated APIs from 6.0 release
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2021-2025 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -15,19 +15,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Start a GDMA transfer on the shared crypto DMA channel
|
||||
* Only supports AHB-DMA.
|
||||
*
|
||||
* @note Will allocate a GDMA channel for AES & SHA if no such channel is already allocated
|
||||
*
|
||||
* @param input Input linked list descriptor (lldesc_t *)
|
||||
* @param output Output linked list descriptor (lldesc_t *)
|
||||
* @param peripheral Crypto peripheral to connect the DMA to, either GDMA_TRIG_PERIPH_AES or
|
||||
* GDMA_TRIG_PERIPH_SHA
|
||||
* @return esp_err_t ESP_FAIL if no GDMA channel available
|
||||
*/
|
||||
esp_err_t esp_crypto_shared_gdma_start(const lldesc_t *input, const lldesc_t *output, gdma_trigger_peripheral_t peripheral) __attribute__((deprecated("use esp_crypto_shared_gdma_start_axi_ahb instead")));
|
||||
|
||||
/**
|
||||
* @brief Start a GDMA transfer on the shared crypto DMA channel
|
||||
@@ -60,7 +47,7 @@ bool esp_crypto_shared_gdma_done(void);
|
||||
* This means this function should not be called from code which already takes these locks,
|
||||
* i.e. inside our AES/SHA code.
|
||||
*
|
||||
* If you are continously using AES/SHA (e.g. because of a wifi connection) then it's not recommended
|
||||
* If you are continuously using AES/SHA (e.g. because of a wifi connection) then it's not recommended
|
||||
* to use this API. Freeing the channel is mainly for use cases where you are finished with the crypto peripherals
|
||||
* and need the DMA channel for other peripherals. An example would be doing some processing after disconnecting WiFi
|
||||
*/
|
||||
|
Reference in New Issue
Block a user