summaryrefslogtreecommitdiffstats
path: root/crypto/symmetric_key_nss.cc
Commit message (Collapse)AuthorAgeFilesLines
* Desupport AES-192 in crypto::SymmetricKey.davidben@chromium.org2014-07-251-1/+22
| | | | | | | | | | | | | BoringSSL does not support AES-192. No current consumer uses AES-192, so remove the test which asserts it works. This fixes crypto_unittests in the Mac OpenSSL port. Blacklist AES-192 in the NSS implementation so that we do not accidentally grow a new dependency on it. BUG=338885 Review URL: https://codereview.chromium.org/420883003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285678 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused SymmetricKey::CreateFromKey method.mattm@chromium.org2014-03-201-7/+0
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/205763003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258427 0039d316-1c4b-4281-b951-d872f2087c98
* Use the NSS internal key slot for all temporary key operationsrsleevi@chromium.org2012-10-171-3/+3
| | | | | | | | | | | | | | | Rather than calling PK11_GetBestSlot, which requires enumerating all connected tokens, use PK11_GetInternalSlot, which explicitly uses the internal NSS key database. On Linux, this will ignore any user preferences regarding what tokens should be used for which mechanisms, but for internal/temporary operations, this is an acceptable tradeoff. BUG=chrome-os-partner:14707 Review URL: https://chromiumcodereview.appspot.com/11186004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162309 0039d316-1c4b-4281-b951-d872f2087c98
* Add EnsureNSSInit in SymmetricKey::Import.xhwang@chromium.org2012-02-091-1/+2
| | | | | | | | | | BUG=none TEST=crypto unit tests Review URL: http://codereview.chromium.org/9359027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121152 0039d316-1c4b-4281-b951-d872f2087c98
* Changed OAuth token+secret encryption to use supplemental user key from NSS DB.zelidrag@chromium.org2011-09-071-0/+7
| | | | | | | | BUG=chromium-os:18633 TEST=none Review URL: http://codereview.chromium.org/7756025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99912 0039d316-1c4b-4281-b951-d872f2087c98
* Move crypto files out of base, to a top level directory.rvargas@google.com2011-04-141-0/+127
src/crypto is now an independent project that contains our cryptographic primitives (except md5 and sha1). This removes the base dependency from nss, openssl and sqlite. BUG=76996 TEST=none Review URL: http://codereview.chromium.org/6805019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81611 0039d316-1c4b-4281-b951-d872f2087c98