Network Multimedia data also need to be encrypted to protect private content and access control. Considering performance constraints and embedded system issues, many hardware solutions are proposed to provide high security level and fast encryption process. However these hardware solutions are often unchangeable at run-time and cannot adapt to data-dependent encryption schemes. Reconfigurable architectures are an opportunity to efficiently implement hardwired security functions, which are called according to data-dependent parameters. In this paper we propose a solution that relies on a reconfigurable MPSoC architecture model (XPSoC) and on HW/SW libraries of standard functions that can be easily used by means of HW independent API. And we demonstrate our approach on a Virtex IV MPSoC architecture, with bit-processing functions representative of image and security domains.