Searched refs:copystr (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/arcfour/
H A Darcfour_str2key.c28 unsigned char *copystr = NULL; local
49 copystr = malloc(len);
50 if (copystr == NULL)
54 asctouni(copystr, (uchar_t *)string->data, slen );
58 krb5_MD4Update(&md4_context, (unsigned char *)copystr, len);
74 memset (copystr, 0, len);
77 if (copystr)
78 free(copystr);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/des/
H A Dstring2key.c58 register char *str, *copystr; local
96 copystr = malloc((size_t) length);
97 if (!copystr) {
101 (void) memcpy(copystr, (char *) data->data, data->length);
103 (void) memcpy(copystr + data->length, (char *)salt->data, salt->length);
119 str = copystr;
159 retval = mit_des_cbc_cksum(context, (unsigned char*)copystr, key,
163 (void) memset(copystr, 0, (size_t) length);
164 krb5_xfree(copystr);

Completed in 14 milliseconds