Changes

34 bytes added ,  19:22, 21 March 2014
no edit summary
Line 6: Line 6:  
|-
 
|-
 
| 0
 
| 0
| Header code [0x000401C4]
+
| Header code [0x00040204]
 
|-
 
|-
 
| 1
 
| 1
Line 49: Line 49:  
|-
 
|-
 
| 2-5
 
| 2-5
| MAC
+
| See [[PSPXI:EncryptDecryptAes|here]].
 
|}
 
|}
    
=Description=
 
=Description=
 
This is a wrapper for [[PSPXI:EncryptDecryptAes]]. Before using this PSPXI command, PS module will check whether the algorithm type is AES-CCM. PS module will return error-code 0xC90107E8 when the algorithm type is AES-CCM, since [[PSPXI:EncryptDecryptAes]] doesn't support AES-CCM. When the algorithm type is AES-CBC, PS module will clear the low 4-bits of the data size.
 
This is a wrapper for [[PSPXI:EncryptDecryptAes]]. Before using this PSPXI command, PS module will check whether the algorithm type is AES-CCM. PS module will return error-code 0xC90107E8 when the algorithm type is AES-CCM, since [[PSPXI:EncryptDecryptAes]] doesn't support AES-CCM. When the algorithm type is AES-CBC, PS module will clear the low 4-bits of the data size.