pub unsafe extern "C" fn ocrypto_aes_ecb_init_enc(
    ctx: *mut ocrypto_aes_ecb_ctx,
    key: *const u8,
    size: usize
)
Expand description

AES-ECB encrypt initialization.

The context * ctx - is initialized using the given key * key - .

  • ctx - Context.
  • key - AES key.
  • size - Key size (16, 24, or 32 bytes).