* improvements for cross-platform compiling * moved tactility-core to libs/ * splitup improvements * remove git/gitmodules from freertos * better platformbetter platform checks * added build scripts * delete mbedtls * re-add mbedtls * fixes and improvements * added pc build * simplify build scripts * revert build scrpit * updated builds * fix for pc * fix for pc * fix for build
21 lines
443 B
Bash
Executable File
21 lines
443 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Copyright The Mbed TLS Contributors
|
|
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
|
|
|
. "${0%/*}/../demo_common.sh"
|
|
|
|
msg <<'EOF'
|
|
This program demonstrates the use of the PSA cryptography interface to
|
|
compute a SHA-256 hash of a test string using the one-shot API call
|
|
and also using the multi-part operation API.
|
|
EOF
|
|
|
|
depends_on MBEDTLS_PSA_CRYPTO_C PSA_WANT_ALG_SHA_256
|
|
|
|
program="${0%/*}"/psa_hash
|
|
|
|
"$program"
|
|
|
|
cleanup
|