| 316 | } |
| 317 | |
| 318 | static int |
| 319 | blake2s_applicator(void *state, const void *buf, u_int len) |
| 320 | { |
| 321 | int rc; |
| 322 | |
| 323 | rc = blake2s_update(state, buf, len); |
| 324 | if (rc != 0) |
| 325 | return (EINVAL); |
| 326 | return (0); |
| 327 | } |
| 328 | |
| 329 | static int |
| 330 | blake2_cipher_process(struct blake2_session *ses, struct cryptop *crp) |
nothing calls this directly
no test coverage detected