Searched refs:key_source (Results 1 – 4 of 4) sorted by relevance
59 const std::vector<uint8>& key_source) { in EncryptKeySource() argument69 if (key_source.size() != keysize) in EncryptKeySource()76 const_cast<unsigned char*>(&key_source[0]), in EncryptKeySource()77 key_source.size(), in EncryptKeySource()
271 std::vector<uint8> key_source; in BuildRandomSharedKey() local274 key_source = RsaPad(PublicKeyLength(), entropy); in BuildRandomSharedKey()276 return DeriveSharedKey(key_source); in BuildRandomSharedKey()280 const base::StringPiece& key_source) { in SetSharedKeyForTesting() argument281 DCHECK_EQ(key_source.length(), PublicKeyLength()); in SetSharedKeyForTesting()283 return DeriveSharedKey(std::vector<uint8>(key_source.begin(), in SetSharedKeyForTesting()284 key_source.end())); in SetSharedKeyForTesting()
22 const std::vector<uint8>& key_source) { in EncryptKeySource() argument
89 bool EncryptKeySource(const std::vector<uint8>& key_source);