Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssl/doc/man3/
H A 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
H A DX509_ATTRIBUTE.pod246 L<ASN1_STRING_get0_data(3)>,
/freebsd/contrib/ntp/sntp/libevent/sample/
H A Dopenssl_hostname_validation.c53 #define ASN1_STRING_get0_data ASN1_STRING_data macro
87 common_name_str = (char *) ASN1_STRING_get0_data(common_name_asn1); in matches_common_name()
131 … const char *dns_name = (char *) ASN1_STRING_get0_data(current_name->d.dNSName); in matches_subject_alternative_name()
/freebsd/contrib/libevent/sample/
H A Dopenssl_hostname_validation.c53 #define ASN1_STRING_get0_data ASN1_STRING_data macro
87 common_name_str = (char *) ASN1_STRING_get0_data(common_name_asn1); in matches_common_name()
131 … const char *dns_name = (char *) ASN1_STRING_get0_data(current_name->d.dNSName); in matches_subject_alternative_name()
/freebsd/crypto/openssl/crypto/cms/
H A 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()
H A Dcms_ec.c109 p = ASN1_STRING_get0_data(pubkey); in ecdh_cms_set_peerkey()
/freebsd/crypto/openssl/crypto/asn1/
H A 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()
H A 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()
H A Dp8_pkey.c60 *pk = ASN1_STRING_get0_data(p8->pkey); in PKCS8_pkey_get0()
/freebsd/crypto/openssl/test/
H A Dx509_internal_test.c96 || !TEST_mem_eq(ASN1_STRING_get0_data(ip), len, in test_a2i_ipaddress()
/freebsd/crypto/openssl/crypto/ts/
H A Dts_lib.c88 BIO_dump_indent(bio, (const char *)ASN1_STRING_get0_data(msg), in TS_MSG_IMPRINT_print_bio()
H A Dts_verify_ctx.c134 memcpy(ret->imprint, ASN1_STRING_get0_data(msg), ret->imprint_len); in TS_REQ_to_TS_VERIFY_CTX()
H A Dts_rsp_verify.c509 memcmp(imprint_a, ASN1_STRING_get0_data(b->hashed_msg), len_a) == 0; in ts_check_imprints()
/freebsd/crypto/openssl/crypto/ct/
H A Dct_prn.c44 ASN1_STRING_get0_data(gen), (unsigned int)(timestamp % 1000)); in timestamp_print()
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_lib.c139 p = ASN1_STRING_get0_data(extvalue); in X509V3_EXT_d2i()
H A Dv3_prn.c83 p = ASN1_STRING_get0_data(extoct); in X509V3_EXT_print()
H A Dt_x509.c271 if (!EVP_Digest(ASN1_STRING_get0_data(keybstr), in X509_ocspid_print()
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_status.c232 ASN1_STRING_get0_data(text), in snprint_PKIStatusInfo_parts()
/freebsd/contrib/wpa/src/utils/
H A Dhttp_curl.c35 static const unsigned char * ASN1_STRING_get0_data(const ASN1_STRING *x) in ASN1_STRING_get0_data() function
483 n->hash = os_memdup(ASN1_STRING_get0_data(hash->hashValue), in DEFINE_STACK_OF()
497 os_memcpy(n->uri, ASN1_STRING_get0_data(uri), len); in DEFINE_STACK_OF()
812 ASN1_STRING_get0_data(os), ASN1_STRING_length(os)); in add_logotype_ext()
814 data = ASN1_STRING_get0_data(os); in add_logotype_ext()
/freebsd/crypto/openssl/crypto/ec/
H A Decx_backend.c250 p = ASN1_STRING_get0_data(oct); in ossl_ecx_key_from_pkcs8()
H A Dec_asn1.c971 if (EC_KEY_oct2priv(ret, ASN1_STRING_get0_data(pkey), in d2i_ECPrivateKey()
993 pub_oct = ASN1_STRING_get0_data(priv_key->publicKey); in d2i_ECPrivateKey()
/freebsd/crypto/openssl/crypto/ocsp/
H A Docsp_srv.c307 && (memcmp(ASN1_STRING_get0_data(respid->value.byKey), md, in OCSP_RESPID_match_ex()
/freebsd/crypto/openssl/crypto/pkcs12/
H A Dp12_mutl.c201 || CRYPTO_memcmp(mac, ASN1_STRING_get0_data(macoct), maclen) != 0) in PKCS12_verify_mac()
/freebsd/crypto/openssl/test/testutil/
H A Dtests.c447 return t == NULL ? "<null>" : (const char *)ASN1_STRING_get0_data(t); in print_time()
/freebsd/contrib/wpa/src/crypto/
H A Dtls_openssl.c125 static const unsigned char * ASN1_STRING_get0_data(const ASN1_STRING *x) in ASN1_STRING_get0_data() function
1823 ASN1_STRING_get0_data(ser), in tls_connection_peer_serial_num()
2036 os_memcmp(ASN1_STRING_get0_data(cn), value, in match_dn_field()
2042 os_memcmp(ASN1_STRING_get0_data(cn), value, in match_dn_field()
2048 field, value, ASN1_STRING_get0_data(cn)); in match_dn_field()
2406 ASN1_STRING_get0_data(ser), in openssl_tls_cert_event()
5614 ASN1_STRING_get0_data(ser), in openssl_debug_dump_certificate()

12