Merge changes I019f638e,Ic51339eb

* changes:
  CCodec: read # of input/output slots from component
  CCodec: put encrypted buffer in array mode right away