qapi/crypto: Rename QCryptoAFAlg to QCryptoAFAlgo

For consistency with other types names *Algo.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20240904111836.3273842-17-armbru@redhat.com>
This commit is contained in:
Markus Armbruster 2024-09-04 13:18:33 +02:00
parent c96050f43e
commit 8f525028bc
5 changed files with 25 additions and 25 deletions

View file

@ -30,9 +30,9 @@
#define ALG_OPTYPE_LEN 4
#define ALG_MSGIV_LEN(len) (sizeof(struct af_alg_iv) + (len))
typedef struct QCryptoAFAlg QCryptoAFAlg;
typedef struct QCryptoAFAlgo QCryptoAFAlgo;
struct QCryptoAFAlg {
struct QCryptoAFAlgo {
QCryptoCipher base;
int tfmfd;
@ -46,22 +46,22 @@ struct QCryptoAFAlg {
* @type: the type of crypto operation
* @name: the name of crypto operation
*
* Allocate a QCryptoAFAlg object and bind itself to
* Allocate a QCryptoAFAlgo object and bind itself to
* a AF_ALG socket.
*
* Returns:
* a new QCryptoAFAlg object, or NULL in error.
* a new QCryptoAFAlgo object, or NULL in error.
*/
QCryptoAFAlg *
QCryptoAFAlgo *
qcrypto_afalg_comm_alloc(const char *type, const char *name,
Error **errp);
/**
* afalg_comm_free:
* @afalg: the QCryptoAFAlg object
* @afalg: the QCryptoAFAlgo object
*
* Free the @afalg.
*/
void qcrypto_afalg_comm_free(QCryptoAFAlg *afalg);
void qcrypto_afalg_comm_free(QCryptoAFAlgo *afalg);
#endif