| 305 | } |
| 306 | |
| 307 | static int |
| 308 | blake2b_applicator(void *state, const void *buf, u_int len) |
| 309 | { |
| 310 | int rc; |
| 311 | |
| 312 | rc = blake2b_update(state, buf, len); |
| 313 | if (rc != 0) |
| 314 | return (EINVAL); |
| 315 | return (0); |
| 316 | } |
| 317 | |
| 318 | static int |
| 319 | blake2s_applicator(void *state, const void *buf, u_int len) |
nothing calls this directly
no test coverage detected