Tag: e4bc02aced3731776c8828d34e13c02ebdec3088

crypto: drbg – constify drbg_state_ops structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> The drbg_state_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Herbert Xu — crypto/drbg.c | 6 +++— 1 file changed, 3 insertions(+), 3 deletions(-)   diff –git a/crypto/drbg.c b/crypto/drbg.c index a7c2314..ab6ef1d 100644 — a/crypto/drbg.c +++ b/crypto/drbg.c @@ -626,7 +626,7 @@ …

Continue reading