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

/freebsd-9.3-release/crypto/openssh/
H A Dschnorr.c71 const u_char *id, u_int idlen)
92 buffer_put_string(&b, id, idlen);
122 * 'idlen' bytes from 'id' will be included in the signature hash as an anti-
132 const u_char *id, u_int idlen, BIGNUM **r_p, BIGNUM **e_p)
182 id, idlen)) == NULL) {
218 * 'idlen' bytes from 'id' will be included in the signature hash as an anti-
225 const BIGNUM *x, const BIGNUM *g_x, const u_char *id, u_int idlen,
232 x, g_x, id, idlen, &r, &e) != 0)
257 * Signature hash will be salted with 'idlen' bytes from 'id'.
262 int hash_alg, const BIGNUM *g_x, const u_char *id, u_int idlen,
69 schnorr_hash(const BIGNUM *p, const BIGNUM *q, const BIGNUM *g, int hash_alg, const BIGNUM *g_v, const BIGNUM *g_x, const u_char *id, u_int idlen) argument
130 schnorr_sign(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, int hash_alg, const BIGNUM *x, const BIGNUM *g_x, const u_char *id, u_int idlen, BIGNUM **r_p, BIGNUM **e_p) argument
224 schnorr_sign_buf(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, const BIGNUM *x, const BIGNUM *g_x, const u_char *id, u_int idlen, u_char **sig, u_int *siglen) argument
261 schnorr_verify(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, int hash_alg, const BIGNUM *g_x, const u_char *id, u_int idlen, const BIGNUM *r, const BIGNUM *e) argument
362 schnorr_verify_buf(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, const BIGNUM *g_x, const u_char *id, u_int idlen, const u_char *sig, u_int siglen) argument
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/cms/
H A Dcms.h180 unsigned char *id, size_t idlen);
199 unsigned char *id, size_t idlen,
215 const unsigned char *id, size_t idlen);
303 CMS_ReceiptRequest *CMS_ReceiptRequest_create0(unsigned char *id, int idlen,
H A Dcms_ess.c94 CMS_ReceiptRequest *CMS_ReceiptRequest_create0(unsigned char *id, int idlen, argument
106 ASN1_STRING_set0(rr->signedContentIdentifier, id, idlen);
H A Dcms_env.c384 const unsigned char *id, size_t idlen)
396 tmp_os.length = (int)idlen;
421 unsigned char *id, size_t idlen,
497 ASN1_STRING_set0(kekri->kekid->keyIdentifier, id, idlen);
383 CMS_RecipientInfo_kekri_id_cmp(CMS_RecipientInfo *ri, const unsigned char *id, size_t idlen) argument
419 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.c635 unsigned char *id, size_t idlen)
650 if (!id || (CMS_RecipientInfo_kekri_id_cmp(ri, id, idlen) == 0)) {
633 CMS_decrypt_set1_key(CMS_ContentInfo *cms, unsigned char *key, size_t keylen, unsigned char *id, size_t idlen) argument
/freebsd-9.3-release/crypto/openssl/ssl/
H A Dt1_lib.c228 long extlen, idlen, itmp; local
231 idlen = 0;
237 idlen += itmp + 2;
247 if ((long)(limit - ret - 7 - extlen - idlen) < 0)
250 if (extlen + idlen > 0xFFF0)
252 s2n(extlen + idlen + 5, ret);
254 s2n(idlen, ret);
/freebsd-9.3-release/sbin/setkey/
H A Dtest-pfkey.c372 u_int idlen = strlen(str), len; local
374 len = sizeof(m_id) + PFKEY_ALIGN8(idlen);
383 str, idlen);
/freebsd-9.3-release/sys/fs/nfsclient/
H A Dnfs_clport.c519 nfscl_fillclid(u_int64_t clval, char *uuid, u_int8_t *cp, u_int16_t idlen) argument
526 if (idlen >= sizeof (u_int64_t)) {
529 idlen -= sizeof (u_int64_t);
536 if (uuidlen > 0 && idlen >= uuidlen) {
539 idlen -= uuidlen;
545 while (idlen > 0) {
547 idlen--;
H A Dnfs_clstate.c712 u_int16_t idlen = 0; local
718 idlen = strlen(uuid);
719 if (idlen > 0)
720 idlen += sizeof (u_int64_t);
722 idlen += sizeof (u_int64_t) + 16; /* 16 random bytes */
724 sizeof (struct nfsclclient) + idlen - 1, M_NFSCLCLIENT,
746 NFSBZERO((caddr_t)clp, sizeof(struct nfsclclient) + idlen - 1);
747 clp->nfsc_idlen = idlen;
/freebsd-9.3-release/crypto/openssl/apps/
H A Dcms.c1097 int idlen; local
1101 idlen = ASN1_STRING_length(scid);
1103 BIO_dump_indent(out, id, idlen, 4);
/freebsd-9.3-release/contrib/wpa/hostapd/
H A Dconfig_file.c1331 size_t idlen = os_strlen(pos); local
1332 if (idlen & 1) {
1338 bss->eap_fast_a_id = os_malloc(idlen / 2);
1341 idlen / 2)) {
1347 bss->eap_fast_a_id_len = idlen / 2;
/freebsd-9.3-release/contrib/sendmail/src/
H A Dconf.c5387 int idlen; local
5396 idlen = strlen(id) + SyslogPrefixLen;
5425 if ((strlen(newstring) + idlen + 1) < SYSLOG_BUFSIZE)
5481 idlen += 5; /* strlen("[999]"), see below */
5483 (strlen(begin) + idlen) > SYSLOG_BUFSIZE)
5492 end = begin + SYSLOG_BUFSIZE - idlen - SL_SPLIT;
5505 end = begin + SYSLOG_BUFSIZE - idlen - SL_SPLIT;
/freebsd-9.3-release/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c3280 int error = 0, idlen; local
3298 idlen = i;
3309 clp->lc_idlen = idlen;
3310 error = nfsrv_mtostr(nd, clp->lc_id, idlen);
3325 clp->lc_name = &clp->lc_id[idlen];
/freebsd-9.3-release/sbin/ifconfig/
H A Difieee80211.c3144 int len, ssidmax, idlen; local
3172 idlen = sr->isr_meshid_len;
3175 idlen = sr->isr_ssid_len;
3179 , copy_essid(ssid, ssidmax, idp, idlen)
/freebsd-9.3-release/sys/net/
H A Dif_spppsubr.c4723 u_char idlen, pwdlen; local
4727 idlen = sppp_strnlen(sp->myauth.name, AUTHNAMELEN);
4730 sizeof idlen, (const char *)&idlen,
4731 (size_t)idlen, sp->myauth.name,

Completed in 276 milliseconds