Skip to content

Commit 8f17467

Browse files
committed
Update documentation
1 parent 446aef2 commit 8f17467

10 files changed

+65
-4
lines changed

config_align.h

+4
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@
44

55
/// \file config_align.h
66
/// \brief Library configuration file
7+
/// \details <tt>config_align.h</tt> provides defines for aligned memory
8+
/// allocations.
79
/// \details <tt>config.h</tt> was split into components in May 2019 to better
810
/// integrate with Autoconf and its feature tests. The splitting occurred so
911
/// users could continue to include <tt>config.h</tt> while allowing Autoconf
1012
/// to write new <tt>config_asm.h</tt> and new <tt>config_cxx.h</tt> using
1113
/// its feature tests.
14+
/// \note You should include <tt>config.h</tt> rather than <tt>config_align.h</tt>
15+
/// directly.
1216
/// \sa <A HREF="https://github.com/weidai11/cryptopp/issues/835">Issue 835</A>
1317
/// \since Crypto++ 8.3
1418

config_asm.h

+5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@
44

55
/// \file config_asm.h
66
/// \brief Library configuration file
7+
/// \details <tt>config_asm.h</tt> provides defines for instruction set
8+
/// architectures
9+
/// and inline assembly.
710
/// \details <tt>config.h</tt> was split into components in May 2019 to better
811
/// integrate with Autoconf and its feature tests. The splitting occurred so
912
/// users could continue to include <tt>config.h</tt> while allowing Autoconf
1013
/// to write new <tt>config_asm.h</tt> and new <tt>config_cxx.h</tt> using
1114
/// its feature tests.
15+
/// \note You should include <tt>config.h</tt> rather than <tt>config_asm.h</tt>
16+
/// directly.
1217
/// \sa <A HREF="https://github.com/weidai11/cryptopp/issues/835">Issue 835</A>
1318
/// \since Crypto++ 8.3
1419

config_cpu.h

+4
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@
44

55
/// \file config_cpu.h
66
/// \brief Library configuration file
7+
/// \details <tt>config_cpu.h</tt> provides defines for the cpu and machine
8+
/// architecture.
79
/// \details <tt>config.h</tt> was split into components in May 2019 to better
810
/// integrate with Autoconf and its feature tests. The splitting occurred so
911
/// users could continue to include <tt>config.h</tt> while allowing Autoconf
1012
/// to write new <tt>config_asm.h</tt> and new <tt>config_cxx.h</tt> using
1113
/// its feature tests.
14+
/// \note You should include <tt>config.h</tt> rather than <tt>config_cpu.h</tt>
15+
/// directly.
1216
/// \sa <A HREF="https://github.com/weidai11/cryptopp/issues/835">Issue 835</A>
1317
/// <A HREF="https://sourceforge.net/p/predef/wiki/Architectures/">Sourceforge
1418
/// Pre-defined Compiler Macros</A>

config_cxx.h

+5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@
44

55
/// \file config_cxx.h
66
/// \brief Library configuration file
7+
/// \details <tt>config_cxx.h</tt> provides defines for C++ language and
8+
/// runtime library
9+
/// features.
710
/// \details <tt>config.h</tt> was split into components in May 2019 to better
811
/// integrate with Autoconf and its feature tests. The splitting occurred so
912
/// users could continue to include <tt>config.h</tt> while allowing Autoconf
1013
/// to write new <tt>config_asm.h</tt> and new <tt>config_cxx.h</tt> using
1114
/// its feature tests.
15+
/// \note You should include <tt>config.h</tt> rather than <tt>config_cxx.h</tt>
16+
/// directly.
1217
/// \sa <A HREF="https://github.com/weidai11/cryptopp/issues/835">Issue 835</A>
1318
/// \since Crypto++ 8.3
1419

config_dll.h

+4
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@
44

55
/// \file config_dll.h
66
/// \brief Library configuration file
7+
/// \details <tt>config_dll.h</tt> provides defines for shared objects and
8+
/// dynamic libraries.
79
/// \details <tt>config.h</tt> was split into components in May 2019 to better
810
/// integrate with Autoconf and its feature tests. The splitting occurred so
911
/// users could continue to include <tt>config.h</tt> while allowing Autoconf
1012
/// to write new <tt>config_asm.h</tt> and new <tt>config_cxx.h</tt> using
1113
/// its feature tests.
14+
/// \note You should include <tt>config.h</tt> rather than <tt>config_dll.h</tt>
15+
/// directly.
1216
/// \sa <A HREF="https://github.com/weidai11/cryptopp/issues/835">Issue 835</A>
1317
/// \since Crypto++ 8.3
1418

config_int.h

+3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44

55
/// \file config_int.h
66
/// \brief Library configuration file
7+
/// \details <tt>config_int.h</tt> provides defines and typedefs for integers.
78
/// \details <tt>config.h</tt> was split into components in May 2019 to better
89
/// integrate with Autoconf and its feature tests. The splitting occurred so
910
/// users could continue to include <tt>config.h</tt> while allowing Autoconf
1011
/// to write new <tt>config_asm.h</tt> and new <tt>config_cxx.h</tt> using
1112
/// its feature tests.
13+
/// \note You should include <tt>config.h</tt> rather than <tt>config_int.h</tt>
14+
/// directly.
1215
/// \sa <A HREF="https://github.com/weidai11/cryptopp/issues/835">Issue 835</A>
1316
/// \since Crypto++ 8.3
1417

config_misc.h

+3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44

