Line data Source code
1 : /**
2 : * Copyright Notice:
3 : * Copyright 2023-2026 DMTF. All rights reserved.
4 : * License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/libspdm/blob/main/LICENSE.md
5 : **/
6 :
7 : #include "spdm_unit_test.h"
8 : #include "library/spdm_common_lib.h"
9 :
10 : extern int libspdm_secured_message_encode_decode_test_main(void);
11 :
12 1 : int main(void)
13 : {
14 1 : int return_value = 0;
15 :
16 : #if LIBSPDM_AEAD_AES_256_GCM_SUPPORT
17 1 : if (libspdm_secured_message_encode_decode_test_main() != 0) {
18 0 : return_value = 1;
19 : }
20 : #endif
21 :
22 1 : return return_value;
23 : }
|