Added AES-CCM encrypt/decrypt, test fuction, benchmark function.

This commit is contained in:
John Safranek
2013-01-10 16:38:52 -08:00
parent e85caee845
commit 05165bc09e
6 changed files with 229 additions and 42 deletions

View File

@@ -273,6 +273,10 @@ void CTaoCryptErrorString(int error, char* buffer)
XSTRNCPY(buffer, "AES-GCM Authentication check fail", max);
break;
case AES_CCM_AUTH_E:
XSTRNCPY(buffer, "AES-CCM Authentication check fail", max);
break;
default:
XSTRNCPY(buffer, "unknown error number", max);