ChangeLog-2011 |
|
75209 |
cipher-proto.h |
This file has been factored out from cipher.h so that it can be
used standalone in visibility.c . |
8685 |
cipher.h |
for OAEP |
8784 |
context.c |
The definition of the generic context object. The public typedef
gcry_ctx_t is used to access it. |
4206 |
context.h |
Context types as used in struct gcry_context. |
1193 |
dumpsexp.c |
For a native WindowsCE binary we need to include gpg-error.h to
provide a replacement for strerror. |
18680 |
ec-context.h |
This context is used with all our EC functions. |
3980 |
fips.c |
HAVE_SYSLOG |
23175 |
g10lib.h |
This header is to be used inside of libgcrypt in place of gcrypt.h.
This way we can better distinguish between internal and external
usage of gcrypt.h. |
17489 |
gcrypt-int.h |
These error codes are used but not defined in the required
libgpg-error N.MM. Define them here. [None right now.] |
26228 |
gcrypt-testapi.h |
WARNING: This is a private API to be used by regression tests. In
particular this API does not constitute a well defined ABI. The
header may only be used with its matching Libgcrypt version.
|
2153 |
gcrypt.h.in |
|
72122 |
gcryptrnd.c |
We require vsyslog pth
We need to test for: setrlimit
We should also prioritize requests. This is best done by putting
the requests into queues and have a main thread processing these
queues.
|
17008 |
getrandom.c |
Send LENGTH bytes of BUFFER to file descriptor FD. Returns 0 on
success or another value on write error. |
8574 |
global.c |
HAVE_SYSLOG |
35923 |
hmac256.c |
This is a standalone HMAC-SHA-256 implementation based on the code
from ../cipher/sha256.c. It is a second implementation to allow
comparing against the standard implementations and to be used for
internal consistency checks. It should not be used for sensitive
data because no mechanisms to clear the stack etc are used.
This module may be used standalone.
Types:
u32 - unsigned 32 bit type.
Constants:
WORDS_BIGENDIAN Defined to 1 on big endian systems.
inline If defined, it should yield the keyword used
to inline a function.
HAVE_TYPE_U32 Defined if the u32 type is available.
SIZEOF_UNSIGNED_INT Defined to the size in bytes of an unsigned int.
SIZEOF_UNSIGNED_LONG Defined to the size in bytes of an unsigned long.
STANDALONE Compile a test driver similar to the
sha1sum tool. This driver uses a self-test
identically to the one used by Libcgrypt
for testing this included module.
|
22187 |
hmac256.h |
HMAC256_H |
1356 |
hwf-arm.c |
FreeBSD provides 'elf_aux_info' function that does the same as
'getauxval' on Linux. |
8694 |
hwf-common.h |
HWF_COMMON_H |
1036 |
hwf-ppc.c |
FreeBSD provides 'elf_aux_info' function that does the same as
'getauxval' on Linux. |
5610 |
hwf-s390x.c |
FreeBSD provides 'elf_aux_info' function that does the same as
'getauxval' on Linux. |
4846 |
hwf-x86.c |
We use the next macro to decide whether we can test for certain
features. |
11189 |
hwfeatures.c |
HAVE_SYSLOG |
6658 |
libgcrypt-config.in |
|
4300 |
libgcrypt.def |
|
8232 |
libgcrypt.m4 |
|
6242 |
libgcrypt.pc.in |
|
568 |
libgcrypt.vers |
|
5335 |
Makefile.am |
|
4770 |
Makefile.in |
|
68224 |
misc.c |
Prevent compiler from optimizing away the call to memset by accessing
memset through volatile pointer. |
14068 |
missing-string.c |
|
1404 |
mpi.h |
BITS_PER_MPI_LIMB |
13624 |
mpicalc.c |
This program is a simple RPN calculator which was originally used
to develop the mpi functions of GnuPG. Values must be given in
hex. Operation is like dc(1) except that the input/output radix is
always 16 and you can use a '-' to prefix a negative number.
Addition operators: ++ and --. All operators must be delimited by
a blank.
|
13972 |
secmem.c |
Size of the memory available to the
user. |
23570 |
secmem.h |
Flags for _gcry_secmem_{set,get}_flags. |
1742 |
sexp.c |
Notes on the internal memory layout.
We store an S-expression as one memory buffer with tags, length and
value. The simplest list would thus be:
/----------+----------+---------+------+-----------+----------\
| open_tag | data_tag | datalen | data | close_tag | stop_tag |
\----------+----------+---------+------+-----------+----------/
Expressed more compact and with an example:
/----+----+----+---+----+----\
| OT | DT | DL | D | CT | ST | "(foo)"
\----+----+----+---+----+----/
The open tag must always be the first tag of a list as requires by
the S-expression specs. At least data element (data_tag, datalen,
data) is required as well. The close_tag finishes the list and
would actually be sufficient. For fail-safe reasons a final stop
tag is always the last byte in a buffer; it has a value of 0 so
that string function accidentally applied to an S-expression will
never access unallocated data. We do not support display hints and
thus don't need to represent them. A list may have more an
arbitrary number of data elements but at least one is required.
The length of each data must be greater than 0 and has a current
limit to 65535 bytes (by means of the DATALEN type).
A list with two data elements:
/----+----+----+---+----+----+---+----+----\
| OT | DT | DL | D | DT | DL | D | CT | ST | "(foo bar)"
\----+----+----+---+----+----+---+----+----/
In the above example both DL fields have a value of 3.
A list of a list with one data element:
/----+----+----+----+---+----+----+----\
| OT | OT | DT | DL | D | CT | CT | ST | "((foo))"
\----+----+----+----+---+----+----+----/
A list with one element followed by another list:
/----+----+----+---+----+----+----+---+----+----+----\
| OT | DT | DL | D | OT | DT | DL | D | CT | CT | ST | "(foo (bar))"
\----+----+----+---+----+----+----+---+----+----+----/
|
70435 |
stdmem.c |
Description of the layered memory management in Libgcrypt:
[User]
|
|
\ /
global.c: [MM entrance points] -----> [user callbacks]
| |
| |
\ / \ /
stdmem.c: [non-secure handlers] [secure handlers]
| |
| |
\ / \ /
stdmem.c: [ memory guard ]
| |
| |
\ / \ /
libc: [ MM functions ] secmem.c: [ secure MM functions]
|
5810 |
stdmem.h |
G10_STDMEM_H |
1284 |
types.h |
The AC_CHECK_SIZEOF() in configure fails for some machines.
we provide some fallback values here |
3573 |
versioninfo.rc.in |
|
1740 |
visibility.c |
This is not yet implemented in sexp.c. |
34084 |
visibility.h |
Redefine all public symbols with an underscore unless we already
use the underscore prefixed version internally. |
24001 |