diff options
Diffstat (limited to 'tests/encryption')
-rw-r--r-- | tests/encryption/camellia128-cbc.pskcxml | 38 | ||||
-rw-r--r-- | tests/encryption/camellia192-cbc.pskcxml | 38 | ||||
-rw-r--r-- | tests/encryption/camellia256-cbc.pskcxml | 38 |
3 files changed, 114 insertions, 0 deletions
diff --git a/tests/encryption/camellia128-cbc.pskcxml b/tests/encryption/camellia128-cbc.pskcxml new file mode 100644 index 0000000..bbf4567 --- /dev/null +++ b/tests/encryption/camellia128-cbc.pskcxml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Test that holds an camellia128-cbc encrypted value. Encryption key is + 200497e673a6fae2256e9749468a67ac. +--> + +<KeyContainer Version="1.0" + xmlns="urn:ietf:params:xml:ns:keyprov:pskc" + xmlns:ds="http://www.w3.org/2000/09/xmldsig#" + xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"> + <EncryptionKey> + <ds:KeyName>Pre-shared-key</ds:KeyName> + </EncryptionKey> + <MACMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#hmac-sha224"> + <MACKey> + <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#camellia128-cbc"/> + <xenc:CipherData> + <xenc:CipherValue>VnWO9OoCQWEuH0qsz1VnywNqjvXC/kUNcMp8cFfCqiw48doVY9XVcMV0GR5vn6g3</xenc:CipherValue> + </xenc:CipherData> + </MACKey> + </MACMethod> + <KeyPackage> + <Key> + <Data> + <Secret> + <EncryptedValue> + <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#camellia128-cbc"/> + <xenc:CipherData> + <xenc:CipherValue>DvtlFS8/QZle2xG8PjfA8Kg4bsjLlU8kH/sEfXC9VLWib2Z/WU8RDHR+fI9uCqOs</xenc:CipherValue> + </xenc:CipherData> + </EncryptedValue> + <ValueMAC>RDATcSJh3n8TAvMDoPzKqobgOCPZSluA7Gmvpg==</ValueMAC> + </Secret> + </Data> + </Key> + </KeyPackage> +</KeyContainer> diff --git a/tests/encryption/camellia192-cbc.pskcxml b/tests/encryption/camellia192-cbc.pskcxml new file mode 100644 index 0000000..0365a10 --- /dev/null +++ b/tests/encryption/camellia192-cbc.pskcxml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Test that holds an camellia192-cbc encrypted value. Encryption key is + e263279877384c84c987661a9d06766affdb9b3211eae801. +--> + +<KeyContainer Version="1.0" + xmlns="urn:ietf:params:xml:ns:keyprov:pskc" + xmlns:ds="http://www.w3.org/2000/09/xmldsig#" + xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"> + <EncryptionKey> + <ds:KeyName>Pre-shared-key</ds:KeyName> + </EncryptionKey> + <MACMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#hmac-sha224"> + <MACKey> + <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#camellia192-cbc"/> + <xenc:CipherData> + <xenc:CipherValue>WAL6YRtYa5/rE/DX26NKXaHpDu2qE4q5kdtCZmvhZeHMsV76CuLlO5ybTD9RsLWK</xenc:CipherValue> + </xenc:CipherData> + </MACKey> + </MACMethod> + <KeyPackage> + <Key> + <Data> + <Secret> + <EncryptedValue> + <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#camellia192-cbc"/> + <xenc:CipherData> + <xenc:CipherValue>Wa5Kz1/BhuqUcpQyw8qRSDwurIsm2vjUR/PO3w1Q3//PFfHod+DgBhRW2BecWpP5</xenc:CipherValue> + </xenc:CipherData> + </EncryptedValue> + <ValueMAC>RDATcSJh3n8TAvMDoPzKqobgOCPZSluA7Gmvpg==</ValueMAC> + </Secret> + </Data> + </Key> + </KeyPackage> +</KeyContainer> diff --git a/tests/encryption/camellia256-cbc.pskcxml b/tests/encryption/camellia256-cbc.pskcxml new file mode 100644 index 0000000..59911aa --- /dev/null +++ b/tests/encryption/camellia256-cbc.pskcxml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Test that holds an camellia256-cbc encrypted value. Encryption key is + 33b37e31c5a0a16f004e7fe727d4ff808fc1f879d85ccd8f06dbb5799565d2f5. +--> + +<KeyContainer Version="1.0" + xmlns="urn:ietf:params:xml:ns:keyprov:pskc" + xmlns:ds="http://www.w3.org/2000/09/xmldsig#" + xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"> + <EncryptionKey> + <ds:KeyName>Pre-shared-key</ds:KeyName> + </EncryptionKey> + <MACMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#hmac-sha224"> + <MACKey> + <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#camellia256-cbc"/> + <xenc:CipherData> + <xenc:CipherValue>uj9VFSjENtykiBdHoxF/CZ8y2XnWA/fW89i4xonEH9iYK2AH0/hkH7bVmI2ObcSa</xenc:CipherValue> + </xenc:CipherData> + </MACKey> + </MACMethod> + <KeyPackage> + <Key> + <Data> + <Secret> + <EncryptedValue> + <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#camellia256-cbc"/> + <xenc:CipherData> + <xenc:CipherValue>X7We+WREABNPa0jlsUHZqF5CWUQiPYdXJ+7ure96AcNH/7TXcQs4mFuSCOHpiv/W</xenc:CipherValue> + </xenc:CipherData> + </EncryptedValue> + <ValueMAC>RDATcSJh3n8TAvMDoPzKqobgOCPZSluA7Gmvpg==</ValueMAC> + </Secret> + </Data> + </Key> + </KeyPackage> +</KeyContainer> |