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

Side by Side Diff: nss/lib/pk11wrap/debug_module.c

Issue 13898013: Update NSS to NSS_3_15_BETA2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Update NSS versions and tag in README.chromium Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* This Source Code Form is subject to the terms of the Mozilla Public 1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 #include "prlog.h" 4 #include "prlog.h"
5 #include <stdio.h> 5 #include <stdio.h>
6 #include "cert.h" /* for CERT_DerNameToAscii & CERT_Hexify */ 6 #include "cert.h" /* for CERT_DerNameToAscii & CERT_Hexify */
7 7
8 static PRLogModuleInfo *modlog = NULL; 8 static PRLogModuleInfo *modlog = NULL;
9 9
10 static CK_FUNCTION_LIST_PTR module_functions; 10 static CK_FUNCTION_LIST_PTR module_functions;
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 346
347 static void print_mechanism(CK_MECHANISM_PTR m) 347 static void print_mechanism(CK_MECHANISM_PTR m)
348 { 348 {
349 349
350 const char * a = NULL; 350 const char * a = NULL;
351 351
352 switch (m->mechanism) { 352 switch (m->mechanism) {
353 CASE(CKM_AES_CBC); 353 CASE(CKM_AES_CBC);
354 CASE(CKM_AES_CBC_ENCRYPT_DATA); 354 CASE(CKM_AES_CBC_ENCRYPT_DATA);
355 CASE(CKM_AES_CBC_PAD); 355 CASE(CKM_AES_CBC_PAD);
356 CASE(CKM_AES_CCM);
357 CASE(CKM_AES_CTR);
358 CASE(CKM_AES_CTS);
359 CASE(CKM_AES_GCM);
356 CASE(CKM_AES_ECB); 360 CASE(CKM_AES_ECB);
357 CASE(CKM_AES_ECB_ENCRYPT_DATA); 361 CASE(CKM_AES_ECB_ENCRYPT_DATA);
358 CASE(CKM_AES_KEY_GEN); 362 CASE(CKM_AES_KEY_GEN);
359 CASE(CKM_AES_MAC); 363 CASE(CKM_AES_MAC);
360 CASE(CKM_AES_MAC_GENERAL); 364 CASE(CKM_AES_MAC_GENERAL);
361 CASE(CKM_CAMELLIA_CBC); 365 CASE(CKM_CAMELLIA_CBC);
362 CASE(CKM_CAMELLIA_CBC_ENCRYPT_DATA); 366 CASE(CKM_CAMELLIA_CBC_ENCRYPT_DATA);
363 CASE(CKM_CAMELLIA_CBC_PAD); 367 CASE(CKM_CAMELLIA_CBC_PAD);
364 CASE(CKM_CAMELLIA_ECB); 368 CASE(CKM_CAMELLIA_ECB);
365 CASE(CKM_CAMELLIA_ECB_ENCRYPT_DATA); 369 CASE(CKM_CAMELLIA_ECB_ENCRYPT_DATA);
(...skipping 2358 matching lines...) Expand 10 before | Expand all | Expand 10 after
2724 fprintf(outfile,"%25s %10d %10d%2s\n", "Totals", total_calls, 2728 fprintf(outfile,"%25s %10d %10d%2s\n", "Totals", total_calls,
2725 pr_total_time, type); 2729 pr_total_time, type);
2726 fprintf(outfile,"\n\nMaximum number of concurrent open sessions: %d\n\n", 2730 fprintf(outfile,"\n\nMaximum number of concurrent open sessions: %d\n\n",
2727 maxOpenSessions); 2731 maxOpenSessions);
2728 fflush (outfile); 2732 fflush (outfile);
2729 if (outfile != stdout) { 2733 if (outfile != stdout) {
2730 fclose(outfile); 2734 fclose(outfile);
2731 } 2735 }
2732 } 2736 }
2733 2737
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698