1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (c) 2021 Marvell.
9 * Compute a partial hash with the assumption that msg is the first block.
10 * Based on implementation from RFC 3174
12 void __roc_api roc_hash_sha1_gen(uint8_t *msg, uint32_t *hash);
13 void __roc_api roc_hash_sha256_gen(uint8_t *msg, uint32_t *hash);
14 void __roc_api roc_hash_sha512_gen(uint8_t *msg, uint64_t *hash, int hash_size);
16 #endif /* _ROC_HASH_H_ */