2025-12-30 15:34:05 +01:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
|
|
"""
|
2026-02-11 17:21:25 +01:00
|
|
|
Check that TF-PSA-Crypto files that can be regenerated are up-to-date, or update them.
|
2025-12-30 15:34:05 +01:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
# Copyright The Mbed TLS Contributors
|
|
|
|
|
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
|
|
|
|
|
|
|
|
|
import scripts_path # pylint: disable=unused-import
|
|
|
|
|
from mbedtls_framework import config_macros
|
2026-02-11 17:21:25 +01:00
|
|
|
from mbedtls_framework import generate_files_helper
|
2025-12-30 15:34:05 +01:00
|
|
|
|
2026-02-11 17:21:25 +01:00
|
|
|
GENERATORS = [
|
|
|
|
|
config_macros.Current(shadow_missing_ok=True),
|
|
|
|
|
]
|
2025-12-30 15:34:05 +01:00
|
|
|
|
2026-02-11 17:21:25 +01:00
|
|
|
if __name__ == '__main__':
|
|
|
|
|
generate_files_helper.main(generators=GENERATORS,
|
|
|
|
|
description=__doc__)
|