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

Side by Side Diff: src/tspi/tspi_aik.c

Issue 3581012: Upgrade from trousers 0.3.3 to 0.3.6 and from testsuite 0.2 to 0.3. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/trousers.git
Patch Set: git cl push Created 10 years, 2 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
« no previous file with comments | « src/tspi/tsp_ps.c ('k') | src/tspi/tspi_nv.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Licensed Materials - Property of IBM 3 * Licensed Materials - Property of IBM
4 * 4 *
5 * trousers - An open source TCG Software Stack 5 * trousers - An open source TCG Software Stack
6 * 6 *
7 * (C) Copyright International Business Machines Corp. 2004-2006 7 * (C) Copyright International Business Machines Corp. 2004-2006
8 * 8 *
9 */ 9 */
10 10
11 #include <limits.h>
11 #include <stdlib.h> 12 #include <stdlib.h>
12 #include <stdio.h> 13 #include <stdio.h>
13 #include <string.h> 14 #include <string.h>
14 #include <inttypes.h> 15 #include <inttypes.h>
15 #include <limits.h> 16 #include <limits.h>
16 17
17 #include "trousers/tss.h" 18 #include "trousers/tss.h"
18 #include "trousers/trousers.h" 19 #include "trousers/trousers.h"
19 #include "trousers_types.h" 20 #include "trousers_types.h"
20 #include "spi_utils.h" 21 #include "spi_utils.h"
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 free(symKey.data); 570 free(symKey.data);
570 return TSPERR(TSS_E_OUTOFMEMORY); 571 return TSPERR(TSS_E_OUTOFMEMORY);
571 } 572 }
572 573
573 free(symKey.data); 574 free(symKey.data);
574 memcpy(*prgbCredential, credBlob, credLen); 575 memcpy(*prgbCredential, credBlob, credLen);
575 *pulCredentialLength = credLen; 576 *pulCredentialLength = credLen;
576 577
577 return TSS_SUCCESS; 578 return TSS_SUCCESS;
578 } 579 }
OLDNEW
« no previous file with comments | « src/tspi/tsp_ps.c ('k') | src/tspi/tspi_nv.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698