mcuboot build error when I used CONFIG_BOOT_ENCRYPT_IMAG and CONFIG_STREAM_FLASH at the same time "error: too many arguments to function 'tc_ctr_mode'"

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
Related