Searched refs:bio (Results 1 – 4 of 4) sorted by relevance
/system/webservd/webservd/ |
D | utils.cc | 97 auto bio = in StoreRSAPrivateKey() 99 CHECK(bio); in StoreRSAPrivateKey() 100 CHECK(PEM_write_bio_RSAPrivateKey(bio.get(), rsa_key_pair, nullptr, nullptr, in StoreRSAPrivateKey() 103 size_t size = BIO_get_mem_data(bio.get(), reinterpret_cast<char**>(&buffer)); in StoreRSAPrivateKey() 112 std::unique_ptr<BIO, void(*)(BIO*)> bio{ in ValidateRSAPrivateKey() 115 PEM_read_bio_RSAPrivateKey(bio.get(), nullptr, nullptr, nullptr), in ValidateRSAPrivateKey() 121 auto bio = in StoreCertificate() 123 CHECK(bio); in StoreCertificate() 124 CHECK(PEM_write_bio_X509(bio.get(), cert)); in StoreCertificate() 126 size_t size = BIO_get_mem_data(bio.get(), reinterpret_cast<char**>(&buffer)); in StoreCertificate() [all …]
|
/system/tpm/trunks/ |
D | session_manager_impl.cc | 39 BIO* bio = BIO_new(BIO_s_mem()); in GetOpenSSLError() local 40 ERR_print_errors(bio); in GetOpenSSLError() 42 int data_len = BIO_get_mem_data(bio, &data); in GetOpenSSLError() 44 BIO_free(bio); in GetOpenSSLError()
|
D | trunks_client_test.cc | 47 BIO* bio = BIO_new(BIO_s_mem()); in GetOpenSSLError() local 48 ERR_print_errors(bio); in GetOpenSSLError() 50 int data_len = BIO_get_mem_data(bio, &data); in GetOpenSSLError() 52 BIO_free(bio); in GetOpenSSLError()
|
/system/tpm/attestation/common/ |
D | crypto_utility_impl.cc | 43 BIO* bio = BIO_new(BIO_s_mem()); in GetOpenSSLError() local 44 ERR_print_errors(bio); in GetOpenSSLError() 46 int data_len = BIO_get_mem_data(bio, &data); in GetOpenSSLError() 48 BIO_free(bio); in GetOpenSSLError()
|