Lines Matching refs:ciphers
143 } ciphers[] = {
235 * Find out what ciphers /dev/crypto will let us have a session for.
254 for (i = 0; ciphers[i].id && count < CRYPTO_ALGORITHM_MAX; i++) {
255 if (ciphers[i].nid == NID_undef)
257 sess.cipher = ciphers[i].id;
258 sess.keylen = ciphers[i].keylen;
262 nids[count++] = ciphers[i].nid;
314 * Find the useable ciphers|digests from dev/crypto - this is the first
316 * can use for ciphers from this engine. We want to return
425 for (i = 0; ciphers[i].id; i++)
426 if (ctx->cipher->nid == ciphers[i].nid &&
427 ctx->cipher->iv_len <= ciphers[i].ivmax &&
428 ctx->key_len == ciphers[i].keylen) {
429 cipher = ciphers[i].id;
433 if (!ciphers[i].id) {