Home
last modified time | relevance | path

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

12

/freebsd-12.1/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 B<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
/freebsd-12.1/contrib/libevent/sample/
H A Dopenssl_hostname_validation.c52 #define ASN1_STRING_get0_data ASN1_STRING_data macro
86 common_name_str = (char *) ASN1_STRING_get0_data(common_name_asn1); in matches_common_name()
130 … const char *dns_name = (char *) ASN1_STRING_get0_data(current_name->d.dNSName); in matches_subject_alternative_name()
/freebsd-12.1/crypto/openssl/crypto/poly1305/
H A Dpoly1305_pmeth.c62 if (ASN1_STRING_get0_data(&sctx->ktmp) != NULL && in pkey_poly1305_copy()
77 if (ASN1_STRING_get0_data(&pctx->ktmp) == NULL) in pkey_poly1305_keygen()
141 Poly1305_Init(&pctx->ctx, ASN1_STRING_get0_data(&pctx->ktmp)); in pkey_poly1305_ctrl()
H A Dpoly1305_ameth.c83 memcpy(priv, ASN1_STRING_get0_data(os), ASN1_STRING_length(os)); in poly1305_get_priv_key()
/freebsd-12.1/crypto/openssl/crypto/siphash/
H A Dsiphash_pmeth.c62 if (ASN1_STRING_get0_data(&sctx->ktmp) != NULL && in pkey_siphash_copy()
77 if (ASN1_STRING_get0_data(&pctx->ktmp) == NULL) in pkey_siphash_keygen()
146 return SipHash_Init(&pctx->ctx, ASN1_STRING_get0_data(&pctx->ktmp), in pkey_siphash_ctrl()
H A Dsiphash_ameth.c84 memcpy(priv, ASN1_STRING_get0_data(os), ASN1_STRING_length(os)); in siphash_get_priv_key()
/freebsd-12.1/crypto/openssl/crypto/asn1/
H A Devp_asn1.c39 p = ASN1_STRING_get0_data(a->value.octet_string); in ASN1_TYPE_get_octetstring()
108 memcpy(data, ASN1_STRING_get0_data(atmp->oct), n); in ASN1_TYPE_get_int_octetstring()
H A Dp8_pkey.c60 *pk = ASN1_STRING_get0_data(p8->pkey); in PKCS8_pkey_get0()
H A Dasn1_lib.c381 const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x) in ASN1_STRING_get0_data() function
/freebsd-12.1/crypto/openssl/crypto/hmac/
H A Dhm_ameth.c89 memcpy(priv, ASN1_STRING_get0_data(os), *len); in hmac_get_priv_key()
/freebsd-12.1/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.c131 memcpy(ret->imprint, ASN1_STRING_get0_data(msg), ret->imprint_len); in TS_REQ_to_TS_VERIFY_CTX()
H A Dts_rsp_verify.c544 strncpy(p, (const char *)ASN1_STRING_get0_data(current), length); in ts_get_status_text()
640 memcmp(imprint_a, ASN1_STRING_get0_data(b->hashed_msg), len_a) == 0; in ts_check_imprints()
/freebsd-12.1/crypto/openssl/crypto/ct/
H A Dct_prn.c44 ASN1_STRING_get0_data(gen), (unsigned int)(timestamp % 1000)); in timestamp_print()
/freebsd-12.1/crypto/openssl/crypto/dh/
H A Ddh_ameth.c640 p = ASN1_STRING_get0_data(pubkey); in dh_cms_set_peerkey()
730 dukm = OPENSSL_memdup(ASN1_STRING_get0_data(ukm), dukmlen); in dh_cms_set_shared_info()
874 dukm = OPENSSL_memdup(ASN1_STRING_get0_data(ukm), dukmlen); in dh_cms_encrypt()
/freebsd-12.1/crypto/openssl/crypto/x509v3/
H A Dv3_lib.c139 p = ASN1_STRING_get0_data(extvalue); in X509V3_EXT_d2i()
H A Dv3_prn.c82 p = ASN1_STRING_get0_data(extoct); in X509V3_EXT_print()
/freebsd-12.1/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
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()
/freebsd-12.1/crypto/openssl/crypto/pkcs12/
H A Dp12_mutl.c167 || CRYPTO_memcmp(mac, ASN1_STRING_get0_data(macoct), maclen) != 0) in PKCS12_verify_mac()
/freebsd-12.1/crypto/openssl/crypto/ocsp/
H A Docsp_srv.c299 && (memcmp(ASN1_STRING_get0_data(respid->value.byKey), md, in OCSP_RESPID_match()
/freebsd-12.1/crypto/openssl/crypto/x509/
H A Dt_x509.c262 if (!EVP_Digest(ASN1_STRING_get0_data(keybstr), in X509_ocspid_print()
/freebsd-12.1/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
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()
/freebsd-12.1/crypto/openssl/crypto/ec/
H A Dec_asn1.c988 if (EC_KEY_oct2priv(ret, ASN1_STRING_get0_data(pkey), in d2i_ECPrivateKey()
1007 pub_oct = ASN1_STRING_get0_data(priv_key->publicKey); in d2i_ECPrivateKey()
H A Decx_meth.c189 p = ASN1_STRING_get0_data(oct); in ecx_priv_decode()
/freebsd-12.1/crypto/openssl/include/openssl/
H A Dasn1.h555 const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x);

12