Function bearssl::br_ghash_ctmul
[−]
[src]
pub unsafe extern "C" fn br_ghash_ctmul(
y: *mut c_void,
h: *const c_void,
data: *const c_void,
len: usize
)
\brief GHASH implementation using multiplications (mixed 32-bit).
This implementation uses multiplications of 32-bit values, with a 64-bit result. It is constant-time (if multiplications are constant-time).
\param y the array to update.
\param h the GHASH key.
\param data the input data (may be NULL
if len
is zero).
\param len the input data length (in bytes).