• J
    util: Introduce encryption APIs · 1ce9c08a
    John Ferlan 提交于
    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
    1ce9c08a
configure.ac 94.0 KB