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

Side by Side Diff: host/lib/signature_digest.c

Issue 2815011: Remove unused files, and tidy the directory structure of the remaining ones. (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Created 10 years, 6 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
« no previous file with comments | « host/lib/file_keys.c ('k') | host/linktest/main.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 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 #include "signature_digest.h" 6 #include "signature_digest.h"
7 #define OPENSSL_NO_SHA 7 #define OPENSSL_NO_SHA
8 #include <openssl/engine.h> 8 #include <openssl/engine.h>
9 #include <openssl/pem.h> 9 #include <openssl/pem.h>
10 #include <openssl/rsa.h> 10 #include <openssl/rsa.h>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 key, /* Key to use. */ 65 key, /* Key to use. */
66 RSA_PKCS1_PADDING)) /* Padding to use. */ 66 RSA_PKCS1_PADDING)) /* Padding to use. */
67 debug("SignatureBuf(): RSA_private_encrypt() failed.\n"); 67 debug("SignatureBuf(): RSA_private_encrypt() failed.\n");
68 } 68 }
69 fclose(key_fp); 69 fclose(key_fp);
70 if (key) 70 if (key)
71 RSA_free(key); 71 RSA_free(key);
72 Free(signature_digest); 72 Free(signature_digest);
73 return signature; 73 return signature;
74 } 74 }
OLDNEW
« no previous file with comments | « host/lib/file_keys.c ('k') | host/linktest/main.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698