pub unsafe extern "C" fn ocrypto_constant_time_xor(
    r: *mut c_void,
    x: *const c_void,
    y: *const c_void,
    length: usize
)
Expand description

Variable length bitwise xor.

  • r - Memory region to store the result.
  • x - Memory region containing the first argument.
  • y - Memory region containing the second argument.
  • length - Number of bytes in both arguments, * length - > 0.

@remark * r - may be same as * x - or * y - .