Lines Matching refs:digests
193 } digests[] = {
320 * Find out what digests /dev/crypto will let us have a session for.
337 for (i = 0; digests[i].id && count < CRYPTO_ALGORITHM_MAX; i++) {
338 if (digests[i].nid == NID_undef)
340 sess.mac = digests[i].id;
341 sess.mackeylen = digests[i].keylen;
345 nids[count++] = digests[i].nid;
358 * Find the useable ciphers|digests from dev/crypto - this is the first
389 * XXXX just disable all digests for now, because it sucks.
391 * want digests on slow cards like hifn on fast machines,
746 for (i = 0; digests[i].id; i++)
747 if (digests[i].nid == nid)
748 return (digests[i].id);
756 for (i = 0; digests[i].id; i++)
757 if (digests[i].nid == nid)
758 return digests[i].keylen;