Searched defs:nonce (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/lib/print/libpapi-ipp/common/
H A Dipp-support.c463 char nonce[HTTP_MAX_VALUE]; local
472 "nonce", nonce);
481 snprintf(line, sizeof (line), "%s:%s:%s", urp, mr, nonce);
485 "Digest username=\"%s\", realm=\"%s\", nonce=\"%s\", "
486 "uri=\"%s\", response=\"%s\"", user, realm, nonce, uri,
/illumos-gate/usr/src/lib/sasl_plugins/cram/
H A Dcram.c213 /* get time and a random number for the nonce */
366 -do an md5update with the nonce
554 static char *make_hashed(sasl_secret_t *sec, char *nonce, int noncelen, argument
576 utils->hmac_md5((unsigned char *) nonce, noncelen,
/illumos-gate/usr/src/common/crypto/modes/
H A Dccm.c599 /* Check the nonce length. Valid values are 7, 8, 9, 10, 11, 12, 13 */
645 ccm_format_initial_blocks(uchar_t *nonce, ulong_t nonceSize, argument
664 /* copy the nonce value into b0 */
665 bcopy(nonce, &(b0[1]), nonceSize);
683 /* copy the nonce value into the counter block */
684 bcopy(nonce, &(cb[1]), nonceSize);
688 /* Create the mask for the counter field based on the size of nonce */
700 * even with the biggest nonce of 13, the last byte of the
770 ccm_init(ccm_ctx_t *ctx, unsigned char *nonce, size_t nonce_len, argument
789 ccm_format_initial_blocks(nonce, nonce_le
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/
H A Dadmin_cmds.c610 TPM_NONCE nonce; local
625 ValidationData.ulExternalDataLength = sizeof (nonce);
626 ValidationData.rgbExternalData = (BYTE *) &nonce;
627 ret = get_random(sizeof (nonce), (BYTE *) &nonce);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dk5-int-pkinit.h43 krb5_int32 nonce; /* (0..4294967295) */ member in struct:_krb5_pk_authenticator
53 krb5_int32 nonce; /* (0..4294967295) */ member in struct:_krb5_pk_authenticator_draft9
136 krb5_int32 nonce; /* (0..4294967295) */ member in struct:_krb5_kdc_dh_key_info
143 krb5_int32 nonce; /* (0..4294967295) */ member in struct:_krb5_kdc_dh_key_info_draft9
155 krb5_int32 nonce; member in struct:_krb5_reply_key_pack_draft9
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_clnt.c103 krb5_int32 cusec, krb5_ui_4 nonce,
139 krb5_ui_4 nonce = 0; local
182 /* XXX PKINIT RFC says that nonce in PKAuthenticator doesn't have be the
183 * same as in the AS_REQ. However, if we pick a different nonce, then we
185 * reuse the AS_REQ nonce.
187 nonce = request->nonce;
190 nonce, &cksum, request->server, &out_data);
276 krb5_ui_4 nonce,
301 auth_pack9->pkAuthenticator.nonce
271 pkinit_as_req_create(krb5_context context, pkinit_context plgctx, pkinit_req_context reqctx, krb5_timestamp ctsec, krb5_int32 cusec, krb5_ui_4 nonce, const krb5_checksum * cksum, krb5_principal server, krb5_data ** as_req) argument
[all...]
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp.h321 char nonce[HTTP_MAX_VALUE]; member in struct:__anon4296
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Ddigest_md5.c74 const char *realm, *nonce, *cnonce, *qop, *user, *resp, *dom; member in struct:__anon3486
85 * Make a nonce (NUL terminated)
240 * Compute MD5("<hash_pass>:<nonce>:<cnonce>")
253 MD5Update(&ctx, (CONST_UCHAR *) attr->nonce, attr->nlen);
306 MD5Update(&ctx, (CONST_UCHAR *) attr->nonce, attr->nlen);
350 "username=\"%.*s\",realm=\"%.*s\",nonce=\"%.*s\",nc=%.*s,cnonce=\"";
360 if (attr->nonce == NULL || attr->nlen == 0 ||
410 /* generate string up to the client nonce */
412 attr->rlen, attr->realm, attr->nlen, attr->nonce,
416 /* generate client nonce */
[all...]
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dwanboot.c96 #define WANBOOTFS_NONCE_FILE "/nonce"
98 static char nonce[NONCELEN + 1]; variable
231 uint_t nlen = sizeof (nonce);
243 err = octet_to_hexascii(digest, sizeof (digest), nonce, &nlen);
246 "cannot convert nonce to ASCII: error %d", err);
249 nonce[NONCELEN] = '\0';
250 return (nonce);
315 * If the URL type requires a nonce, then supply it.
1363 * routine will also verify that the nonce received in the reply matches
1463 * The wanboot file system should contain a nonce
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c324 create_nonce(const char *noncepath, const char *nonce) argument
331 !write_buffer(fd, nonce, strlen(nonce))) {
332 print_status(500, "(error creating nonce file)");
1265 wanbootfs_payload(const char *net, const char *cid, const char *nonce, argument
1404 * Create the /nonce file.
1406 if ((noncepath = make_path(bootfs_dir, "nonce")) == NULL ||
1407 !create_nonce(noncepath, nonce)) {
1687 char *nonce; local
1705 if (!get_request_info(&content, &net, &cid, &nonce,
[all...]
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c182 unsigned char *nonce; member in struct:reauth_entry
219 unsigned char *nonce; member in struct:context
330 unsigned char *pszNonce, /* nonce from server */
332 unsigned char *pszCNonce, /* client nonce */
2271 if (text->nonce) utils->free(text->nonce);
2303 if (reauth->nonce) utils->free(reauth->nonce);
2336 int stale; /* last nonce is stale */
2373 unsigned char *nonce,
2371 create_response(context_t * text, const sasl_utils_t * utils, unsigned char *nonce, unsigned int ncvalue, unsigned char *cnonce, char *qop, char *digesturi, HASH Secret, char *authorization_id, char **response_value) argument
2564 unsigned char *nonce; local
2852 unsigned char *nonce = NULL, *cnonce = NULL; local
3846 calculate_response(context_t * text, const sasl_utils_t * utils, unsigned char *username, unsigned char *realm, unsigned char *nonce, unsigned int ncvalue, unsigned char *cnonce, char *qop, unsigned char *digesturi, sasl_secret_t * passwd, unsigned char *authorization_id, char **response_value) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/
H A Dsadb.h45 * and nonce values change for each packet. For non-combined mode
54 uint8_t nonce[MAXSALTSIZE + sizeof (uint64_t)]; member in struct:ipsa_cm_mech_s
59 #define param_nonce paramu.paramu_ccm.nonce
84 * portion of the nonce is transmitted over the network with each packet
91 * The nonce structure is defined like this in the SA (ipsa_t)to ensure
93 * be incremented as an uint64_t. The nonce as used by the algorithms is
/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dcommon.h83 uchar_t *nonce; member in struct:CK_AES_CCM_PARAMS
133 caddr32_t nonce; member in struct:CK_AES_CCM_PARAMS32
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-int.h448 sam-nonce[8] INTEGER OPTIONAL,
1213 krb5_int32 nonce; member in struct:_krb5_fast_response
H A Dkrb5.h1156 krb5_int32 nonce; /* nonce to match request/response */ member in struct:_krb5_kdc_req
1172 krb5_int32 nonce; /* nonce from request */ member in struct:_krb5_enc_kdc_rep_part
1234 krb5_int32 expected_nonce; /* The expected nonce for KDC_REP messages */
1252 krb5_int32 nonce; /* nonce, optional */ member in struct:_krb5_cred_enc_part
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dsadb.c3305 * Combined mode algs need a nonce. Copy the salt and
3321 * Initialize nonce and salt pointers to point
3322 * to the nonce buffer. This is just in case we get
3326 * See sadb.h for layout of nonce.
7777 uchar_t *nonce; local
7783 nonce = (uchar_t *)(params + 1);
7788 params->nonce = nonce;
7795 bcopy(assoc->ipsa_nonce, nonce, assoc->ipsa_saltlen);
7796 nonce
7817 uchar_t *nonce; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSEmbeddedAPI.h1195 mDNSu32 nonce[3]; variable
1212 mDNSu32 nonce[3]; variable
2426 mDNSu32 PCPNonce[3]; // the nonce if using PCP

Completed in 1956 milliseconds