* Verify a driver is suitable for the specified operation. */
| 1499 | * Verify a driver is suitable for the specified operation. |
| 1500 | */ |
| 1501 | static __inline int |
| 1502 | kdriver_suitable(const struct cryptocap *cap, const struct cryptkop *krp) |
| 1503 | { |
| 1504 | return (cap->cc_kalg[krp->krp_op] & CRYPTO_ALG_FLAG_SUPPORTED) != 0; |
| 1505 | } |
| 1506 | |
| 1507 | /* |
| 1508 | * Select a driver for an asym operation. The driver must |
no outgoing calls
no test coverage detected