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