Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: nss/mozilla/security/nss/lib/freebl/blapii.h

Issue 10919163: Add GCM, CTR, and CTS modes to AES. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: nss/mozilla/security/nss/lib/freebl/blapii.h
===================================================================
--- nss/mozilla/security/nss/lib/freebl/blapii.h (revision 155503)
+++ nss/mozilla/security/nss/lib/freebl/blapii.h (working copy)
@@ -40,6 +40,14 @@
#include "blapit.h"
+#define MAX_BLOCK_SIZE 16
Ryan Sleevi 2012/09/11 19:34:30 nit: It seems useful to add a comment here explain
+
+typedef SECStatus (*freeblCipherFunc)(void *cx, unsigned char *output,
Ryan Sleevi 2012/09/11 19:34:30 I think it would be helpful if you could document
wtc 2012/09/14 01:16:42 I looked into this. I found that freeblDestroyFunc
+ unsigned int *outputLen, unsigned int maxOutputLen,
+ const unsigned char *input, unsigned int inputLen,
+ unsigned int blocksize);
+typedef SECStatus (*freeblDestroyFunc)(void *cx, PRBool freeit);
+
SEC_BEGIN_PROTOS
#if defined(XP_UNIX) && !defined(NO_FORK_CHECK)
@@ -54,6 +62,7 @@
#endif
Ryan Sleevi 2012/09/11 19:34:30 nit: unnecessary newline?
+
SEC_END_PROTOS
#endif /* _BLAPII_H_ */
« no previous file with comments | « no previous file | nss/mozilla/security/nss/lib/freebl/blapit.h » ('j') | nss/mozilla/security/nss/lib/freebl/ctr.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698