From 655cad58b224a436b85d543445daedbe7e3613bf Mon Sep 17 00:00:00 2001 From: Joe Conigliaro Date: Fri, 26 Jul 2019 02:07:30 +1000 Subject: [PATCH] add note & fix typo --- vlib/crypto/aes/block_generic.v | 2 +- vlib/crypto/internal/subtle/aliasing.v | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/vlib/crypto/aes/block_generic.v b/vlib/crypto/aes/block_generic.v index 56cbe92dc9..439d8dbd67 100644 --- a/vlib/crypto/aes/block_generic.v +++ b/vlib/crypto/aes/block_generic.v @@ -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 diff --git a/vlib/crypto/internal/subtle/aliasing.v b/vlib/crypto/internal/subtle/aliasing.v index b802eb3a5b..3d95417148 100644 --- a/vlib/crypto/internal/subtle/aliasing.v +++ b/vlib/crypto/internal/subtle/aliasing.v @@ -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 {