OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |