Lines Matching refs:algtype

143  * we don't need to worry about locking for the keylen + algtype
150 algtype_t algtype;
213 *app != NULL && (*app)->algtype != a;
232 ap->algtype = a;
241 /* don't mind duplicate (keylen,algtype) paris for now. */
539 if ((mp = getmechtype(skey->keylen, skey->algtype)) == NULL) {
590 ("storeotherrootkeys alg: %d", ap->algtype));
597 kp->keylen, ap->algtype,
614 skey.algtype = ap->algtype;
615 if (CLASSIC_PK_DH(kp->keylen, ap->algtype)) {
622 if (!CLASSIC_PK_DH(kp->keylen, ap->algtype)) {
624 ap->algtype);
665 ("pk_clear3 alg: %d", ap->algtype));
896 if ((mp = getmechtype(net->keylen, net->algtype)) == NULL) {
899 if (uid == 0 && CLASSIC_PK_DH(net->keylen, net->algtype)) {
924 addmasterkey(char *master, char *netname, algtype_t algtype)
939 * getpublickey_g(netname, keylen, algtype,
952 tmp.algtype = algtype;
1058 ("getanycache3 alg: %d", ap->algtype));
1107 uid, net->keylen, net->algtype));
1111 cp = fetchcache3(uid, net->keylen, net->algtype);
1383 algtype_t algtype,
1398 keylen, algtype, desarylen, public, secret));
1399 if ((mp = getmechtype(keylen, algtype)) == NULL) {
1417 (cu = fetchcache3(uid, keylen, algtype)) != NULL) {
1420 if ((cachep = cache_retrieve(keylen, algtype, uid,
1427 cache_remove(keylen, algtype,
1466 keylen, algtype,
1480 cache_insert(keylen, algtype, uid, cp->deskey,
1504 arg->keylen, arg->algtype)) == NULL) {
1514 arg->keylen, arg->algtype,
1525 if ((cp = getdeskey3(arg->keylen, arg->algtype, arg->nkeys,
1555 arg->keylen, arg->algtype)) == NULL) {
1565 arg->keylen, arg->algtype,
1589 arg->keylen, arg->algtype,
1594 arg->keylen, arg->algtype,
1607 if ((cp = getdeskey3(arg->keylen, arg->algtype,
1614 if (CLASSIC_PK_DH(arg->keylen, arg->algtype)) {
1881 desmech->algtype = AUTH_DES_ALGTYPE;
1912 * setup the mechanism table for unique keylen/algtype pair
1920 if (((*mechpp)->keylen < 0) || ((*mechpp)->algtype < 0)) {
1925 app = getalgtype(kpp, (*mechpp)->algtype);
1926 appendalgtype(app, (*mechpp)->algtype);