We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86be75d commit 7f91683Copy full SHA for 7f91683
1 file changed
tests/encrypt/enc-test.sh
@@ -185,7 +185,8 @@ fi
185
rm -f test-dec.der
186
rm -f test-enc.der
187
188
-# camellia: decrypt file of exactly MAX_LEN bytes (non-EVP path)
+# camellia: decrypt file whose size is a multiple of MAX_LEN (2 x 1024 bytes)
189
+# to ensure the exact-boundary read case is covered (non-EVP path)
190
if grep -q "HAVE_CAMELLIA" wolfssl/wolfssl/options.h 2>/dev/null; then
191
dd if=/dev/urandom bs=2048 count=1 of=test_maxlen_camellia.bin 2>/dev/null
192
./wolfssl encrypt camellia-cbc-128 -pwd testpwd \
0 commit comments