[ 
https://issues.apache.org/jira/browse/HADOOP-11358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yi Liu updated HADOOP-11358:
----------------------------
    Attachment: HADOOP-11358.001.patch

Sorry for the late update.
In the patch, we cover tests for real encryption/decryption with IV calculation 
overflow. I make it by using {{CryptoInputStream}} and {{CryptoOutputStream}} 
directly instead of creating an encryption zone.
The seek in _cryptoCodecTest_ will go to call {{calculateIV}}, so it can cover 
the test scenario that we desired.

The patch can cover both JCE implementation and OpenSSL implementation.

BTW, I have tried this test without patch of HADOOP-11343, it will fail.

[~andrew.wang], please take a look, thanks.

> Tests for encryption/decryption with IV calculation overflow
> ------------------------------------------------------------
>
>                 Key: HADOOP-11358
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11358
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: security, test
>    Affects Versions: 2.6.0
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>         Attachments: HADOOP-11358.001.patch
>
>
> As discussed in HADOOP-11343, add more tests to cover encryption/decryption 
> with IV calculation overflow



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to