55
/// \file config_misc.h
66
/// \brief Library configuration file
7+
/// \details <tt>config_misc.h</tt> provides miscellaneous defines.
78
/// \details <tt>config.h</tt> was split into components in May 2019 to better
89
/// integrate with Autoconf and its feature tests. The splitting occurred so
910
/// users could continue to include <tt>config.h</tt> while allowing Autoconf
1011
/// to write new <tt>config_asm.h</tt> and new <tt>config_cxx.h</tt> using
1112
/// its feature tests.
13+
/// \note You should include <tt>config.h</tt> rather than <tt>config_misc.h</tt>
14+
/// directly.
1215
/// \sa <A HREF="https://github.com/weidai11/cryptopp/issues/835">Issue 835</A>
1316
/// \since Crypto++ 8.3
1417

config_ns.h

+4
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@
44

55
/// \file config_ns.h
66
/// \brief Library configuration file
7+
/// \details <tt>config_ns.h</tt> provides defines for C++ and library
8+
/// namespaces.
79
/// \details <tt>config.h</tt> was split into components in May 2019 to better
810
/// integrate with Autoconf and its feature tests. The splitting occurred so
911
/// users could continue to include <tt>config.h</tt> while allowing Autoconf
1012
/// to write new <tt>config_asm.h</tt> and new <tt>config_cxx.h</tt> using
1113
/// its feature tests.
14+
/// \note You should include <tt>config.h</tt> rather than <tt>config_ns.h</tt>
15+
/// directly.
1216
/// \sa <A HREF="https://github.com/weidai11/cryptopp/issues/835">Issue 835</A>
1317
/// \since Crypto++ 8.3
1418

config_os.h

+4
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@
44

55
/// \file config_os.h
66
/// \brief Library configuration file
7+
/// \details <tt>config_os.h</tt> provides defines for platforms and operating
8+
/// systems.
79
/// \details <tt>config.h</tt> was split into components in May 2019 to better
810
/// integrate with Autoconf and its feature tests. The splitting occurred so
911
/// users could continue to include <tt>config.h</tt> while allowing Autoconf
1012
/// to write new <tt>config_asm.h</tt> and new <tt>config_cxx.h</tt> using
1113
/// its feature tests.
14+
/// \note You should include <tt>config.h</tt> rather than <tt>config_os.h</tt>
15+
/// directly.
1216
/// \sa <A HREF="https://github.com/weidai11/cryptopp/issues/835">Issue 835</A>
1317
/// \since Crypto++ 8.3
1418

config_ver.h

+29-4
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,49 @@
44

55
/// \file config_ver.h
66
/// \brief Library configuration file
7+
/// \details <tt>config_ver.h</tt> provides defines for library and compiler
8+
/// versions.
79
/// \details <tt>config.h</tt> was split into components in May 2019 to better
810
/// integrate with Autoconf and its feature tests. The splitting occurred so
911
/// users could continue to include <tt>config.h</tt> while allowing Autoconf
1012
/// to write new <tt>config_asm.h</tt> and new <tt>config_cxx.h</tt> using
1113
/// its feature tests.
14+
/// \note You should include <tt>config.h</tt> rather than <tt>config_ver.h</tt>
15+
/// directly.
1216
/// \sa <A HREF="https://github.com/weidai11/cryptopp/issues/835">Issue 835</A>
1317
/// \since Crypto++ 8.3
1418

1519
#ifndef CRYPTOPP_CONFIG_VERSION_H
1620
#define CRYPTOPP_CONFIG_VERSION_H
1721

18-
// Library version macro. Since this macro is in a header, it reflects
19-
// the version of the library the headers came from. It is not
20-
// necessarily the version of the library built as a shared object if
21-
// versions are inadvertently mixed and matched.
22+
/// \brief Library major version
23+
/// \details CRYPTOPP_MAJOR reflects the major version of the library the
24+
/// headers came from. It is not necessarily the version of the library built
25+
/// as a shared object if versions are inadvertently mixed and matched.
26+
/// \sa CRYPTOPP_VERSION, LibraryVersion(), HeaderVersion()
27+
/// \since Crypto++ 8.2
2228
#define CRYPTOPP_MAJOR 8
29+
/// \brief Library minor version
30+
/// \details CRYPTOPP_MINOR reflects the minor version of the library the
31+
/// headers came from. It is not necessarily the version of the library built
32+
/// as a shared object if versions are inadvertently mixed and matched.
33+
/// \sa CRYPTOPP_VERSION, LibraryVersion(), HeaderVersion()
34+
/// \since Crypto++ 8.2
2335
#define CRYPTOPP_MINOR 4
36+
/// \brief Library revision number
37+
/// \details CRYPTOPP_REVISION reflects the revision number of the library the
38+
/// headers came from. It is not necessarily the revision of the library built
39+
/// as a shared object if versions are inadvertently mixed and matched.
40+
/// \sa CRYPTOPP_VERSION, LibraryVersion(), HeaderVersion()
41+
/// \since Crypto++ 8.2
2442
#define CRYPTOPP_REVISION 0
43+
44+
/// \brief Full library version
45+
/// \details CRYPTOPP_VERSION reflects the version of the library the headers
46+
/// came from. It is not necessarily the version of the library built as a
47+
/// shared object if versions are inadvertently mixed and matched.
48+
/// \sa CRYPTOPP_MAJOR, CRYPTOPP_MINOR, CRYPTOPP_REVISION, LibraryVersion(), HeaderVersion()
49+
/// \since Crypto++ 5.6
2550
#define CRYPTOPP_VERSION 840
2651

2752
// Compiler version macros

0 commit comments

Comments
 (0)