Home
last modified time | relevance | path

Searched refs:ASN1_STRING_length (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-13.1/crypto/openssl/crypto/hmac/
H A Dhm_ameth.c82 *len = ASN1_STRING_length(os); in hmac_get_priv_key()
86 if (os == NULL || *len < (size_t)ASN1_STRING_length(os)) in hmac_get_priv_key()
89 *len = ASN1_STRING_length(os); in hmac_get_priv_key()
/freebsd-13.1/contrib/libevent/sample/
H A Dopenssl_hostname_validation.c89 if ((size_t)ASN1_STRING_length(common_name_asn1) != strlen(common_name_str)) { in matches_common_name()
133 … if ((size_t)ASN1_STRING_length(current_name->d.dNSName) != strlen(dns_name)) { in matches_subject_alternative_name()
/freebsd-13.1/crypto/openssl/doc/man3/
H A DASN1_STRING_length.pod5 ASN1_STRING_dup, ASN1_STRING_cmp, ASN1_STRING_set, ASN1_STRING_length,
13 int ASN1_STRING_length(ASN1_STRING *x);
31 ASN1_STRING_length() returns the length of the content of B<x>.
82 ASN1_STRING_length() returns the length of the content of B<x>.
/freebsd-13.1/crypto/openssl/crypto/asn1/
H A Devp_asn1.c40 ret = ASN1_STRING_length(a->value.octet_string); in ASN1_TYPE_get_octetstring()
101 ret = ASN1_STRING_length(atmp->oct); in ASN1_TYPE_get_int_octetstring()
H A Dp8_pkey.c61 *ppklen = ASN1_STRING_length(p8->pkey); in PKCS8_pkey_get0()
H A Dasn1_lib.c392 int ASN1_STRING_length(const ASN1_STRING *x) in ASN1_STRING_length() function
/freebsd-13.1/crypto/openssl/crypto/ts/
H A Dts_rsp_verify.c531 if (ASN1_STRING_length(current) > TS_MAX_STATUS_LENGTH - length - 1) in ts_get_status_text()
533 length += ASN1_STRING_length(current); in ts_get_status_text()
543 length = ASN1_STRING_length(current); in ts_get_status_text()
642 ret = len_a == (unsigned)ASN1_STRING_length(b->hashed_msg) && in ts_check_imprints()
H A Dts_lib.c89 ASN1_STRING_length(msg), 4); in TS_MSG_IMPRINT_print_bio()
H A Dts_verify_ctx.c129 ret->imprint_len = ASN1_STRING_length(msg); in TS_REQ_to_TS_VERIFY_CTX()
/freebsd-13.1/crypto/openssl/crypto/siphash/
H A Dsiphash_ameth.c84 memcpy(priv, ASN1_STRING_get0_data(os), ASN1_STRING_length(os)); in siphash_get_priv_key()
/freebsd-13.1/crypto/openssl/crypto/poly1305/
H A Dpoly1305_ameth.c83 memcpy(priv, ASN1_STRING_get0_data(os), ASN1_STRING_length(os)); in poly1305_get_priv_key()
/freebsd-13.1/crypto/openssl/crypto/x509v3/
H A Dv3_lib.c140 extlen = ASN1_STRING_length(extvalue); in X509V3_EXT_d2i()
H A Dv3_prn.c83 extlen = ASN1_STRING_length(extoct); in X509V3_EXT_print()
/freebsd-13.1/crypto/openssl/apps/
H A Dpkcs12.c543 tmac != NULL ? ASN1_STRING_length(tmac) : 0L, in pkcs12_main()
544 tsalt != NULL ? ASN1_STRING_length(tsalt) : 0L); in pkcs12_main()
839 ASN1_STRING_length(kdf->salt), in alg_print()
/freebsd-13.1/crypto/openssl/crypto/dh/
H A Ddh_ameth.c641 plen = ASN1_STRING_length(pubkey); in dh_cms_set_peerkey()
732 dukmlen = ASN1_STRING_length(ukm); in dh_cms_set_shared_info()
876 dukmlen = ASN1_STRING_length(ukm); in dh_cms_encrypt()
/freebsd-13.1/crypto/openssl/crypto/pkcs12/
H A Dp12_mutl.c166 if ((maclen != (unsigned int)ASN1_STRING_length(macoct)) in PKCS12_verify_mac()
/freebsd-13.1/crypto/openssl/crypto/ocsp/
H A Docsp_srv.c298 return (ASN1_STRING_length(respid->value.byKey) == SHA_DIGEST_LENGTH) in OCSP_RESPID_match()
/freebsd-13.1/contrib/wpa/src/utils/
H A Dhttp_curl.c504 n->hash_len = ASN1_STRING_length(hash->hashValue); in DEFINE_STACK_OF()
512 len = ASN1_STRING_length(uri); in DEFINE_STACK_OF()
834 ASN1_STRING_get0_data(os), ASN1_STRING_length(os)); in add_logotype_ext()
837 logo = d2i_LogotypeExtn(NULL, &data, ASN1_STRING_length(os)); in add_logotype_ext()
/freebsd-13.1/crypto/openssl/crypto/x509/
H A Dt_x509.c263 ASN1_STRING_length(keybstr), SHA1md, NULL, EVP_sha1(), in X509_ocspid_print()
/freebsd-13.1/crypto/openssl/crypto/ec/
H A Dec_asn1.c1031 ASN1_STRING_length(pkey)) == 0) in d2i_ECPrivateKey()
1050 pub_oct_len = ASN1_STRING_length(priv_key->publicKey); in d2i_ECPrivateKey()
H A Decx_meth.c190 plen = ASN1_STRING_length(oct); in ecx_priv_decode()
/freebsd-13.1/contrib/wpa/src/crypto/
H A Dtls_openssl.c1664 len = ASN1_STRING_length(ser) * 2 + 1; in tls_connection_peer_serial_num()
1670 ASN1_STRING_length(ser)); in tls_connection_peer_serial_num()
1881 ret = ASN1_STRING_length(cn) >= len - 1 && in match_dn_field()
1887 ret = ASN1_STRING_length(cn) == len && in match_dn_field()
2253 ASN1_STRING_length(ser)); in openssl_tls_cert_event()
5382 ASN1_STRING_length(ser)); in openssl_debug_dump_certificate()
H A Dtls_openssl_ocsp.c550 basic_len = ASN1_STRING_length(bytes->response); in check_ocsp_resp()
/freebsd-13.1/secure/lib/libcrypto/man/man3/
H A DMakefile7 MAN+= ASN1_STRING_length.3
517 MLINKS+= ASN1_STRING_length.3 ASN1_STRING_cmp.3
518 MLINKS+= ASN1_STRING_length.3 ASN1_STRING_data.3
519 MLINKS+= ASN1_STRING_length.3 ASN1_STRING_dup.3
520 MLINKS+= ASN1_STRING_length.3 ASN1_STRING_get0_data.3
521 MLINKS+= ASN1_STRING_length.3 ASN1_STRING_set.3
522 MLINKS+= ASN1_STRING_length.3 ASN1_STRING_to_UTF8.3
523 MLINKS+= ASN1_STRING_length.3 ASN1_STRING_type.3
/freebsd-13.1/crypto/openssl/include/openssl/
H A Dasn1.h551 int ASN1_STRING_length(const ASN1_STRING *x);

12