Function bearssl::br_aes_pwr8_ctr_run [] [src]

pub unsafe extern "C" fn br_aes_pwr8_ctr_run(
    ctx: *const br_aes_pwr8_ctr_keys,
    iv: *const c_void,
    cc: u32,
    data: *mut c_void,
    len: usize
) -> u32

\brief CTR encryption and decryption with AES (aes_pwr8 implementation).

\param ctx context (already initialised). \param iv IV (constant, 12 bytes). \param cc initial block counter value. \param data data to decrypt (updated). \param len data length (in bytes). \return new block counter value.