Skip to main content

ocrypto_poly1305_init

Function ocrypto_poly1305_init 

Source
pub unsafe extern "C" fn ocrypto_poly1305_init(
    ctx: *mut ocrypto_poly1305_ctx,
    key: *const u8,
)
Expand description

Poly1305 generator initialization.

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

  • ctx - Generator state.
  • key - Authentication key.