Searched refs:idlen (Results 1 - 22 of 22) sorted by relevance

/freebsd-current/crypto/openssl/crypto/cms/
H A Dcms_ess.c117 unsigned char *id, int idlen, int allorfirst,
127 ASN1_STRING_set0(rr->signedContentIdentifier, id, idlen);
159 unsigned char *id, int idlen, int allorfirst,
162 return CMS_ReceiptRequest_create0_ex(id, idlen, allorfirst, receiptList,
116 CMS_ReceiptRequest_create0_ex( unsigned char *id, int idlen, int allorfirst, STACK_OF(GENERAL_NAMES) *receiptList, STACK_OF(GENERAL_NAMES) *receiptsTo, OSSL_LIB_CTX *libctx) argument
158 CMS_ReceiptRequest_create0( unsigned char *id, int idlen, int allorfirst, STACK_OF(GENERAL_NAMES) *receiptList, STACK_OF(GENERAL_NAMES) *receiptsTo) argument
H A Dcms_env.c631 const unsigned char *id, size_t idlen)
643 tmp_os.length = (int)idlen;
668 unsigned char *id, size_t idlen,
743 ASN1_STRING_set0(kekri->kekid->keyIdentifier, id, idlen);
630 CMS_RecipientInfo_kekri_id_cmp(CMS_RecipientInfo *ri, const unsigned char *id, size_t idlen) argument
666 CMS_add0_recipient_key(CMS_ContentInfo *cms, int nid, unsigned char *key, size_t keylen, unsigned char *id, size_t idlen, ASN1_GENERALIZEDTIME *date, ASN1_OBJECT *otherTypeId, ASN1_TYPE *otherType) argument
H A Dcms_smime.c788 const unsigned char *id, size_t idlen)
802 || (CMS_RecipientInfo_kekri_id_cmp(ri, id, idlen) == 0)) {
786 CMS_decrypt_set1_key(CMS_ContentInfo *cms, unsigned char *key, size_t keylen, const unsigned char *id, size_t idlen) argument
/freebsd-current/crypto/openssl/crypto/x509/
H A Dv3_ncons.c313 static int cn2dnsid(ASN1_STRING *cn, unsigned char **dnsid, size_t *idlen)
322 *idlen = 0;
399 *idlen = (size_t)utf8_length;
427 size_t idlen;
436 if ((r = cn2dnsid(cn, &idval, &idlen)) != X509_V_OK)
438 if (idlen == 0)
441 stmp.length = idlen;
/freebsd-current/sys/dev/hyperv/netvsc/
H A Dhn_rndis.c309 const void *idata, size_t idlen, void *odata, size_t *odlen0)
312 return (hn_rndis_query2(sc, oid, idata, idlen, odata, odlen0, *odlen0));
317 const void *idata, size_t idlen, void *odata, size_t *odlen0,
327 reqlen = sizeof(*req) + idlen;
351 if (idlen > 0) {
352 req->rm_infobuflen = idlen;
354 memcpy(req + 1, idata, idlen);
308 hn_rndis_query(struct hn_softc *sc, uint32_t oid, const void *idata, size_t idlen, void *odata, size_t *odlen0) argument
316 hn_rndis_query2(struct hn_softc *sc, uint32_t oid, const void *idata, size_t idlen, void *odata, size_t *odlen0, size_t min_odlen) argument
/freebsd-current/sbin/setkey/
H A Dtest-pfkey.c373 u_int idlen = strlen(str), len; local
375 len = sizeof(m_id) + PFKEY_ALIGN8(idlen);
384 str, idlen);
/freebsd-current/crypto/openssl/ssl/statem/
H A Dextensions_clnt.c347 int idlen = i2d_OCSP_RESPID(id, NULL); local
349 if (idlen <= 0
351 || !WPACKET_sub_allocate_bytes_u16(pkt, idlen, &idbytes)
352 || i2d_OCSP_RESPID(id, &idbytes) != idlen) {
747 size_t idlen = 0; local
756 && (!s->psk_use_session_cb(s, handmd, &id, &idlen, &psksess)
780 idlen = strlen(identity);
781 if (idlen > PSK_MAX_IDENTITY_LEN) {
815 s->psksession_id = OPENSSL_memdup(id, idlen);
821 s->psksession_id_len = idlen;
[all...]
H A Dextensions_srvr.c1010 size_t idlen; local
1018 idlen = PACKET_remaining(&identity);
1020 && !s->psk_find_session_cb(s, PACKET_data(&identity), idlen,
1029 && idlen <= PSK_MAX_IDENTITY_LEN) {
/freebsd-current/sys/fs/nfsclient/
H A Dnfs_clport.c671 nfscl_fillclid(u_int64_t clval, char *uuid, u_int8_t *cp, u_int16_t idlen) argument
678 if (idlen >= sizeof (u_int64_t)) {
681 idlen -= sizeof (u_int64_t);
688 if (uuidlen > 0 && idlen >= uuidlen) {
691 idlen -= uuidlen;
697 while (idlen > 0) {
699 idlen--;
H A Dnfs_clstate.c876 u_int16_t idlen = 0; local
881 idlen = strlen(uuid);
882 if (idlen > 0)
883 idlen += sizeof (u_int64_t);
885 idlen += sizeof (u_int64_t) + 16; /* 16 random bytes */
887 sizeof (struct nfsclclient) + idlen - 1, M_NFSCLCLIENT,
909 clp->nfsc_idlen = idlen;
/freebsd-current/sys/cam/ctl/
H A Dctl_frontend_iscsi.c2148 int retval, len, idlen; local
2201 idlen = strlen(target) + strlen(",t,0x0001") + 1;
2202 idlen = roundup2(idlen, 4);
2203 len = sizeof(struct scsi_vpd_device_id) + idlen;
2211 desc->length = idlen;
2212 snprintf(desc->identifier, idlen, "%s,t,0x%4.4x", target, tag);
2215 idlen = strlen(target) + 1;
2216 idlen = roundup2(idlen,
[all...]
/freebsd-current/crypto/openssl/include/openssl/
H A Dcms.h285 const unsigned char *id, size_t idlen);
317 unsigned char *id, size_t idlen,
333 const unsigned char *id, size_t idlen);
437 unsigned char *id, int idlen, int allorfirst,
441 unsigned char *id, int idlen, int allorfirst,
H A Dssl.h866 size_t *idlen,
/freebsd-current/crypto/openssl/apps/
H A Ds_server.c3689 unsigned int idlen; member in struct:simple_ssl_session_st
3702 SSL_SESSION_get_id(session, &sess->idlen);
3710 sess->id = OPENSSL_memdup(SSL_SESSION_get_id(session, NULL), sess->idlen);
3736 static SSL_SESSION *get_session(SSL *ssl, const unsigned char *id, int idlen, argument
3742 if (idlen == (int)sess->idlen && !memcmp(sess->id, id, idlen)) {
3756 unsigned int idlen; local
3757 id = SSL_SESSION_get_id(session, &idlen);
3759 if (idlen
[all...]
H A Dcms.c1354 int idlen; local
1358 idlen = ASN1_STRING_length(scid);
1360 BIO_dump_indent(bio_err, id, idlen, 4);
H A Ds_client.c159 const unsigned char **id, size_t *idlen,
204 *idlen = 0;
210 *idlen = strlen(psk_identity);
158 psk_use_session_cb(SSL *s, const EVP_MD *md, const unsigned char **id, size_t *idlen, SSL_SESSION **sess) argument
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_acl.c537 int count, idlen, tmp, r; local
631 idlen = 1;
635 idlen++;
637 length += idlen;
/freebsd-current/contrib/sendmail/src/
H A Dconf.c5493 int idlen; local
5502 idlen = strlen(id) + SyslogPrefixLen;
5536 if ((strlen(newstring) + idlen + 1) < SYSLOG_BUFSIZE)
5592 idlen += 5; /* strlen("[999]"), see below */
5594 (strlen(begin) + idlen) > SYSLOG_BUFSIZE)
5603 end = begin + SYSLOG_BUFSIZE - idlen - SL_SPLIT;
5616 end = begin + SYSLOG_BUFSIZE - idlen - SL_SPLIT;
/freebsd-current/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c3976 int error = 0, idlen; local
4005 idlen = i;
4018 clp->lc_idlen = idlen;
4019 error = nfsrv_mtostr(nd, clp->lc_id, idlen);
4034 clp->lc_name = &clp->lc_id[idlen];
4294 int error = 0, i, idlen; local
4320 idlen = i;
4355 clp->lc_idlen = idlen;
4356 error = nfsrv_mtostr(nd, clp->lc_id, idlen);
4372 clp->lc_name = &clp->lc_id[idlen];
[all...]
/freebsd-current/contrib/wpa/hostapd/
H A Dconfig_file.c2582 size_t idlen = os_strlen(pos); local
2583 if (idlen & 1) {
2589 bss->eap_fast_a_id = os_malloc(idlen / 2);
2591 hexstr2bin(pos, bss->eap_fast_a_id, idlen / 2)) {
2598 bss->eap_fast_a_id_len = idlen / 2;
/freebsd-current/sbin/ifconfig/
H A Difieee80211.c3750 int len, idlen; local
3777 idlen = sr->isr_meshid_len;
3780 idlen = sr->isr_ssid_len;
3784 , copy_essid(ssid, IEEE80211_NWID_LEN, idp, idlen)
/freebsd-current/crypto/openssl/test/
H A Dsslapitest.c73 size_t *idlen, SSL_SESSION **sess);
3230 size_t *idlen, SSL_SESSION **sess)
3255 *idlen = strlen(pskid);
3229 use_session_cb(SSL *ssl, const EVP_MD *md, const unsigned char **id, size_t *idlen, SSL_SESSION **sess) argument

Completed in 405 milliseconds