hi all
i want to use AES128 as symmetry Encryption when i transport data after ihaving
checked peer's ID.
how to select a symmetry Encryption? make sure when i use ssl_write ssl_read
symmetry encrypt will be used automatically
This needs to go on openssl-users, not openssl-dev.
AES can only be used in TLS, not SSL2. To use it, call
SSL_CTX_set_cipher_list(ptrSSL_CTX,!DEFAULT:AES128-SHA); or
SSL_set_ciphers(ptrSSL, !DEFAULT:AES128-SHA);.
For more details, look at the man pages for
SSL_CTX_set_cipher_list(3),