1#!/bin/sh 2# 3# Copyright The Mbed TLS Contributors 4# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 5 6. "${0%/*}/../demo_common.sh" 7 8msg <<'EOF' 9This program demonstrates the use of the PSA cryptography interface to 10compute a SHA-256 hash of a test string using the one-shot API call 11and also using the multi-part operation API. 12EOF 13 14depends_on MBEDTLS_PSA_CRYPTO_C PSA_WANT_ALG_SHA_256 15 16program="${0%/*}"/psa_hash 17 18"$program" 19 20cleanup 21