Lines Matching full:ciphers
136 } ciphers[] = {
220 for (i = 0; ciphers[i].id; i++)
221 if (ciphers[i].id == cipher)
222 return (ciphers[i].ivmax);
237 for (i = 0; ciphers[i].id; i++)
238 if (ciphers[i].id == cipher)
239 return (ciphers[i].keylen == len);
249 for (i = 0; ciphers[i].id; i++)
250 if (ciphers[i].nid == nid)
251 return (ciphers[i].id);
256 * Find out what ciphers /dev/crypto will let us have a session for.
275 for (i = 0; ciphers[i].id && count < CRYPTO_ALGORITHM_MAX; i++) {
276 if (ciphers[i].nid == NID_undef)
278 sess.cipher = ciphers[i].id;
279 sess.keylen = ciphers[i].keylen;
283 nids[count++] = ciphers[i].nid;
334 * Find the useable ciphers|digests from dev/crypto - this is the first
336 * can use for ciphers from this engine. We want to return