Home
last modified time | relevance | path

Searched hist:"90 d6f60d0727df084b62674bf2310ac74467a5a4" (Results 1 – 3 of 3) sorted by relevance

/qemu/crypto/
H A Dcipher-gcrypt.c.inc90d6f60d0727df084b62674bf2310ac74467a5a4 Mon Sep 05 17:02:05 UTC 2016 Daniel P. Berrange <berrange@redhat.com> crypto: report enum strings instead of values in errors

Several error messages print out the raw enum value, which
is less than helpful to users, as these values are not
documented, nor stable across QEMU releases. Switch to use
the enum string instead.

The nettle impl also had two typos where it mistakenly
said "algorithm" instead of "mode", and actually reported
the algorithm value too.

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
H A Dcipher-nettle.c.inc90d6f60d0727df084b62674bf2310ac74467a5a4 Mon Sep 05 17:02:05 UTC 2016 Daniel P. Berrange <berrange@redhat.com> crypto: report enum strings instead of values in errors

Several error messages print out the raw enum value, which
is less than helpful to users, as these values are not
documented, nor stable across QEMU releases. Switch to use
the enum string instead.

The nettle impl also had two typos where it mistakenly
said "algorithm" instead of "mode", and actually reported
the algorithm value too.

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
H A Dblock.c90d6f60d0727df084b62674bf2310ac74467a5a4 Mon Sep 05 17:02:05 UTC 2016 Daniel P. Berrange <berrange@redhat.com> crypto: report enum strings instead of values in errors

Several error messages print out the raw enum value, which
is less than helpful to users, as these values are not
documented, nor stable across QEMU releases. Switch to use
the enum string instead.

The nettle impl also had two typos where it mistakenly
said "algorithm" instead of "mode", and actually reported
the algorithm value too.

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>