Function bearssl::br_ghash_pwr8 [] [src]

pub unsafe extern "C" fn br_ghash_pwr8(
    y: *mut c_void,
    h: *const c_void,
    data: *const c_void,
    len: usize
)

\brief GHASH implementation using the POWER8 opcodes.

This implementation is available only on POWER8 platforms (and later). To safely obtain a pointer to this function when supported (or 0 otherwise), use br_ghash_pwr8_get().

\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).