Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for xorLoop (0.05 sec)

  1. lib/fips140/v1.0.0.zip

    written using pointers and n. Back to slices. dst := unsafe.Slice(dstb, n) x := unsafe.Slice(xb, n) y := unsafe.Slice(yb, n) if supportsUnaligned || aligned(dstb, xb, yb) { xorLoop(words(dst), words(x), words(y)) if uintptr(n)%wordSize == 0 { return } done := n &^ int(wordSize-1) dst = dst[done:] x = x[done:] y = y[done:] } xorLoop(dst, x, y) } // aligned reports whether dst, x, and y are all word-aligned pointers. func aligned(dst, x, y *byte) bool { return (uintptr(unsafe.Pointer(dst))|uintptr(un...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top