diff --git a/extra/crypto/aes/aes-tests.factor b/extra/crypto/aes/aes-tests.factor index 5c9f78de0c..079197c1be 100644 --- a/extra/crypto/aes/aes-tests.factor +++ b/extra/crypto/aes/aes-tests.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors byte-arrays.hex crypto.aes crypto.aes.utils -grouping kernel sequences tools.test ; +USING: accessors byte-arrays.hex crypto.aes crypto.aes.private +crypto.aes.utils grouping kernel sequences tools.test ; IN: crypto.aes.tests #! fips-197 test vectors @@ -188,4 +188,4 @@ V{ 729683222 682545830 2885096840 164581180 2700803607 2287217841 [ t ] [ sbox [ dup inv-sbox nth sbox nth = ] all? -] unit-test \ No newline at end of file +] unit-test diff --git a/extra/crypto/aes/utils/utils.factor b/extra/crypto/aes/utils/utils.factor index d4606aa40a..4336bcc92f 100644 --- a/extra/crypto/aes/utils/utils.factor +++ b/extra/crypto/aes/utils/utils.factor @@ -23,7 +23,7 @@ IN: crypto.aes.utils [ gb3 ] keep [ gb2 ] keep [ gb1 ] keep gb0 ; inline : bytes>words ( seq -- seq ) - 4 [ first4 >ui32 ] V{ } map-as ; + 4 [ first4 >ui32 ] V{ } map-as ; : .t ( seq -- ) reverse