| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_P224_H_ | 5 #ifndef CRYPTO_P224_H_ |
| 6 #define CRYPTO_P224_H_ | 6 #define CRYPTO_P224_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include <string> | 8 #include <string> |
| 10 | 9 |
| 11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 12 #include "base/string_piece.h" | 11 #include "base/string_piece.h" |
| 13 #include "crypto/crypto_export.h" | 12 #include "crypto/crypto_export.h" |
| 14 | 13 |
| 15 namespace crypto { | 14 namespace crypto { |
| 16 | 15 |
| 17 // P224 implements an elliptic curve group, commonly known as P224 and defined | 16 // P224 implements an elliptic curve group, commonly known as P224 and defined |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 void CRYPTO_EXPORT Add(const Point& a, const Point& b, Point* out); | 51 void CRYPTO_EXPORT Add(const Point& a, const Point& b, Point* out); |
| 53 | 52 |
| 54 // Negate calculates out = -a; | 53 // Negate calculates out = -a; |
| 55 void CRYPTO_EXPORT Negate(const Point& a, Point* out); | 54 void CRYPTO_EXPORT Negate(const Point& a, Point* out); |
| 56 | 55 |
| 57 } // namespace p224 | 56 } // namespace p224 |
| 58 | 57 |
| 59 } // namespace crypto | 58 } // namespace crypto |
| 60 | 59 |
| 61 #endif // CRYPTO_P224_H_ | 60 #endif // CRYPTO_P224_H_ |
| OLD | NEW |