Lines Matching defs:skey
473 appendsecretkey3(struct mechentry *mp, uid_t uid, setkeyarg3 *skey)
480 if ((skey == NULL) || (mp == NULL)) {
483 if (skey->key.keybuf3_len == 0) {
515 if ((cp->secretkey = cpykeybuf3(&skey->key)) == NULL) {
532 storesecretkey3(uid_t uid, setkeyarg3 *skey)
536 if (skey == NULL) {
539 if ((mp = getmechtype(skey->keylen, skey->algtype)) == NULL) {
542 return (appendsecretkey3(mp, uid, skey));
549 pk_setkey3(uid_t uid, setkeyarg3 *skey)
551 if (!storesecretkey3(uid, skey)) {
561 pk_setkey(uid, skey)
563 keybuf skey;
567 if (!storesecretkey(uid, skey)) {
580 setkeyarg3 skey;
610 skey.key = *secret;
612 skey.userkey = master;
613 skey.keylen = kp->keylen;
614 skey.algtype = ap->algtype;
619 if (pk_setkey3(0, &skey) != KEY_SUCCESS) {
623 fprintf(fp, "%s %d\n", skey.key.keybuf3_val,