Lines Matching refs:keyobj
203 wbku_key keyobj;
222 * The XDR routines may examine the content of the keyobj
228 bzero(&keyobj, sizeof (keyobj));
250 if (!xdr_wbku_key(&xdrs, &keyobj)) {
258 if ((strcmp(keyobj.wk_oid, ka->ka_oid) == 0) &&
259 (keyobj.wk_master == master)) {
261 ka->ka_len = keyobj.wk_key_len;
268 (void) memcpy(ekey, keyobj.wk_key_val,
275 xdr_free(xdr_wbku_key, (char *)&keyobj);
279 xdr_free(xdr_wbku_key, (char *)&keyobj);
298 wbku_key keyobj;
319 keyobj.wk_master = master;
320 keyobj.wk_oid = ka->ka_oid;
321 keyobj.wk_key_len = ka->ka_len;
322 keyobj.wk_key_val = (char *)rand_key;
327 if (!xdr_wbku_key(&xdrs, &keyobj)) {
328 xdr_free(xdr_wbku_key, (char *)&keyobj);
352 wbku_key keyobj;
379 * The XDR routines may examine the content of the keyobj
385 bzero(&keyobj, sizeof (keyobj));
398 if (!xdr_wbku_key(&from_xdrs, &keyobj)) {
405 if (strcmp(keyobj.wk_oid, ka->ka_oid) != 0) {
409 if (!xdr_wbku_key(&to_xdrs, &keyobj)) {
410 xdr_free(xdr_wbku_key, (char *)&keyobj);
417 xdr_free(xdr_wbku_key, (char *)&keyobj);