Lines Matching refs:ciphers
144 } ciphers[] = {
281 * Find out what ciphers /dev/crypto will let us have a session for.
299 for (i = 0; ciphers[i].id && count < CRYPTO_ALGORITHM_MAX; i++) {
300 if (ciphers[i].nid == NID_undef)
302 sess.cipher = ciphers[i].id;
303 sess.keylen = ciphers[i].keylen;
307 nids[count++] = ciphers[i].nid;
358 * Find the useable ciphers|digests from dev/crypto - this is the first
360 * can use for ciphers from this engine. We want to return
468 for (i = 0; ciphers[i].id; i++)
469 if (ctx->cipher->nid == ciphers[i].nid &&
470 ctx->cipher->iv_len <= ciphers[i].ivmax &&
471 ctx->key_len == ciphers[i].keylen) {
472 cipher = ciphers[i].id;
476 if (!ciphers[i].id) {