qapi/crypto: Drop unwanted 'prefix'
authorMarkus Armbruster <armbru@redhat.com>
Wed, 4 Sep 2024 11:18:27 +0000 (13:18 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 10 Sep 2024 11:22:47 +0000 (13:22 +0200)
commit5f4059ef33e927ce9f72cb60000efa156566cd5c
treea3c9a65e1bd734c255ebdebdc6285be5f42bc614
parent32cfefb904cae766d56adf7a802bc1ce2ddf2440
qapi/crypto: Drop unwanted 'prefix'

QAPI's 'prefix' feature can make the connection between enumeration
type and its constants less than obvious.  It's best used with
restraint.

QCryptoAkCipherKeyType has a 'prefix' that overrides the generated
enumeration constants' prefix to QCRYPTO_AKCIPHER_KEY_TYPE.

Drop it.  The prefix becomes QCRYPTO_AK_CIPHER_KEY_TYPE.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20240904111836.3273842-11-armbru@redhat.com>
backends/cryptodev-builtin.c
backends/cryptodev-lkcf.c
crypto/akcipher-gcrypt.c.inc
crypto/akcipher-nettle.c.inc
crypto/rsakey-builtin.c.inc
crypto/rsakey-nettle.c.inc
qapi/crypto.json
tests/bench/benchmark-crypto-akcipher.c
tests/unit/test-crypto-akcipher.c