./App Makefile
PKCS11 interface Initialization done
PKCS11 session opened and Intel SGX initialized
Intel SGX created and returned a pair of RSA keys:
1-clear RSA public key
2-private RSA key encrypted with AES-256-cbc
Message to encrypt:
all:
Encryption initialization...
Intel SGX has encrypted the message by using the public RSA key
Decryption initialization...
Intel SGX has decrypted the message by using the private encrypted RSA key
Decrypted message:
all:
PKCS11 session closed and Intel SGX closed
PKCS11 interface closed
Exit...