1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>AESResult</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">AESResult <IMG src="../../image/TWL.gif" width="23" height="12" border="0" align="middle"></h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<pre><CODE>#include <twl/aes.h> 20 21typedef enum AESResult 22{ 23 AES_RESULT_NONE, 24 AES_RESULT_SUCCESS, 25 AES_RESULT_VERIFICATION_FAILED, 26 AES_RESULT_INVALID, 27 AES_RESULT_BUSY, 28 AES_RESULT_ON_DS, 29 AES_RESULT_UNKNOWN, 30 AES_RESULT_MAX 31} 32AESResult; 33</CODE></pre><br> 34</dd> 35</dl> 36 37<H2>Elements</H2> 38<TABLE border="1" width="100%" class="members"> 39 <TBODY> 40 <TR> 41 <TH>AES_RESULT_NONE</TH> 42 <TD>Used internally in the library. This value will never be passed to the application.</TD> 43 </TR> 44 <TR> 45 <TH>AES_RESULT_SUCCESS</TH> 46 <TD>The operation ran normally.</TD> 47 </TR> 48 <TR> 49 <TH>AES_RESULT_VERIFICATION_FAILED</TH> 50 <TD>MAC verification failed during decryption in CCM mode.</TD> 51 </TR> 52 <TR> 53 <TH>AES_RESULT_INVALID</TH> 54 <TD>An argument is invalid.</TD> 55 </TR> 56 <TR> 57 <TH>AES_RESULT_BUSY</TH> 58 <TD>Another AES process is currently running. Only one AES process can be run at a given time.</TD> 59 </TR> 60 <TR> 61 <TH>AES_RESULT_ON_DS</TH> 62 <TD>The AES library cannot be used because the application is running on a Nintendo DS.</TD> 63 </TR> 64 <TR> 65 <TH>AES_RESULT_UNKNOWN</TH> 66 <TD>A state was detected within the library that should not have occurred.</TD> 67 </TR> 68 </TBODY> 69</TABLE> 70 71<H2>Description</H2> 72<P> 73Enumerated type that indicates the result of an AES operation. 74</P> 75 76<H2>Revision History</H2> 77<P> 782007/12/25 Initial version. 79</P> 80<hr><p>CONFIDENTIAL</p></body> 81</HTML> 82