| 209 | } |
| 210 | |
| 211 | static int partial_hash_sha512(uint8_t *data_in, uint8_t *data_out) |
| 212 | { |
| 213 | SHA512_CTX ctx; |
| 214 | |
| 215 | if (!SHA512_Init(&ctx)) |
| 216 | return -EFAULT; |
| 217 | SHA512_Transform(&ctx, data_in); |
| 218 | rte_memcpy(data_out, &ctx, |
| 219 | SHA512_DIGEST_LENGTH); |
| 220 | return 0; |
| 221 | } |
| 222 | |
| 223 | static void |
| 224 | keccakf(uint64_t s[25]) |
no test coverage detected