summaryrefslogtreecommitdiffstats
path: root/crypto/hmac.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-03-12 08:11:42 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-13 08:32:28 +0100
commite693622467bf16f39afd792ee1e78ea9e2fed26f (patch)
tree7005e2dff155473fb47e5be50de248c23f3deefc /crypto/hmac.c
parentac2407db7a25ba81852919c34de56db792e77fca (diff)
downloadbarebox-e693622467bf16f39afd792ee1e78ea9e2fed26f.tar.gz
barebox-e693622467bf16f39afd792ee1e78ea9e2fed26f.tar.xz
crypto: digest: Fix coding style
When declaring pointer data or a function that returns a pointer type, the preferred use of '*' is adjacent to the data name or function name and not adjacent to the type name. Fix the remaining occurences in crypto/ Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'crypto/hmac.c')
-rw-r--r--crypto/hmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hmac.c b/crypto/hmac.c
index 4e6bfa3f09..1462730a0d 100644
--- a/crypto/hmac.c
+++ b/crypto/hmac.c
@@ -26,7 +26,7 @@ struct digest_hmac_ctx {
unsigned int keylen;
};
-static inline struct digest_hmac * to_digest_hmac(struct digest_algo *algo)
+static inline struct digest_hmac *to_digest_hmac(struct digest_algo *algo)
{
return container_of(algo, struct digest_hmac, algo);
}