mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
Merge remote-tracking branch 'origin/master' into feature/mbedtls
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef _ROM_AES_H_
|
||||
#define _ROM_AES_H_
|
||||
|
||||
@@ -28,6 +29,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
//TODO, add comment for aes apis
|
||||
enum AES_BITS {
|
||||
AES128,
|
||||
AES192,
|
||||
@@ -39,8 +41,8 @@ void ets_aes_enable(void);
|
||||
void ets_aes_disable(void);
|
||||
|
||||
void ets_aes_set_endian(bool key_word_swap, bool key_byte_swap,
|
||||
bool in_word_swap, bool in_byte_swap,
|
||||
bool out_word_swap, bool out_byte_swap);
|
||||
bool in_word_swap, bool in_byte_swap,
|
||||
bool out_word_swap, bool out_byte_swap);
|
||||
|
||||
bool ets_aes_setkey_enc(const uint8_t *key, enum AES_BITS bits);
|
||||
|
||||
|
Reference in New Issue
Block a user