Lines Matching refs:setkey
133 HAL_DIAG_KEYVAL setkey;
186 memset(&setkey, 0, sizeof(setkey));
187 setkey.dk_keyix = keyix;
188 setkey.dk_xor = xor;
189 setkey.dk_keyval.kv_type = getcipher(argv[1]);
190 setkey.dk_keyval.kv_len = getdata(argv[2],
191 setkey.dk_keyval.kv_val, sizeof(setkey.dk_keyval.kv_val));
194 (void) getdata(argv[3], setkey.dk_mac,
196 atd.ad_in_data = (caddr_t) &setkey;
197 atd.ad_in_size = sizeof(setkey);