qemu-patch-raspberry4/include/crypto
Daniel P. Berrange e00adf6c3e crypto: introduce new module for TLS anonymous credentials
Introduce a QCryptoTLSCredsAnon class which is used to
manage anonymous TLS credentials. Use of this class is
generally discouraged since it does not offer strong
security, but it is required for backwards compatibility
with the current VNC server implementation.

Simple example CLI configuration:

 $QEMU -object tls-creds-anon,id=tls0,endpoint=server

Example using pre-created diffie-hellman parameters

 $QEMU -object tls-creds-anon,id=tls0,endpoint=server,\
               dir=/path/to/creds/dir

The 'id' value in the -object args will be used to associate the
credentials with the network services. For example, when the VNC
server is later converted it would use

 $QEMU -object tls-creds-anon,id=tls0,.... \
       -vnc 127.0.0.1:1,tls-creds=tls0

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2015-09-15 15:00:20 +01:00
..
aes.h crypto: move built-in AES implementation into crypto/ 2015-07-07 12:04:13 +02:00
cipher.h crypto: introduce generic cipher API & built-in implementation 2015-07-08 13:11:01 +02:00
desrfb.h crypto: move built-in D3DES implementation into crypto/ 2015-07-07 12:04:31 +02:00
hash.h crypto: introduce new module for computing hash digests 2015-07-07 12:04:07 +02:00
init.h crypto: introduce new module for computing hash digests 2015-07-07 12:04:07 +02:00
tlscreds.h crypto: introduce new base module for TLS credentials 2015-09-15 14:47:37 +01:00
tlscredsanon.h crypto: introduce new module for TLS anonymous credentials 2015-09-15 15:00:20 +01:00