summaryrefslogtreecommitdiff
path: root/cipher
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2022-01-11 19:07:38 +0100
committerNIIBE Yutaka <gniibe@fsij.org>2022-01-17 14:32:29 +0900
commite023e10ee89baf5d5909de4d8c13ba6dfbc8ed99 (patch)
treec2d10341d4e5c4a8a79add89665716019d9ab36a /cipher
parent8611c9f276ad0f51fcdd4da0481108880104338f (diff)
downloadlibgcrypt-e023e10ee89baf5d5909de4d8c13ba6dfbc8ed99.tar.gz
Update documentation related to FIPS
* cipher/rsa.c (selftest_encr_2048): Fix error message * doc/gcrypt.texi: Add missing hwfeatures Add description of the service indicator API Fix typo in tampered word Add some missing curves Remove algoriths no longer used in FIPS mode and update claims given -- Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'cipher')
-rw-r--r--cipher/rsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/rsa.c b/cipher/rsa.c
index b0579277..673a450b 100644
--- a/cipher/rsa.c
+++ b/cipher/rsa.c
@@ -1906,7 +1906,7 @@ selftest_encr_2048 (gcry_sexp_t pkey, gcry_sexp_t skey)
ciphertext = extract_a_from_sexp (encr);
if (!ciphertext)
{
- errtxt = "gcry_pk_decrypt returned garbage";
+ errtxt = "gcry_pk_encrypt returned garbage";
goto leave;
}