diff options
Diffstat (limited to 'base/crypto/symmetric_key.h')
-rw-r--r-- | base/crypto/symmetric_key.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/base/crypto/symmetric_key.h b/base/crypto/symmetric_key.h index c1e6f97..d7259be 100644 --- a/base/crypto/symmetric_key.h +++ b/base/crypto/symmetric_key.h @@ -4,6 +4,7 @@ #ifndef BASE_CRYPTO_SYMMETRIC_KEY_H_ #define BASE_CRYPTO_SYMMETRIC_KEY_H_ +#pragma once #include <string> @@ -44,14 +45,11 @@ class SymmetricKey { size_t iterations, size_t key_size_in_bits); -#if defined(USE_NSS) || defined(OS_WIN) - // TODO(albertb): Port this method to mac. // Imports a raw key. For this call to be successful, |raw_key| must have been // generated by either GenerateRandomKey or DeriveKeyFromPassword, and // must have been exported with GetRawKey. The caller owns the returned // SymmetricKey. static SymmetricKey* Import(Algorithm algorithm, const std::string& raw_key); -#endif #if defined(USE_NSS) PK11SymKey* key() const { return key_.get(); } |