Function esp_idf_svc::hal::sys::esp_aes_crypt_ecb

source ยท
pub unsafe extern "C" fn esp_aes_crypt_ecb(
    ctx: *mut esp_aes_context,
    mode: i32,
    input: *const u8,
    output: *mut u8,
) -> i32
Expand description

\brief AES-ECB block encryption/decryption

\param ctx AES context \param mode AES_ENCRYPT or AES_DECRYPT \param input 16-byte input block \param output 16-byte output block

\return 0 if successful