<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.3dbrew.org/w/index.php?action=history&amp;feed=atom&amp;title=PS%3AEncryptSignDecryptVerifyAesCcm</id>
	<title>PS:EncryptSignDecryptVerifyAesCcm - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.3dbrew.org/w/index.php?action=history&amp;feed=atom&amp;title=PS%3AEncryptSignDecryptVerifyAesCcm"/>
	<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=PS:EncryptSignDecryptVerifyAesCcm&amp;action=history"/>
	<updated>2026-05-02T21:22:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=PS:EncryptSignDecryptVerifyAesCcm&amp;diff=6399&amp;oldid=prev</id>
		<title>Yellows8: Created page with &quot;=Request= {| class=&quot;wikitable&quot; border=&quot;1&quot; |- !  Index Word !  Description |- | 0 | Header code [0x00050284] |- | 1 | Input buffer size, unused by PS module. |- | 2 | Total CBC-MA...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=PS:EncryptSignDecryptVerifyAesCcm&amp;diff=6399&amp;oldid=prev"/>
		<updated>2013-05-31T02:34:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Request= {| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; |- !  Index Word !  Description |- | 0 | Header code [0x00050284] |- | 1 | Input buffer size, unused by PS module. |- | 2 | Total CBC-MA...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Request=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index Word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| Header code [0x00050284]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| Input buffer size, unused by PS module.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| Total CBC-MAC associated data, in bytes.&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| Total data size, in bytes.&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| Output buffer size, unused by PS module.&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| MAC size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
| 6-8&lt;br /&gt;
| Nonce&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| Algorithm [[PSPXI:EncryptDecryptAes|Type]] (0..5)&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| Key [[PSPXI:EncryptDecryptAes|Type]] (0..7)&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| (inbufsize&amp;lt;&amp;lt;4) &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; 10&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| Source pointer&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| (outbufsize&amp;lt;&amp;lt;4) &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; 12&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| Destination pointer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Response=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index Word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| Header code&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| Result code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
This is a wrapper for [[PSPXI:EncryptSignDecryptVerifyAesCcm]]. The algorithm type must be AES-CCM, otherwise PS module will return error-code 0xC90107E8. When the CBC-MAC total associated data-size is not aligned to 0x10-bytes, or when MAC size bit0 is set / MAC size is &amp;gt;16-bytes, PS module will return error-code 0xC90107EC. PS module automatically determines the input/output buffer sizes for the specified algorithm-type for [[PSPXI:EncryptSignDecryptVerifyAesCcm]], using the specified sizes for this command.&lt;/div&gt;</summary>
		<author><name>Yellows8</name></author>
	</entry>
</feed>