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

Side by Side Diff: crypto/signature_verifier.h

Issue 407713002: clean up code at crypto folder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert code around 84line at p224.cc Created 6 years, 5 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 | « crypto/signature_creator.h ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium 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 #ifndef CRYPTO_SIGNATURE_VERIFIER_H_ 5 #ifndef CRYPTO_SIGNATURE_VERIFIER_H_
6 #define CRYPTO_SIGNATURE_VERIFIER_H_ 6 #define CRYPTO_SIGNATURE_VERIFIER_H_
7 7
8 #include "build/build_config.h"
9
10 #include <vector> 8 #include <vector>
11 9
10 #include "build/build_config.h"
12 #include "base/basictypes.h" 11 #include "base/basictypes.h"
13 #include "crypto/crypto_export.h" 12 #include "crypto/crypto_export.h"
14 13
15 #if defined(USE_OPENSSL) 14 #if defined(USE_OPENSSL)
16 typedef struct env_md_st EVP_MD; 15 typedef struct env_md_st EVP_MD;
17 typedef struct evp_pkey_ctx_st EVP_PKEY_CTX; 16 typedef struct evp_pkey_ctx_st EVP_PKEY_CTX;
18 #else 17 #else
19 typedef struct HASHContextStr HASHContext; 18 typedef struct HASHContextStr HASHContext;
20 typedef struct SECKEYPublicKeyStr SECKEYPublicKey; 19 typedef struct SECKEYPublicKeyStr SECKEYPublicKey;
21 typedef struct VFYContextStr VFYContext; 20 typedef struct VFYContextStr VFYContext;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 HashAlgorithm mask_hash_alg_; 136 HashAlgorithm mask_hash_alg_;
138 unsigned int salt_len_; 137 unsigned int salt_len_;
139 SECKEYPublicKey* public_key_; 138 SECKEYPublicKey* public_key_;
140 HASHContext* hash_context_; 139 HASHContext* hash_context_;
141 #endif 140 #endif
142 }; 141 };
143 142
144 } // namespace crypto 143 } // namespace crypto
145 144
146 #endif // CRYPTO_SIGNATURE_VERIFIER_H_ 145 #endif // CRYPTO_SIGNATURE_VERIFIER_H_
OLDNEW
« no previous file with comments | « crypto/signature_creator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698