Lines Matching defs:ciphers
144 } ciphers[] = {
270 * Find out what ciphers /dev/crypto will let us have a session for.
288 for (i = 0; ciphers[i].id && count < CRYPTO_ALGORITHM_MAX; i++) {
289 if (ciphers[i].nid == NID_undef)
291 sess.cipher = ciphers[i].id;
292 sess.keylen = ciphers[i].keylen;
296 nids[count++] = ciphers[i].nid;
347 * Find the useable ciphers|digests from dev/crypto - this is the first
349 * can use for ciphers from this engine. We want to return
457 for (i = 0; ciphers[i].id; i++)
458 if (ctx->cipher->nid == ciphers[i].nid &&
459 ctx->cipher->iv_len <= ciphers[i].ivmax &&
460 ctx->key_len == ciphers[i].keylen) {
461 cipher = ciphers[i].id;
465 if (!ciphers[i].id) {