Skip to content
Commit d00aa19b authored by Herbert Xu's avatar Herbert Xu
Browse files

[CRYPTO] gcm: Allow block cipher parameter



This patch adds the gcm_base template which takes a block cipher
parameter instead of cipher.  This allows the user to specify a
specific CTR implementation.

This also fixes a leak of the cipher algorithm that was previously
looked up but never freed.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9ffde35a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment