ocrypto_hmac_sha1_init

Function ocrypto_hmac_sha1_init 

Source
pub unsafe extern "C" fn ocrypto_hmac_sha1_init(
    ctx: *mut ocrypto_hmac_sha1_ctx,
    key: *const u8,
    key_len: usize,
)
Expand description

HMAC-SHA-1 initialization.

The generator state * ctx - is initialized by this function.

  • ctx - Generator state.
  • key - HMAC key.
  • key_len - Length of * key - .