Lines Matching refs:ciphers
132 } ciphers[] = {
214 for (i = 0; ciphers[i].id; i++)
215 if (ciphers[i].id == cipher)
216 return (ciphers[i].ivmax);
231 for (i = 0; ciphers[i].id; i++)
232 if (ciphers[i].id == cipher)
233 return (ciphers[i].keylen == len);
243 for (i = 0; ciphers[i].id; i++)
244 if (ciphers[i].nid == nid)
245 return (ciphers[i].id);
250 * Find out what ciphers /dev/crypto will let us have a session for.
269 for (i = 0; ciphers[i].id && count < CRYPTO_ALGORITHM_MAX; i++) {
270 if (ciphers[i].nid == NID_undef)
272 sess.cipher = ciphers[i].id;
273 sess.keylen = ciphers[i].keylen;
277 nids[count++] = ciphers[i].nid;
325 * Find the useable ciphers|digests from dev/crypto - this is the first
327 * can use for ciphers from this engine. We want to return