Home
last modified time | relevance | path

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

12

/freebsd/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 I<x>.
82 ASN1_STRING_length() returns the length of the content of I<x>.
/freebsd/contrib/ntp/sntp/libevent/sample/
H A Dopenssl_hostname_validation.c90 if ((size_t)ASN1_STRING_length(common_name_asn1) != strlen(common_name_str)) { in matches_common_name()
134 … if ((size_t)ASN1_STRING_length(current_name->d.dNSName) != strlen(dns_name)) { in matches_subject_alternative_name()
/freebsd/contrib/libevent/sample/
H A Dopenssl_hostname_validation.c90 if ((size_t)ASN1_STRING_length(common_name_asn1) != strlen(common_name_str)) { in matches_common_name()
134 … if ((size_t)ASN1_STRING_length(current_name->d.dNSName) != strlen(dns_name)) { in matches_subject_alternative_name()
/freebsd/crypto/openssl/crypto/asn1/
H A Dasn1_lib.c402 int ASN1_STRING_length(const ASN1_STRING *x) in ASN1_STRING_length() function
449 length += ASN1_STRING_length(current); in ossl_sk_ASN1_UTF8STRING2text()
459 length = ASN1_STRING_length(current); in ossl_sk_ASN1_UTF8STRING2text()
H A Devp_asn1.c44 ret = ASN1_STRING_length(a->value.octet_string); in ASN1_TYPE_get_octetstring()
66 int ret = ASN1_STRING_length(oct), n; in asn1_type_get_int_oct()
H A Dp8_pkey.c61 *ppklen = ASN1_STRING_length(p8->pkey); in PKCS8_pkey_get0()
/freebsd/crypto/openssl/crypto/cms/
H A Dcms_dh.c45 plen = ASN1_STRING_length(pubkey); in dh_cms_set_peerkey()
143 dukmlen = ASN1_STRING_length(ukm); in dh_cms_set_shared_info()
296 dukmlen = ASN1_STRING_length(ukm); in dh_cms_encrypt()
H A Dcms_ec.c108 plen = ASN1_STRING_length(pubkey); in ecdh_cms_set_peerkey()
/freebsd/crypto/openssl/test/
H A Dx509_internal_test.c95 || !TEST_int_eq(ASN1_STRING_length(ip), len) in test_a2i_ipaddress()
/freebsd/crypto/openssl/crypto/ts/
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()
H A Dts_rsp_verify.c508 ret = len_a == (unsigned)ASN1_STRING_length(b->hashed_msg) && in ts_check_imprints()
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_lib.c140 extlen = ASN1_STRING_length(extvalue); in X509V3_EXT_d2i()
H A Dv3_akid.c176 || ASN1_STRING_length(ikeyid) <= 2) /* indicating "none" */) { in v2i_AUTHORITY_KEYID()
H A Dv3_prn.c84 extlen = ASN1_STRING_length(extoct); in X509V3_EXT_print()
H A Dt_x509.c272 ASN1_STRING_length(keybstr), SHA1md, NULL, md, NULL)) in X509_ocspid_print()
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_status.c231 ASN1_STRING_length(text), in snprint_PKIStatusInfo_parts()
/freebsd/crypto/openssl/crypto/ec/
H A Decx_backend.c251 plen = ASN1_STRING_length(oct); in ossl_ecx_key_from_pkcs8()
H A Dec_asn1.c972 ASN1_STRING_length(pkey)) == 0) in d2i_ECPrivateKey()
994 pub_oct_len = ASN1_STRING_length(priv_key->publicKey); in d2i_ECPrivateKey()
/freebsd/crypto/openssl/apps/
H A Dpkcs12.c760 tmac != NULL ? ASN1_STRING_length(tmac) : 0L, in pkcs12_main()
761 tsalt != NULL ? ASN1_STRING_length(tsalt) : 0L); in pkcs12_main()
1096 ASN1_STRING_length(kdf->salt), in alg_print()
/freebsd/crypto/openssl/crypto/ocsp/
H A Docsp_srv.c306 ret = (ASN1_STRING_length(respid->value.byKey) == SHA_DIGEST_LENGTH) in OCSP_RESPID_match_ex()
/freebsd/crypto/openssl/crypto/pkcs12/
H A Dp12_mutl.c200 if ((maclen != (unsigned int)ASN1_STRING_length(macoct)) in PKCS12_verify_mac()
/freebsd/contrib/wpa/src/utils/
H A Dhttp_curl.c482 n->hash_len = ASN1_STRING_length(hash->hashValue); in DEFINE_STACK_OF()
490 len = ASN1_STRING_length(uri); in DEFINE_STACK_OF()
812 ASN1_STRING_get0_data(os), ASN1_STRING_length(os)); in add_logotype_ext()
815 logo = d2i_LogotypeExtn(NULL, &data, ASN1_STRING_length(os)); in add_logotype_ext()
/freebsd/contrib/wpa/src/crypto/
H A Dtls_openssl_ocsp.c544 basic_len = ASN1_STRING_length(bytes->response); in check_ocsp_resp()
H A Dtls_openssl.c1818 len = ASN1_STRING_length(ser) * 2 + 1; in tls_connection_peer_serial_num()
1824 ASN1_STRING_length(ser)); in tls_connection_peer_serial_num()
2035 ret = ASN1_STRING_length(cn) >= len - 1 && in match_dn_field()
2041 ret = ASN1_STRING_length(cn) == len && in match_dn_field()
2407 ASN1_STRING_length(ser)); in openssl_tls_cert_event()
5615 ASN1_STRING_length(ser)); in openssl_debug_dump_certificate()

12