Searched refs:bio (Results 1 – 3 of 3) sorted by relevance
/system/core/adb/crypto/ |
D | key.cpp | 29 bssl::UniquePtr<BIO> bio(BIO_new(BIO_s_mem())); in ToPEMString() local 30 int rc = PEM_write_bio_PKCS8PrivateKey(bio.get(), pkey, nullptr, nullptr, 0, nullptr, nullptr); in ToPEMString() 37 BIO_get_mem_ptr(bio.get(), &mem); in ToPEMString()
|
D | x509_generator.cpp | 105 bssl::UniquePtr<BIO> bio(BIO_new(BIO_s_mem())); in X509ToPEMString() local 106 int rc = PEM_write_bio_X509(bio.get(), x509); in X509ToPEMString() 113 BIO_get_mem_ptr(bio.get(), &mem); in X509ToPEMString()
|
/system/core/adb/tls/ |
D | tls_connection.cpp | 109 bssl::UniquePtr<BIO> bio(BIO_new_mem_buf(pem.data(), pem.size())); in EvpPkeyFromPEM() local 110 return bssl::UniquePtr<EVP_PKEY>(PEM_read_bio_PrivateKey(bio.get(), nullptr, nullptr, nullptr)); in EvpPkeyFromPEM() 115 bssl::UniquePtr<BIO> bio(BIO_new_mem_buf(pem.data(), pem.size())); in BufferFromPEM() local 121 if (!PEM_read_bio(bio.get(), &name, &header, &data, &data_len)) { in BufferFromPEM()
|