Lines Matching refs:cryptos
34 Cipher *cryptos[] = { variable
2045 p = seprint(buf, e, "%s", cryptos[0]->name); in send_kexinit()
2046 for (i = 1; i < nelem(cryptos); ++i) in send_kexinit()
2047 p = seprint(p, e, ",%s", cryptos[i]->name); in send_kexinit()
2114 c->c2scs = cryptos[c->cscrypt]->init(c, 0); in negotiating()
2115 c->s2ccs = cryptos[c->sccrypt]->init(c, 1); in negotiating()
2136 cryptos[c->encrypt]->name, cryptos[c->decrypt]->name); in negotiating()
2460 nb = cryptos[c->decrypt]->blklen; in reader0()
2469 cryptos[c->decrypt]->decrypt(c->deccs, p->nlength, nb); in reader0()
2635 for (j = 0; j < nelem(cryptos); ++j) in validatekexs()
2636 if (strcmp(toks[i], cryptos[j]->name) == 0) in validatekexs()
2648 for (j = 0; j < nelem(cryptos); ++j) in validatekexs()
2649 if (strcmp(toks[i], cryptos[j]->name) == 0) in validatekexs()
2727 for (j = 0; j < nelem(cryptos); ++j) in validatekexc()
2729 if (strcmp(toks[i], cryptos[j]->name) == 0) in validatekexc()
2737 for (j = 0; j < nelem(cryptos); ++j) in validatekexc()
2739 if (strcmp(toks[i], cryptos[j]->name) == 0) in validatekexc()