This work includes research findings on encryption, decryption, and various image processing operations using programmable operations, on Matlab, Simulink, and the Xilinx system generator. The main question is how to ensure the security of images stored in real time on embedded systems which depends on some precise operations on these systems. To answer this question, we will build new and original methods using cryptography on an efficient elliptical curve. The concept of software and hardware co-simulation for our encryption method, presents an efficient architecture of various imaging, encryption, decryption and key generation algorithms using such an elliptical curve, thus using Simulink Xilinx, we build Simulink Xilinx models for implementing multiple hardware operations on various Xilinx FPGAs, for all kinds of color and grayscale images with the minimum number of generator blocks possible.