From b70a430d020e8541f66cca38c00355bab7bb1017 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sun, 17 Nov 2013 15:16:59 +0100 Subject: Add GPG_ERR_MAC_ALGO. --- NEWS | 5 +++++ doc/errorref.txt | 11 ++++++++++- src/err-codes.h.in | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 86a2f5f..2600b4e 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,11 @@ Noteworthy changes in version 1.13 (unreleased) ----------------------------------------------- + * Interface changes relative to the 1.11 release: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + GPG_ERR_MAC_ALGO NEW. + + Noteworthy changes in version 1.12 (2013-06-24) ----------------------------------------------- diff --git a/doc/errorref.txt b/doc/errorref.txt index 2986937..d8b95eb 100644 --- a/doc/errorref.txt +++ b/doc/errorref.txt @@ -345,7 +345,10 @@ GPG_ERR_INV_LENGTH Invalid length modes. - Bad length of input data; e.g. not a multiple of the block length. - - A length does not match the size of the digest algorithm. + - A length does not match the size of the digest + algorithm. + - Length of signature or public key is not as expected + (e.g. in EdDSA). [more to come] GNUPG: - Invalid hash length for a pubkey [more to come] @@ -511,5 +514,11 @@ GPG_ERR_BROKEN_SECKEY Broken secret key The secret key was mathematically not correctly generated. +GPG_ERR_MAC_ALGO + + GCRYPT: - MAC key algorithm is not defined or not available. + + +198 GPG_ERR_FULLY_CANCELED Operation fully cancelled 199 GPG_ERR_UNFINISHED Operation not yet finished 200 GPG_ERR_BUFFER_TOO_SHORT Buffer too short diff --git a/src/err-codes.h.in b/src/err-codes.h.in index 9c213de..4ecc24e 100644 --- a/src/err-codes.h.in +++ b/src/err-codes.h.in @@ -226,7 +226,7 @@ 194 GPG_ERR_CRYPT_CTX_CONFLICT Conflict in the crypto context 195 GPG_ERR_BROKEN_PUBKEY Broken public key 196 GPG_ERR_BROKEN_SECKEY Broken secret key -# 197 is free to be used. +197 GPG_ERR_MAC_ALGO Invalid MAC algorithm 198 GPG_ERR_FULLY_CANCELED Operation fully cancelled 199 GPG_ERR_UNFINISHED Operation not yet finished 200 GPG_ERR_BUFFER_TOO_SHORT Buffer too short -- cgit v1.2.3