add note & fix typo
parent
20a885ff1d
commit
655cad58b2
|
@ -3,7 +3,7 @@
|
|||
// that can be found in the LICENSE file.
|
||||
|
||||
// This implementation is derived from the golang implementation
|
||||
// which itself is deroved in part from the reference
|
||||
// which itself is derived in part from the reference
|
||||
// ANSI C implementation, which carries the following notice:
|
||||
//
|
||||
// rijndael-alg-fst.c
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
|
||||
module subtle
|
||||
|
||||
// NOTE: require unsafe in future
|
||||
|
||||
// any_overlap reports whether x and y share memory at any (not necessarily
|
||||
// corresponding) index. The memory beyond the slice length is ignored.
|
||||
pub fn any_overlap(x, y []byte) bool {
|
||||
|
|
Loading…
Reference in New Issue