Home | History | Annotate | Download | only in crypto

Lines Matching defs:passphrase

101                        base::StringPiece passphrase,
105 const std::string combined = salt.as_string() + passphrase.as_string();
191 base::StringPiece passphrase,
204 ParseSymmetricKeyEncrypted(&inner, passphrase, &decryption_context);
371 // ParseSymmetricKeyEncrypted parses a passphrase protected session key. See
375 base::StringPiece passphrase,
413 SaltedIteratedS2K(cipher_key_length, hash_function, passphrase, salt,
414 passphrase.size() + salt.size(), key);
422 cipher_key_length, hash_function, passphrase, salt,
621 base::StringPiece passphrase) {
623 ByteString ske = SerializeSymmetricKeyEncrypted(passphrase, &key);
673 // |passphrase|, sets |out_key| to it and returns a Symmetric Key Encrypted
675 static ByteString SerializeSymmetricKeyEncrypted(base::StringPiece passphrase,
693 sizeof(key), HASH_AlgSHA1, passphrase,
772 base::StringPiece passphrase,
778 Result reader = decrypter.Decrypt(encrypted, passphrase, &result);
787 base::StringPiece passphrase) {
791 Encrypter::Encrypt(plaintext, passphrase);