Function nrfxlib_sys::ocrypto_poly1305
source · pub unsafe extern "C" fn ocrypto_poly1305(
r: *mut u8,
in_: *const u8,
in_len: usize,
k: *const u8
)
Expand description
Poly1305 message authentication tag.
The Poly1305 authentication of a given input message * in
- is computed using
key * k
- and put into * r
- .
r
- Generated authentication tag.in
- Input data.in_len
- Length of *in
- .k
- Authentication key.