2021-10-29 10:09:53 +05:30
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2020-06-16 18:10:12 +05:30
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifndef _RSA_SIGN_ALT_H_
|
|
|
|
#define _RSA_SIGN_ALT_H_
|
|
|
|
|
|
|
|
#ifdef __cpluscplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_ESP_TLS_USE_DS_PERIPHERAL
|
2021-01-17 21:38:34 +05:30
|
|
|
#include "esp_ds/esp_rsa_sign_alt.h"
|
2020-06-16 18:10:12 +05:30
|
|
|
#else
|
|
|
|
|
|
|
|
#error "DS configuration flags not activated, please enable required menuconfig flags"
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cpluscplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|