This is gcrypt.info, produced by makeinfo version 6.8 from gcrypt.texi. This manual is for Libgcrypt version 1.12.2 and was last updated 24 September 2025. Libgcrypt is GNU's library of cryptographic building blocks. Copyright (C) 2000, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2011, 2012 Free Software Foundation, Inc. Copyright (C) 2012, 2013, 2016, 2017 g10 Code GmbH Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The text of the license can be found in the section entitled "GNU General Public License". INFO-DIR-SECTION GNU Libraries START-INFO-DIR-ENTRY * libgcrypt: (gcrypt). Cryptographic function library. END-INFO-DIR-ENTRY  Indirect: gcrypt.info-1: 864 gcrypt.info-2: 315171  Tag Table: (Indirect) Node: Top864 Node: Introduction3419 Node: Getting Started3791 Node: Features4671 Node: Overview5456 Node: Preparation6079 Node: Header7064 Node: Building sources8135 Node: Building sources using Automake10063 Node: Initializing the library11453 Ref: sample-use-suspend-secmem14845 Ref: sample-use-resume-secmem15689 Node: Multi-Threading16592 Ref: Multi-Threading-Footnote-117771 Node: Enabling FIPS mode18180 Ref: enabling fips mode18363 Node: Disabling FIPS mode19632 Ref: disabling fips mode19819 Node: Hardware features20270 Ref: hardware features20438 Ref: Hardware features-Footnote-122018 Node: Generalities22176 Node: Controlling the library22435 Node: Error Handling46202 Node: Error Values48740 Node: Error Sources53680 Node: Error Codes55948 Node: Error Strings59423 Node: Handler Functions60607 Node: Progress handler61166 Node: Allocation handler63315 Node: Error handler64861 Node: Logging handler66427 Node: Symmetric cryptography67495 Node: Available ciphers68236 Node: Available cipher modes71689 Node: Working with cipher handles77824 Node: General cipher functions91706 Node: Public Key cryptography95225 Node: Available algorithms96064 Node: Used S-expressions96364 Node: RSA key parameters97530 Node: DSA key parameters98808 Node: ECC key parameters99463 Ref: ecc_keyparam99614 Node: Cryptographic Functions103651 Node: Dedicated ECC Functions118015 Node: General public-key related Functions119162 Node: Hashing134195 Node: Available hash algorithms134928 Node: Working with hash algorithms141975 Node: Message Authentication Codes156489 Node: Available MAC algorithms157157 Node: Working with MAC algorithms164526 Node: Key Derivation170518 Node: Random Numbers172917 Node: Quality of random numbers173200 Node: Retrieving random numbers173886 Node: S-expressions175375 Node: Data types for S-expressions176017 Node: Working with S-expressions176343 Node: MPI library191476 Node: Data types192498 Node: Basic functions192807 Node: MPI formats195828 Node: Calculations199434 Node: Comparisons201818 Node: Bit manipulations202825 Node: EC functions204147 Ref: gcry_mpi_ec_new207101 Node: Miscellaneous212670 Node: Prime numbers216816 Node: Generation217086 Node: Checking218377 Node: Utilities218787 Node: Memory allocation219159 Node: Context management220525 Ref: gcry_ctx_release220964 Node: Buffer description221125 Node: Config reporting221913 Node: Tools222876 Node: hmac256223043 Node: Configuration224048 Node: Architecture227264 Ref: fig:subsystems228790 Ref: Architecture-Footnote-1229878 Ref: Architecture-Footnote-2229940 Node: Public-Key Subsystem Architecture230024 Node: Symmetric Encryption Subsystem Architecture232308 Node: Hashing and MACing Subsystem Architecture233905 Node: Multi-Precision-Integer Subsystem Architecture235979 Node: Prime-Number-Generator Subsystem Architecture237417 Ref: Prime-Number-Generator Subsystem Architecture-Footnote-1239344 Node: Random-Number Subsystem Architecture239634 Node: CSPRNG Description242825 Ref: CSPRNG Description-Footnote-1244380 Node: DRBG Description244503 Node: Self-Tests246184 Node: FIPS Mode258001 Ref: fig:fips-fsm262185 Ref: tbl:fips-states262289 Ref: tbl:fips-state-transitions263538 Node: Library Copying267149 Node: Copying295164 Node: Figures and Tables315171 Node: Concept Index315596 Node: Function and Data Index328316  End Tag Table  Local Variables: coding: utf-8 End: