Lines Matching refs:crypto
62 crypto::EnsureOpenSSLInit(); in TrunksClientTest()
390 std::string hashed_extend_data = crypto::SHA256HashString(extend_data); in PCRTest()
392 crypto::SHA256HashString(old_data + hashed_extend_data); in PCRTest()
534 std::string hashed_extend_data = crypto::SHA256HashString(pcr_extend_data); in PolicyAndTest()
535 next_pcr_value = crypto::SHA256HashString(pcr_value + hashed_extend_data); in PolicyAndTest()
992 crypto::ScopedRSA rsa(RSA_new()); in GenerateRSAKeyPair()
993 crypto::ScopedBIGNUM exponent(BN_new()); in GenerateRSAKeyPair()
998 crypto::ScopedRSA rsa(RSA_generate_key(2048, 0x10001, nullptr, nullptr)); in GenerateRSAKeyPair()
1011 crypto::ScopedOpenSSLBytes scoped_buffer(buffer); in GenerateRSAKeyPair()
1020 crypto::ScopedRSA rsa(d2i_RSAPublicKey(nullptr, &asn1_ptr, in VerifyRSASignature()
1023 std::string digest = crypto::SHA256HashString(data); in VerifyRSASignature()