Home
last modified time | relevance | path

Searched refs:ASN1_STRING_get0_data (Results 1 – 25 of 37) sorted by relevance

12

/third_party/openssl/doc/man3/
DASN1_STRING_length.pod6 ASN1_STRING_type, ASN1_STRING_get0_data, ASN1_STRING_data,
14 const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x);
33 ASN1_STRING_get0_data() returns an internal pointer to the data of I<x>.
37 ASN1_STRING_data() is similar to ASN1_STRING_get0_data() except the
39 applications should use ASN1_STRING_get0_data() instead.
84 ASN1_STRING_get0_data() and ASN1_STRING_data() return an internal pointer to
/third_party/rust/crates/rust-openssl/openssl/src/
Dasn1.rs457 #[corresponds(ASN1_STRING_get0_data)]
459 unsafe { slice::from_raw_parts(ASN1_STRING_get0_data(self.as_ptr()), self.len()) } in as_slice()
556 #[corresponds(ASN1_STRING_get0_data)]
558 unsafe { slice::from_raw_parts(ASN1_STRING_get0_data(self.as_ptr() as *mut _), self.len()) } in as_slice()
655 use ffi::ASN1_STRING_get0_data;
658 unsafe fn ASN1_STRING_get0_data(s: *mut ffi::ASN1_STRING) -> *const ::libc::c_uchar {
/third_party/openssl/crypto/cms/
Dcms_dh.c46 p = ASN1_STRING_get0_data(pubkey); in dh_cms_set_peerkey()
144 dukm = OPENSSL_memdup(ASN1_STRING_get0_data(ukm), dukmlen); in dh_cms_set_shared_info()
297 dukm = OPENSSL_memdup(ASN1_STRING_get0_data(ukm), dukmlen); in dh_cms_encrypt()
Dcms_ec.c108 p = ASN1_STRING_get0_data(pubkey); in ecdh_cms_set_peerkey()
/third_party/openssl/crypto/asn1/
Devp_asn1.c43 p = ASN1_STRING_get0_data(a->value.octet_string); in ASN1_TYPE_get_octetstring()
77 memcpy(data, ASN1_STRING_get0_data(oct), n); in asn1_type_get_int_oct()
Dasn1_lib.c419 const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x) in ASN1_STRING_get0_data() function
464 strncpy(p, (const char *)ASN1_STRING_get0_data(current), length); in ossl_sk_ASN1_UTF8STRING2text()
Dp8_pkey.c60 *pk = ASN1_STRING_get0_data(p8->pkey); in PKCS8_pkey_get0()
/third_party/openssl/test/
Dx509_internal_test.c96 || !TEST_mem_eq(ASN1_STRING_get0_data(ip), len, in test_a2i_ipaddress()
/third_party/openssl/crypto/ts/
Dts_lib.c88 BIO_dump_indent(bio, (const char *)ASN1_STRING_get0_data(msg), in TS_MSG_IMPRINT_print_bio()
Dts_verify_ctx.c134 memcpy(ret->imprint, ASN1_STRING_get0_data(msg), ret->imprint_len); in TS_REQ_to_TS_VERIFY_CTX()
Dts_rsp_verify.c509 memcmp(imprint_a, ASN1_STRING_get0_data(b->hashed_msg), len_a) == 0; in ts_check_imprints()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dasn1.rs20 pub fn ASN1_STRING_get0_data(x: *const ASN1_STRING) -> *const c_uchar; in ASN1_STRING_get0_data() function
/third_party/openssl/crypto/ct/
Dct_prn.c44 ASN1_STRING_get0_data(gen), (unsigned int)(timestamp % 1000)); in timestamp_print()
/third_party/openssl/crypto/x509/
Dv3_lib.c139 p = ASN1_STRING_get0_data(extvalue); in X509V3_EXT_d2i()
Dv3_prn.c83 p = ASN1_STRING_get0_data(extoct); in X509V3_EXT_print()
/third_party/openssl/crypto/cmp/
Dcmp_status.c225 ASN1_STRING_get0_data(text), in snprint_PKIStatusInfo_parts()
/third_party/openssl/crypto/ec/
Decx_backend.c247 p = ASN1_STRING_get0_data(oct); in ossl_ecx_key_from_pkcs8()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dhttp_curl.c35 static const unsigned char * ASN1_STRING_get0_data(const ASN1_STRING *x) in ASN1_STRING_get0_data() function
505 n->hash = os_memdup(ASN1_STRING_get0_data(hash->hashValue), in DEFINE_STACK_OF()
519 os_memcpy(n->uri, ASN1_STRING_get0_data(uri), len); in DEFINE_STACK_OF()
834 ASN1_STRING_get0_data(os), ASN1_STRING_length(os)); in add_logotype_ext()
836 data = ASN1_STRING_get0_data(os); in add_logotype_ext()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dhttp_curl.c35 static const unsigned char * ASN1_STRING_get0_data(const ASN1_STRING *x) in ASN1_STRING_get0_data() function
505 n->hash = os_memdup(ASN1_STRING_get0_data(hash->hashValue), in DEFINE_STACK_OF()
519 os_memcpy(n->uri, ASN1_STRING_get0_data(uri), len); in DEFINE_STACK_OF()
834 ASN1_STRING_get0_data(os), ASN1_STRING_length(os)); in add_logotype_ext()
836 data = ASN1_STRING_get0_data(os); in add_logotype_ext()
/third_party/rust/crates/rust-openssl/openssl/src/x509/
Dmod.rs1730 let ptr = ASN1_STRING_get0_data(d as *mut _); in ia5_string()
1767 let ptr = ASN1_STRING_get0_data(d as *mut _); in ipaddress()
1915 X509_ALGOR_get0, ASN1_STRING_get0_data, X509_STORE_CTX_get0_chain, X509_set1_notAfter,
1920 ASN1_STRING_data as ASN1_STRING_get0_data,
/third_party/openssl/crypto/pkcs12/
Dp12_mutl.c191 || CRYPTO_memcmp(mac, ASN1_STRING_get0_data(macoct), maclen) != 0) in PKCS12_verify_mac()
/third_party/openssl/crypto/ocsp/
Docsp_srv.c307 && (memcmp(ASN1_STRING_get0_data(respid->value.byKey), md, in OCSP_RESPID_match_ex()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dtls_openssl.c125 static const unsigned char * ASN1_STRING_get0_data(const ASN1_STRING *x) in ASN1_STRING_get0_data() function
1661 ASN1_STRING_get0_data(ser), in tls_connection_peer_serial_num()
1874 os_memcmp(ASN1_STRING_get0_data(cn), value, in match_dn_field()
1880 os_memcmp(ASN1_STRING_get0_data(cn), value, in match_dn_field()
1886 field, value, ASN1_STRING_get0_data(cn)); in match_dn_field()
2241 ASN1_STRING_get0_data(ser), in openssl_tls_cert_event()
5172 ASN1_STRING_get0_data(ser), in openssl_debug_dump_certificate()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dtls_openssl.c130 static const unsigned char * ASN1_STRING_get0_data(const ASN1_STRING *x) in ASN1_STRING_get0_data() function
1674 ASN1_STRING_get0_data(ser), in tls_connection_peer_serial_num()
1887 os_memcmp(ASN1_STRING_get0_data(cn), value, in match_dn_field()
1893 os_memcmp(ASN1_STRING_get0_data(cn), value, in match_dn_field()
1899 field, value, ASN1_STRING_get0_data(cn)); in match_dn_field()
2257 ASN1_STRING_get0_data(ser), in openssl_tls_cert_event()
5461 ASN1_STRING_get0_data(ser), in openssl_debug_dump_certificate()
/third_party/openssl/test/testutil/
Dtests.c447 return t == NULL ? "<null>" : (const char *)ASN1_STRING_get0_data(t); in print_time()

12