22#if defined(HAVE_SHA256) || defined(HAVE_SHA224)
30extern const cx_hash_info_t cx_sha224_info;
34extern const cx_hash_info_t cx_sha256_info;
37WARN_UNUSED_RESULT cx_err_t cx_sha256_update(cx_sha256_t *ctx,
const uint8_t *data,
size_t len);
39cx_err_t cx_sha256_final(cx_sha256_t *ctx,
uint8_t *digest);
SHA-2 (Secure Hash Algorithm 2)