Home
last modified time | relevance | path

Searched refs:bio (Results 1 - 14 of 14) sorted by relevance

/developtools/hapsigner/hapsigntool_cpp/api/src/
H A Dsign_tool_service_impl.cpp558 BIO* bio = nullptr; in OutPutCertChain() local
559 if (!(bio = BIO_new_file(outPutPath.c_str(), "wb"))) { in OutPutCertChain()
564 if (PEM_write_bio_X509(bio, cert) < 0) { in OutPutCertChain()
569 BIO_free(bio); in OutPutCertChain()
573 BIO_free(bio); in OutPutCertChain()
579 BIO* bio = BIO_new_file(outPutPath.c_str(), "wb"); in OutPutCert() local
580 if (!bio) { in OutPutCert()
584 if (!PEM_write_bio_X509(bio, cert)) { in OutPutCert()
588 BIO_free(bio); in OutPutCert()
592 BIO_free(bio); in OutPutCert()
620 BIO* bio = BIO_new(BIO_s_mem()); PrintX509CertFromMemory() local
642 BIO* bio = BIO_new(BIO_s_mem()); PrintX509CertChainFromMemory() local
[all...]
/developtools/profiler/device/plugins/hiebpf_plugin/tools/src/
H A Debpf_converter.cpp438 EventBIO bio = {}; in EventBIOParsing() local
439 CHK(Read(reinterpret_cast<void*>(&bio), EVENT_BIO_FIXED_SIZE)); in EventBIOParsing()
440 uint64_t userIPs[bio.nips]; in EventBIOParsing()
441 if (bio.nips > 0) { in EventBIOParsing()
443 bio.userIPs = std::vector<uint64_t>(userIPs, userIPs + bio.nips); in EventBIOParsing()
448 << " tag: " << bio.tag << '\n' in EventBIOParsing()
449 << " len: " << bio.len << '\n' in EventBIOParsing()
450 << " pid: " << bio.pid << '\n' in EventBIOParsing()
451 << " tid: " << bio in EventBIOParsing()
[all...]
/developtools/hapsigner/hapsigntool_cpp/utils/src/
H A Dstring_utils.cpp100 BIO* bio = BIO_new(BIO_s_mem()); in x509CertToString() local
101 PEM_write_bio_X509(bio, cert); in x509CertToString()
103 long length = BIO_get_mem_data(bio, &buffer); in x509CertToString()
105 BIO_free(bio); in x509CertToString()
/developtools/hapsigner/hapsigntool_cpp/common/src/
H A Dlocalization_adapter.cpp262 BIO* bio = BIO_new_file(certPath.c_str(), "rb"); in GetCertsFromFile() local
263 if (!bio) { in GetCertsFromFile()
266 BIO_free(bio); in GetCertsFromFile()
270 while ((cert = PEM_read_bio_X509(bio, NULL, NULL, NULL)) != nullptr) { in GetCertsFromFile()
273 BIO_free(bio); in GetCertsFromFile()
/developtools/hapsigner/hapsigntool_cpp/profile/include/
H A Dpkcs7_data.h132 int Pkcs7DataFinalSignAttr(STACK_OF(PKCS7_SIGNER_INFO)* si_sk, BIO* bio); member in OHOS::SignatureTools::PKCS7Data
134 int Pkcs7DataFinal(PKCS7* p7, BIO* bio);
/developtools/hapsigner/hapsigntool_cpp/codesigning/utils/include/
H A Dfs_digest_utils.h22 #include <openssl/bio.h>
/developtools/hdc/src/common/
H A Dauth.cpp599 BIO *bio = nullptr; in LoadPublicKey() local
614 bio = BIO_new(BIO_s_mem()); in LoadPublicKey()
615 if (!bio) { in LoadPublicKey()
616 WRITE_LOG(LOG_FATAL, "alloc bio mem failed"); in LoadPublicKey()
619 if (!PEM_write_bio_PUBKEY(bio, evp)) { in LoadPublicKey()
620 WRITE_LOG(LOG_FATAL, "write bio failed"); in LoadPublicKey()
625 if (BIO_read_ex(bio, buf, sizeof(buf), &len) <= 0) { in LoadPublicKey()
626 WRITE_LOG(LOG_FATAL, "read bio failed"); in LoadPublicKey()
638 if (bio) { in LoadPublicKey()
639 BIO_free(bio); in LoadPublicKey()
[all...]
H A Dbase.cpp22 #include <openssl/bio.h>
/developtools/profiler/hiebpf/src/
H A Dhiebpf.bpf.c502 int get_filename_by_bio(char *filename, const size_t len, const struct bio *bio) in get_filename_by_bio() argument
504 if (filename == NULL || len == 0 || bio == NULL) { in get_filename_by_bio()
508 struct inode *host = BPF_CORE_READ(bio, bi_io_vec, bv_page, mapping, host); in get_filename_by_bio()
510 BPFLOGD(BPF_TRUE, "failed to get the bio associated inode"); in get_filename_by_bio()
709 /**************************** bio BPF progs BEGING *******************************/
727 emit_strtrace_event(bio_se->stime, bio_se->type, BPF_CORE_READ(rq, bio), BIOTRACE); in handle_blk_issue()
732 bio_se->size = BPF_CORE_READ(rq, bio, bi_iter.bi_size); in handle_blk_issue()
778 cmplt_event->prio = BPF_CORE_READ(rq, bio, bi_ioprio); in BPF_PROG()
779 cmplt_event->blkcnt = BPF_CORE_READ(rq, bio, bi_ite in BPF_PROG()
[all...]
/developtools/hdc/src/daemon/
H A Ddaemon.cpp21 #include <openssl/bio.h>
578 BIO *bio = nullptr; in InitMod() local
584 bio = BIO_new(BIO_s_mem()); in InitMod()
585 if (bio == nullptr) { in InitMod()
586 WRITE_LOG(LOG_FATAL, "bio failed for session %u", hSession->sessionId); in InitMod()
589 int wbytes = BIO_write(bio, pubkeyp, pubkey.length()); in InitMod()
591 WRITE_LOG(LOG_FATAL, "bio write failed %d for session %u", wbytes, hSession->sessionId); in InitMod()
594 rsa = PEM_read_bio_RSA_PUBKEY(bio, nullptr, nullptr, nullptr); in InitMod()
606 if (bio) { in InitMod()
607 BIO_free(bio); in InitMod()
[all...]
/developtools/hapsigner/hapsigntool_cpp/hap/provider/include/
H A Dsign_provider.h29 #include <openssl/bio.h>
/developtools/hapsigner/hapsigntool_cpp/profile/src/
H A Dpkcs7_data.cpp600 static int PKCS7DataFinalCheck(PKCS7* pkcs7, BIO* bio, in PKCS7DataFinalCheck() argument
625 int PKCS7Data::Pkcs7DataFinalSignAttr(STACK_OF(PKCS7_SIGNER_INFO)* infoStack, BIO* bio)
644 ioTmp = bio;
/developtools/hapsigner/hapsigntool_cpp/hap/provider/src/
H A Dsign_provider.cpp18 #include <openssl/bio.h>
713 "bio new error ,get ceritificate from base64 certificate failed"); in GetCertificate()
/developtools/profiler/hiebpf/include/
H A Dvmlinux.h2647 struct bio;
2650 struct bio *head;
2651 struct bio *tail;
5410 typedef void bio_end_io_t(struct bio *);
5426 struct bio { struct
5427 struct bio *bi_next;
7475 struct bio *bip_bio;
7664 void (*submit_bio)(struct bio *);
29086 struct bio *bio; member
40508 struct bio *bio; global() member
40569 struct bio *bio; global() member
40580 struct bio *bio; global() member
45294 struct bio *bio; global() member
46836 struct bio *bio; global() member
47424 struct bio *bio; global() member
60554 struct bio bio; global() member
60656 struct bio *bio; global() member
62273 struct bio *bio; global() member
64819 struct bio *bio; global() member
124173 struct bio *bio; global() member
137422 struct bio *bio; global() member
137590 struct bio *bio; global() member
[all...]

Completed in 415 milliseconds