summaryrefslogtreecommitdiffstats
path: root/src/crypto/mac/macs.c.in
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-01-11 13:46:38 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-01-11 13:46:38 +0100
commitf4aa0157048c945bc8d54e87946909dd496c85cb (patch)
treef4671cd70bb3406bc4fad1446b89a7e2e47a1813 /src/crypto/mac/macs.c.in
parent306667786ecabacf91b37c7e97a757561e951fe0 (diff)
downloadfastd-f4aa0157048c945bc8d54e87946909dd496c85cb.tar
fastd-f4aa0157048c945bc8d54e87946909dd496c85cb.zip
doc: move comments from generated source files to headers
Unfortunately, Doxygen stopped interpreting the .c.in files as C source files a while ago. Move the comments to the header files to avoid the Doxygen warnings.
Diffstat (limited to 'src/crypto/mac/macs.c.in')
-rw-r--r--src/crypto/mac/macs.c.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/crypto/mac/macs.c.in b/src/crypto/mac/macs.c.in
index c4cbecc..29e9f57 100644
--- a/src/crypto/mac/macs.c.in
+++ b/src/crypto/mac/macs.c.in
@@ -64,7 +64,6 @@ static inline bool mac_available(const fastd_mac_t *mac) {
return (!mac->available) || mac->available();
}
-/** Initializes the list of MAC implementations */
void fastd_mac_init(void) {
size_t i, j;
for (i = 0; i < array_size(macs); i++) {
@@ -77,7 +76,6 @@ void fastd_mac_init(void) {
}
}
-/** Configures a MAC to use a specific implementation */
bool fastd_mac_config(const char *name, const char *impl) {
size_t i;
for (i = 0; i < array_size(macs); i++) {
@@ -100,7 +98,6 @@ bool fastd_mac_config(const char *name, const char *impl) {
return false;
}
-/** Returns information about the MAC with the specified name if there is an implementation available */
const fastd_mac_info_t * fastd_mac_info_get_by_name(const char *name) {
size_t i;
for (i = 0; i < array_size(macs); i++) {
@@ -116,7 +113,6 @@ const fastd_mac_info_t * fastd_mac_info_get_by_name(const char *name) {
return NULL;
}
-/** Returns the chosen MAC implementation for a given cipher */
const fastd_mac_t * fastd_mac_get(const fastd_mac_info_t *info) {
size_t i;
for (i = 0; i < array_size(macs); i++) {