22 #if defined(HAVE_SHA512) || defined(HAVE_SHA384)
29 extern const cx_hash_info_t cx_sha384_info;
33 extern const cx_hash_info_t cx_sha512_info;
36 WARN_UNUSED_RESULT cx_err_t cx_sha512_update(cx_sha512_t *ctx,
const uint8_t *data,
size_t len);
38 cx_err_t cx_sha512_final(cx_sha512_t *ctx,
uint8_t *digest);
SHA-2 (Secure Hash Algorithm 2)