Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b2cf268 authored by LEROY Christophe's avatar LEROY Christophe Committed by Herbert Xu
Browse files

crypto: talitos - declare local functions static



talitos_handle_buggy_hash() and talitos_sg_map() are only used
locally, make them static

Signed-off-by: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent e4a647c4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1113,7 +1113,7 @@ static int sg_to_link_tbl_offset(struct scatterlist *sg, int sg_count,
	return count;
}

int talitos_sg_map(struct device *dev, struct scatterlist *src,
static int talitos_sg_map(struct device *dev, struct scatterlist *src,
		   unsigned int len, struct talitos_edesc *edesc,
		   struct talitos_ptr *ptr,
		   int sg_count, unsigned int offset, int tbl_off)
@@ -1721,7 +1721,7 @@ static void ahash_done(struct device *dev,
 * SEC1 doesn't like hashing of 0 sized message, so we do the padding
 * ourself and submit a padded block
 */
void talitos_handle_buggy_hash(struct talitos_ctx *ctx,
static void talitos_handle_buggy_hash(struct talitos_ctx *ctx,
			       struct talitos_edesc *edesc,
			       struct talitos_ptr *ptr)
{