Function bearssl::br_ghash_ctmul64
[−]
[src]
pub unsafe extern "C" fn br_ghash_ctmul64(
y: *mut c_void,
h: *const c_void,
data: *const c_void,
len: usize
)
\brief GHASH implementation using multiplications (64-bit).
This implementation uses multiplications of 64-bit values, with a
64-bit result. It is constant-time (if multiplications are
constant-time). It is substantially faster than br_ghash_ctmul()
and br_ghash_ctmul32()
on most 64-bit architectures.
\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).