]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - crypto/drbg.c
crypto: drbg - constify drbg_state_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Mon, 7 Dec 2015 20:36:57 +0000 (21:36 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Dec 2015 14:39:44 +0000 (22:39 +0800)
commite4bc02aced3731776c8828d34e13c02ebdec3088
tree776707fa22ba04c3fbdba35bc6a901c4fc6fd373
parent161151d79ff4f7ed35d4ebb0eb7727a517c34ef2
crypto: drbg - constify drbg_state_ops structures

The drbg_state_ops structures are never modified, so declare them as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/drbg.c