Home
last modified time | relevance | path

Searched refs:ASN1_STRING_get0_data (Results 1 – 25 of 38) 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 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
/third_party/openssl/crypto/poly1305/
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()
Dpoly1305_ameth.c83 memcpy(priv, ASN1_STRING_get0_data(os), ASN1_STRING_length(os)); in poly1305_get_priv_key()
/third_party/openssl/crypto/siphash/
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()
Dsiphash_ameth.c84 memcpy(priv, ASN1_STRING_get0_data(os), ASN1_STRING_length(os)); in siphash_get_priv_key()
/third_party/openssl/crypto/asn1/
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()
Dp8_pkey.c60 *pk = ASN1_STRING_get0_data(p8->pkey); in PKCS8_pkey_get0()
Dasn1_lib.c407 const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x) in ASN1_STRING_get0_data() function
/third_party/openssl/crypto/hmac/
Dhm_ameth.c90 memcpy(priv, ASN1_STRING_get0_data(os), *len); in hmac_get_priv_key()
/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.c546 strncpy(p, (const char *)ASN1_STRING_get0_data(current), length); in ts_get_status_text()
643 memcmp(imprint_a, ASN1_STRING_get0_data(b->hashed_msg), len_a) == 0; in ts_check_imprints()
/third_party/openssl/crypto/ct/
Dct_prn.c44 ASN1_STRING_get0_data(gen), (unsigned int)(timestamp % 1000)); in timestamp_print()
/third_party/openssl/crypto/x509v3/
Dv3_lib.c139 p = ASN1_STRING_get0_data(extvalue); in X509V3_EXT_d2i()
Dv3_prn.c82 p = ASN1_STRING_get0_data(extoct); in X509V3_EXT_print()
/third_party/openssl/crypto/dh/
Ddh_ameth.c642 p = ASN1_STRING_get0_data(pubkey); in dh_cms_set_peerkey()
733 dukm = OPENSSL_memdup(ASN1_STRING_get0_data(ukm), dukmlen); in dh_cms_set_shared_info()
877 dukm = OPENSSL_memdup(ASN1_STRING_get0_data(ukm), dukmlen); in dh_cms_encrypt()
/third_party/openssl/crypto/pkcs12/
Dp12_mutl.c167 || CRYPTO_memcmp(mac, ASN1_STRING_get0_data(macoct), maclen) != 0) in PKCS12_verify_mac()
/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/openssl/crypto/ocsp/
Docsp_srv.c299 && (memcmp(ASN1_STRING_get0_data(respid->value.byKey), md, in OCSP_RESPID_match()
/third_party/openssl/crypto/x509/
Dt_x509.c262 if (!EVP_Digest(ASN1_STRING_get0_data(keybstr), in X509_ocspid_print()
/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/openssl/test/testutil/
Dtests.c423 return t == NULL ? "<null>" : (char *)ASN1_STRING_get0_data(t); in print_time()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dtls_openssl.c128 static const unsigned char * ASN1_STRING_get0_data(const ASN1_STRING *x) in ASN1_STRING_get0_data() function
1672 ASN1_STRING_get0_data(ser), in tls_connection_peer_serial_num()
1885 os_memcmp(ASN1_STRING_get0_data(cn), value, in match_dn_field()
1891 os_memcmp(ASN1_STRING_get0_data(cn), value, in match_dn_field()
1897 field, value, ASN1_STRING_get0_data(cn)); in match_dn_field()
2255 ASN1_STRING_get0_data(ser), in openssl_tls_cert_event()
5435 ASN1_STRING_get0_data(ser), in openssl_debug_dump_certificate()
/third_party/openssl/crypto/ec/
Dec_asn1.c1030 if (EC_KEY_oct2priv(ret, ASN1_STRING_get0_data(pkey), in d2i_ECPrivateKey()
1049 pub_oct = ASN1_STRING_get0_data(priv_key->publicKey); in d2i_ECPrivateKey()

12