Searched defs:keybuf (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dniprop.c79 char keybuf[1024]; local
91 if (i >= sizeof keybuf)
93 (void) sm_strlcpyn(keybuf, sizeof keybuf, 2, keydir, "/");
96 (void) sm_strlcat2(keybuf, keyprop, "=", sizeof keybuf);
98 (void) sm_strlcat(keybuf, keyval, sizeof keybuf);
102 sm_dprintf("ni_propval(%s, %s, %s, %s, %d) keybuf='%s'\n",
103 keydir, keyprop, keyval, valprop, sepchar, keybuf);
[all...]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_xdr.c309 char keybuf[YPMAXRECORD]; local
318 kv.keydat.dptr = keybuf;
/illumos-gate/usr/src/lib/libbc/inc/include/rpc/
H A Dkey_prot.h64 typedef char keybuf[HEXKEYBYTES]; typedef
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathtemp.c116 char keybuf[16]; local
321 sfsprintf(keybuf, sizeof(keybuf), "%07.7.32I*u%07.7.32I*u", sizeof(key), key, sizeof(tmp.key), tmp.key);
322 sfsprintf(s, len, "%-.*s%s%-.*s", l, keybuf, z ? "." : "", r, keybuf + sizeof(keybuf) / 2);
/illumos-gate/usr/src/cmd/backup/restore/
H A Drestore.c513 static char keybuf[32]; local
517 (void) strcpy(keybuf, "|NIL");
518 keybuf[0] = '\0';
520 (void) strcat(keybuf, "|ONTAPE");
522 (void) strcat(keybuf, "|INOFND");
524 (void) strcat(keybuf, "|NAMEFND");
526 (void) strcat(keybuf, "|MODECHG");
527 return (&keybuf[1]);
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Defi_console.c44 static unsigned keybuf[KEYBUFSZ]; /* keybuf for extended codes */ variable
127 memset(keybuf, 0, KEYBUFSZ);
504 if (keybuf[i] != 0) {
505 c = keybuf[i];
506 keybuf[i] = 0;
520 keybuf[0] = '[';
521 keybuf[1] = 'A';
524 keybuf[0] = '[';
525 keybuf[
[all...]
/illumos-gate/usr/src/lib/libelfsign/common/
H A Delfcertlib.c341 KMF_KEY_HANDLE keybuf[2]; local
360 keybuf, sizeof (KMF_KEY_HANDLE));
380 cert->c_privatekey = keybuf[0];
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dudb.c144 char keybuf[MAXUDBKEY]; local
180 keylen = sm_strlcpyn(keybuf, sizeof(keybuf), 2, user, ":maildrop");
183 if (keylen >= sizeof(keybuf))
218 key.data = keybuf;
222 keybuf, keylen);
245 keybuf, keylen);
262 memcmp(key.data, keybuf, keylen) == 0)
359 (void) sm_strlcpyn(keybuf, sizeof(keybuf),
604 char keybuf[MAXUDBKEY]; local
846 char keybuf[MAXNAME + 1]; local
[all...]
H A Dmap.c1679 char keybuf[MAXNAME + 1]; local
1690 if (key.dsize > sizeof(keybuf) - 1)
1691 key.dsize = sizeof(keybuf) - 1;
1692 memmove(keybuf, key.dptr, key.dsize);
1693 keybuf[key.dsize] = '\0';
1694 makelower(keybuf);
1695 key.dptr = keybuf;
1777 char keybuf[MAXNAME + 1]; local
1787 if (key.dsize > sizeof(keybuf) - 1)
1788 key.dsize = sizeof(keybuf)
2313 char keybuf[MAXNAME + 1]; local
2473 char keybuf[MAXNAME + 1]; local
2738 char keybuf[MAXNAME + 1]; local
3577 char keybuf[MAXKEY]; local
7209 char keybuf[MAXNAME + 1]; local
7885 char keybuf[MAXNAME + 1]; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dvidconsole.c68 static unsigned keybuf[KEYBUFSZ]; /* keybuf for extended codes */ variable
119 memset(keybuf, 0, KEYBUFSZ);
589 if (keybuf[i] != 0) {
590 c = keybuf[i];
591 keybuf[i] = 0;
608 keybuf[0] = '[';
609 keybuf[1] = 'A';
612 keybuf[0] = '[';
613 keybuf[
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeysUtil.c629 CK_BYTE *keybuf = NULL; local
645 keybuf = OBJ_SEC_VALUE(derived_key);
822 (void) memcpy(keybuf, A, keysize);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSDigest.c1314 mDNSu8 keybuf[1024]; local
1315 mDNSs32 keylen = DNSDigest_Base64ToBin(b64key, keybuf, sizeof(keybuf));
1317 DNSDigest_ConstructHMACKey(info, keybuf, (mDNSu32)keylen);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Doptions.c839 dispatch_keyword(struct parse_state *psp, const char *keybuf) argument
852 strcasecmp(kep->kwe_word, keybuf) == 0)) {
854 retv = (*kep->kwe_func)(psp->ps_csvc, keybuf);
859 if (strchr(keybuf, '=') != NULL) {
860 if ((cp = strsave(keybuf)) == NULL) {
861 logerr("no memory to save %s", keybuf);
903 logerr("%s: unknown keyword '%s'", psp->ps_cfile->pf_name, keybuf);
936 env_replace(struct parse_state *psp, char *keybuf, char kwstate) argument
941 if ((cp = strrchr(keybuf, kwstate)) != NULL) {
945 MAX_KEYWORD - (cp - keybuf)
984 getkeyword(struct parse_state *psp, char *keybuf, int keymax, int (*nextchr)(void *), void *arg, int flag) argument
1167 char keybuf[MAX_KEYWORD]; local
2091 char keybuf[MAX_KEYWORD]; local
[all...]
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c730 first 8 bytes of 'keybuf'. 'keybuf' better be 8 bytes long or longer. */
731 static void slidebits(unsigned char *keybuf, unsigned char *inbuf) argument
733 keybuf[0] = inbuf[0];
734 keybuf[1] = (inbuf[0]<<7) | (inbuf[1]>>1);
735 keybuf[2] = (inbuf[1]<<6) | (inbuf[2]>>2);
736 keybuf[3] = (inbuf[2]<<5) | (inbuf[3]>>3);
737 keybuf[4] = (inbuf[3]<<4) | (inbuf[4]>>4);
738 keybuf[5] = (inbuf[4]<<3) | (inbuf[5]>>5);
739 keybuf[
828 unsigned char keybuf[8]; local
955 unsigned char keybuf[8]; local
1230 slidebits(unsigned char *keybuf, unsigned char *inbuf) argument
1263 unsigned char keybuf[24]; local
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dgetline.c436 char keybuf[GL_KEY_MAX+1]; /* A buffer of currently unprocessed key presses */ member in struct:GetLine
437 int nbuf; /* The number of characters in keybuf[] */
438 int nread; /* The number of characters read from keybuf[] */
1803 gl->keybuf[0]='\0';
3150 *c = gl->keybuf[gl->nread];
3160 memmove(gl->keybuf + gl->nread, gl->keybuf + gl->nread + 1,
3195 gl->keybuf[gl->nbuf] = *c;
3337 * key-press lookahead buffer, gl->keybuf[], and arrange for the next
3349 memmove(gl->keybuf, g
[all...]

Completed in 182 milliseconds