Transfer a random cipher key for each TCP subscription
authorChanhee Lee <ch2102.lee@samsung.com>
Fri, 16 Sep 2022 02:18:04 +0000 (11:18 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Tue, 20 Sep 2022 07:46:12 +0000 (16:46 +0900)
commitefd3e62f4927aed121ec516cafadb41d2a3765c0
tree9c1cace524093bb0601fb0957e0eff49d739d15c
parentf1791f5219337c9622da77fda69fa26c527f5eb3
Transfer a random cipher key for each TCP subscription

[Problem] A fixed test key is used for AES encryption and decryption
          in TCP protocol.
[Solution] Generate a random key whenever a client connects to a
           TCP server.
15 files changed:
modules/tcp/AES.cc [deleted file]
modules/tcp/AES.h [deleted file]
modules/tcp/AESEncryptor.cc [new file with mode: 0755]
modules/tcp/AESEncryptor.h [new file with mode: 0755]
modules/tcp/CMakeLists.txt
modules/tcp/Module.cc
modules/tcp/Module.h
modules/tcp/TCP.cc
modules/tcp/TCPServer.cc
modules/tcp/TCPServer.h
modules/tcp/tests/AESEncryptor_test.cc [new file with mode: 0755]
modules/tcp/tests/CMakeLists.txt
src/AITTImpl.cc
tests/AITT_test.cc
tests/AittTests.h