File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1919
2020uint32_t bootutil_get_caps (void )
2121{
22- uint32_t res = 0 ;
22+ uint32_t res = 0 ;
2323
2424#if defined(MCUBOOT_SIGN_RSA )
25- res |= BOOTUTIL_CAP_RSA2048 ;
25+ res |= BOOTUTIL_CAP_RSA2048 ;
2626#endif
2727#if defined(MCUBOOT_SIGN_EC )
28- res |= BOOTUTIL_CAP_ECDSA_P224 ;
28+ res |= BOOTUTIL_CAP_ECDSA_P224 ;
2929#endif
3030#if defined(MCUBOOT_SIGN_EC256 )
31- res |= BOOTUTIL_CAP_ECDSA_P256 ;
31+ res |= BOOTUTIL_CAP_ECDSA_P256 ;
3232#endif
3333#if defined(MCUBOOT_OVERWRITE_ONLY )
34- res |= BOOTUTIL_CAP_OVERWRITE_UPGRADE ;
34+ res |= BOOTUTIL_CAP_OVERWRITE_UPGRADE ;
3535#else
36- res |= BOOTUTIL_CAP_SWAP_UPGRADE ;
36+ res |= BOOTUTIL_CAP_SWAP_UPGRADE ;
3737#endif
3838#if defined(MCUBOOT_ENCRYPT_RSA )
39- res |= BOOTUTIL_CAP_ENC_RSA ;
39+ res |= BOOTUTIL_CAP_ENC_RSA ;
4040#endif
4141#if defined(MCUBOOT_ENCRYPT_KW )
42- res |= BOOTUTIL_CAP_ENC_KW ;
42+ res |= BOOTUTIL_CAP_ENC_KW ;
4343#endif
4444#if defined(MCUBOOT_VALIDATE_PRIMARY_SLOT )
45- res |= BOOTUTIL_CAP_VALIDATE_PRIMARY_SLOT ;
45+ res |= BOOTUTIL_CAP_VALIDATE_PRIMARY_SLOT ;
4646#endif
4747
48- return res ;
48+ return res ;
4949}
You can’t perform that action at this time.
0 commit comments