Lines Matching refs:crypto
65 crypto::EnsureOpenSSLInit(); in TrunksClientTest()
386 std::string hashed_extend_data = crypto::SHA256HashString(extend_data); in PCRTest()
388 crypto::SHA256HashString(old_data + hashed_extend_data); in PCRTest()
528 std::string hashed_extend_data = crypto::SHA256HashString(pcr_extend_data); in PolicyAndTest()
529 next_pcr_value = crypto::SHA256HashString(pcr_value + hashed_extend_data); in PolicyAndTest()
1020 crypto::ScopedRSA rsa(RSA_new()); in GenerateRSAKeyPair()
1021 crypto::ScopedBIGNUM exponent(BN_new()); in GenerateRSAKeyPair()
1026 crypto::ScopedRSA rsa(RSA_generate_key(2048, 0x10001, nullptr, nullptr)); in GenerateRSAKeyPair()
1039 crypto::ScopedOpenSSLBytes scoped_buffer(buffer); in GenerateRSAKeyPair()
1048 crypto::ScopedRSA rsa( in VerifyRSASignature()
1051 std::string digest = crypto::SHA256HashString(data); in VerifyRSASignature()