| 370 | } |
| 371 | |
| 372 | static int |
| 373 | aesni_process(device_t dev, struct cryptop *crp, int hint __unused) |
| 374 | { |
| 375 | struct aesni_session *ses; |
| 376 | int error; |
| 377 | |
| 378 | ses = crypto_get_driver_session(crp->crp_session); |
| 379 | |
| 380 | error = aesni_cipher_process(ses, crp); |
| 381 | |
| 382 | crp->crp_etype = error; |
| 383 | crypto_done(crp); |
| 384 | return (0); |
| 385 | } |
| 386 | |
| 387 | static uint8_t * |
| 388 | aesni_cipher_alloc(struct cryptop *crp, int start, int length, bool *allocated) |
nothing calls this directly
no test coverage detected