1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00
John Ferlan 1ce9c08ab3 util: Introduce encryption APIs
Introduce virCryptoHaveCipher and virCryptoEncryptData to handle
performing encryption.

 virCryptoHaveCipher:
   Boolean function to determine whether the requested cipher algorithm
   is available. It's expected this API will be called prior to
   virCryptoEncryptdata. It will return true/false.

 virCryptoEncryptData:
   Based on the requested cipher type, call the specific encryption
   API to encrypt the data.

Currently the only algorithm support is the AES 256 CBC encryption.

Adjust tests for the API's
2016-05-20 11:09:01 -04:00
..
2014-09-03 09:36:13 -06:00
2016-03-18 17:29:53 +01:00
2015-05-21 18:13:18 +02:00
2015-04-23 17:08:48 -04:00
2015-06-25 09:11:15 +02:00
2016-05-20 09:36:28 -04:00
2016-03-18 17:29:53 +01:00
2016-05-14 09:19:51 +02:00
2016-03-30 10:21:44 +03:00
2015-04-27 16:03:31 +02:00
2015-05-21 18:13:18 +02:00
2016-05-02 07:18:25 +02:00
2016-02-11 11:35:02 +01:00
2015-04-14 19:33:02 +02:00
2015-04-14 19:33:02 +02:00
2016-02-23 10:36:13 +01:00
2016-05-02 07:18:25 +02:00
2015-10-21 15:03:35 +02:00
2015-04-23 17:08:48 -04:00