I find if used CONFIG_STREAM_FLASH=y, It will build error "error: too many arguments to function 'tc_ctr_mode'"
and the is add another include header path, when I CONFIG_STREAM_FLASH=n, it will build succeed.
CONFIG_STREAM_FLASH=y CONFIG_BOOT_ECDSA_TINYCRYPT=y CONFIG_BOOT_ENCRYPT_IMAGE=y