Lines Matching refs:std

38   bool GetRandom(size_t num_bytes, std::string* random_data) const override;
39 bool CreateSealedKey(std::string* aes_key, std::string* sealed_key) override;
40 bool EncryptData(const std::string& data,
41 const std::string& aes_key,
42 const std::string& sealed_key,
43 std::string* encrypted_data) override;
44 bool UnsealKey(const std::string& encrypted_data,
45 std::string* aes_key,
46 std::string* sealed_key) override;
47 bool DecryptData(const std::string& encrypted_data,
48 const std::string& aes_key,
49 std::string* data) override;
50 bool GetRSASubjectPublicKeyInfo(const std::string& public_key,
51 std::string* spki) override;
52 bool GetRSAPublicKey(const std::string& public_key_info,
53 std::string* public_key) override;
55 const std::string& credential,
56 const std::string& ek_public_key_info,
57 const std::string& aik_public_key,
59 bool EncryptForUnbind(const std::string& public_key,
60 const std::string& data,
61 std::string* encrypted_data) override;
62 bool VerifySignature(const std::string& public_key,
63 const std::string& data,
64 const std::string& signature) override;
69 bool AesEncrypt(const std::string& data,
70 const std::string& key,
71 const std::string& iv,
72 std::string* encrypted_data);
76 bool AesDecrypt(const std::string& encrypted_data,
77 const std::string& key,
78 const std::string& iv,
79 std::string* data);
82 std::string HmacSha512(const std::string& data, const std::string& key);
86 bool TssCompatibleEncrypt(const std::string& input,
87 const std::string& key,
88 std::string* output);
91 bool TpmCompatibleOAEPEncrypt(const std::string& input,
93 std::string* output);