Abstract This paper proposes an efficient hardware being captured by an image sensor without being compressed,
architecture to embody a video surveillance camera for security. compression seems not to be mandatory.
The proposed smart camera will combine the Digital Media SoC M. Podesser et al. [6] presented selective bitplane
with the low-cost FPGA. Each can perform video processing and
encryption to reduce the computational overhead involved in
security functions independently and the FPGA has a novel video
security module. This security module encrypts video stream raw image processing applications, and proved that the PSNR
data by using an efficient encryption method; high 4 bits from values are the same when encrypting the most significant bit
the MSB of video data are encrypted by an AES algorithm. And, (MSB) only or encrypting all bitplanes. It is important to
the proposed security module can encrypt raw video data with a encrypt the MSB first and continue with the bitplanes
maximum operation frequency of 39 MHz which is possible on a corresponding to consecutive bits in the binary representation.
low-cost FPGA. This paper also asserts that the proposed
Therefore, encrypting two bitplanes from the MSB leaves no
encryption method can obtain a similar video data security level
while using less hardware resources than when all of video data is useful information in the reconstruction. Even if a replacement
encrypted.1 attack is mounted, encrypting 4 bits starting from the MSB
leads to perfectly satisfying results for image security.
I. INTRODUCTION In this paper, we propose an efficient smart camera
For several classes of applications, many different camera hardware design for video streaming security. The main
designs have been developed. First, there are cameras contributions of this paper are summarized as follows: 1) This
including an embedded ASIC, where fixed processing is paper proposes an hardware architecture for smart camera
executed. Though, this design is quite limited since only a few which combine a Digital Media SoC and a low-cost FPGA.
processing parameters can be configured according to Each component can perform video processing and security
application constraints. Other cameras include an embedded function independently. This hardware architecture is
processing unit such as a DSP, however, the problem of such acceptable for developing a consumer product for video
solutions is that their processing capabilities usually remain streaming security. 2) A novel video streaming security
very limited [1]. module in a low-cost FPGA is proposed, which applies the
Moreover, encryption imposes a considerable computing selective bitplane encryption method presented by M Podesser
load on the processing unit. In reality, D1 image resolution et al. [6] to real-time encryption of raw video data stream. This
which is 720 * 486 pixels (NTSC) needs approximately 200 paper uses the encryption method of 4 bits from the MSB,
Mbps of a transmission speed in the case of 30 fps with a 4:2:2 which has the same security strength as encryption of all 8 bits
format. An embedded processor also has to run the operating of raw video data. Therefore, the proposed security module
system and application software, which themselves also uses less hardware resources.
represent a significant workload. Therefore, efficient design of This paper is organized as follows. Section II proposes an
a hardware encryption module is important in achieving video efficient method to design the smart camera hardware
streaming security. architecture for video streaming security. The results are
To reduce the computational burden of encrypting raw summarized in Section III. Finally, conclusions are discussed
video data, compressing video data should be considered. in Section IV.
Many papers have proposed encryption methods for
compressed video data [2]-[5]. Since most of video II. DESIGN OF SMART CAMERA HARDWARE
compression techniques cause partial information loss, the use ARCHITECTURE FOR VIDEO STREAMING SECURITY
of lossy video compression techniques is limited in Fig. 1 shows a block diagram of the proposed smart camera
applications such as medical image processing, where a loss of hardware platform combining a Digital Media processor with
video quality may not be acceptable in transmission or storage a low-cost FPGA.
[6]. Thus, lossless compression needs to be employed for such The operation of the smart camera that depicted in Fig. 1
applications. But, the data reduction of lossless compression is can be described as follows. First, the optical images are
much lower than that of lossy one. Also, in applications where captured by a charge-coupled device (CCD) as the image
the raw video streaming data may be accessed directly after sensor. The image sensor produces an analog video signal of
the composite video baseband signal (CVBS). The analog-to-
1
This work was supported by the IT R&D program of MSIP/KCA. [12-
digital converter (ADC) converts the CVBS into digital
912-06-001, Development of the Security Technology for MTM-based component video of 4:2:2 YCbCr format which is defined in
Mobile Devices and next generation wireless LAN] ITU-R BT.656. The ADC also produces the data clock signal
98
schedule module includes the additional block RAM to store
the round keys which are 176 bytes (11 16 bytes) including
the initial key.
99
from MSB of video data are encrypted with the proposed
method based on Fig. 3. It is impossible to find visible
information in this image. Therefore, the proposed method can
obtain a similar security level of video data while using less
hardware resources than when all of video data is encrypted.
IV. CONCLUSION
This paper presented the design of a smart camera for video
streaming security. The presented design used the low-cost
(b) (c)
Fig. 5. The proposed security smart camera: (a) evaluation board, (b)
FPGA device to implement the encryption module for video
assembly board, (c) smart camera streaming security. The proposed video streaming security
module can process real-time encryption of raw video data
TABLE I using minimal hardware resources of FPGA. To reduce
SUMMARY OF USED RESOURCES hardware resources, we proposed an efficient method that
Number of Slices 585
encrypts half of the video streaming data using a 32-bit
1,360 bytes
(1024 bytes for S-boxes, architecture for AES. By encrypting only half of data, the
Amount of Block RAM
176 bytes for round keys, proposed video streaming security module can encrypt raw
160 bytes for buffers of V & B) video data with a maximum operation frequency of 39 MHz
Maximum Operating Frequency 72 MHz
which is possible on a low-cost. Therefore, the presented
smart camera hardware architecture with the proposed video
As shown in Table I, 585 slices are about 2% of total slices streaming security module is acceptable for developing a
and 1,360 bytes (10,880 bit) are under 1% of total amount of consumer product for video surveillance.
Block RAM in the FPGA. In terms of performance,
implementation on the FPGA achieved a maximum operating REFERENCES
frequency of 72 MHz, which satisfies the frequency
[1] R. Mosqueron and J. Dubois, M. Mattavelli, Smart camera with
requirement of over 39 MHz as explained in Section II. embedded coprocessor : a postal sorting application, Proceedings of the
Therefore, the proposed hardware architecture for video Optical and Digital Image Conference (SPIE08), Strasbourg, France,
streaming security in Fig. 3 is quite desirable, concerning April 2008.
[2] Shiguo Lian, Jinsheng Sun, Guangjie Liu, and Zhiquan Wang, Efficient
resource saving. video encryption scheme based on advanced video coding, Multimedia
Tools and Application., vol. 38, pp. 75-89, May 2008.
[3] Shu-bo Liu, Zheng-quan Xu, Wei Li, Jin Liu, and Zhi-yong Yuan, A
novel format-compliant video encryption scheme for H.264/AVC stream
based on residual block scrambling, International Conference on
Intelligent Computing, vol. 5226, pp. 10871094, 2008.
[4] M. Abomhara, Omar Zakaria, and Othman O. Khalifa, An overview of
video encryption techniques, International Journal of Computer Theory
and Engineering, vol. 2, no. 1, pp. 103-110, February 2010.
[5] Yuanzhi Zou, Tiejun Huang, Wen Gao, and Longshe Huo, H.264 video
encryption scheme adaptive to DRM, IEEE Trans. Consumer Electron.,
(a) (b) vol. 52, no. 4, pp. 1289-1297, November 2006.
[6] M. Podessor, H. Schmidt, and A. Uhl, Selective bitplane encryption for
secure transmission of image data in mobile environments,
Proceedings of 5th IEEE Nordic Signal Processing Symposium (NORSIG
2002), Norway, October 2002.
[7] Y. S. Jeon, M.S. Kim, Y. S. Kim, and J. W. Han Design of smart
camera hardware architecture for video encryption, Proceedings of the
25th International Technical Conference on Circuits/System, Computers
and Communications (ITC-CSCC), pp. 121-123, July 2010.
[8] M. H. Rais, and S. M. Qasim, Efficient hardware realization of
advanced encryption standard algorithm using virtex-5 FPGA,
(c) (d) International Journal of computer Science and Network Security
Fig. 6. Captured images from video stream : (a) original image, (b)-(d) (IJCSNS), vol. 9, no. 9, pp. 59-65, September 2009.
images obtained by encryption of (b) only MSBs, (c) all 8 bits, (d) high 4 [9] H. S. Kim, T. H. Kim, D. G. Han, and S. H. Hong, Efficient masking
bits from MSB. methods appropriate for the block ciphers ARIA and AES, ETRI
Journal, vol. 32, no. 3, pp. 370-379, June 2010.
Fig. 6(b)-(d) show captured images resulting from various [10] K.H. Chang, Y.C. Chen, C.C. Hsieh, C.W. Huang, and C.J. Chang,
Embedded a low area 32-bit AES for image encryption/decryption
encryption operation methods including the proposed method. application, IEEE ISCAS 2009, pp 1922-1925, November 2009.
Fig. 6(b) shows image obtained by encryption of only MSBs [11] Encryption Standard (AES), FIPS PUB-197, 26 November 2001.
with the ECB mode. In the case of MSB encryption, structural [12] Spartan-3A DSP FPGA Family Data Sheet (DS610), Xilinx, 4 October
information is still visible. On the other hand, Fig. 6(c) shows 2010.
the image where all 8 bits of video data are encrypted with the
method based on Fig. 2. In this case, any visible information
does not exist. Fig. 6(d) shows the image where high 4 bits
100