Skip to content

Commit

Permalink
TEST: added AES decrypt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Jun 26, 2019
1 parent b9adfc7 commit 7f0cace
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/tests/units/aes-test.r3
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,11 @@ Rebol [
#{f69f2445df4f9b17ad2b417be66c3710}
#{b2eb05e2c39be9fcda6c19078c6a9d1b}
][
--assert handle? k: aes/key key iv
--assert cipher = aes/stream k plain
--assert handle? k1: aes/key key iv
--assert cipher = aes/stream k1 plain

--assert handle? k2: aes/key/decrypt key iv
--assert plain = aes/stream k2 cipher
]

===end-group===
Expand Down

0 comments on commit 7f0cace

Please sign in to comment.