提交 1ca5b7d9 编写于 作者: N Nicolas Ferre

crypto: atmel-sha - add sha information to the log

Depending on peripheral capabilities, print SHA information at the end
of the probe function.
Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 abfe7ae4
......@@ -1469,7 +1469,9 @@ static int atmel_sha_probe(struct platform_device *pdev)
if (err)
goto err_algs;
dev_info(dev, "Atmel SHA1/SHA256\n");
dev_info(dev, "Atmel SHA1/SHA256%s%s\n",
sha_dd->caps.has_sha224 ? "/SHA224" : "",
sha_dd->caps.has_sha_384_512 ? "/SHA384/SHA512" : "");
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册