Mark Allyn <al...@well.com> wrote: > > Folks: > > Perhaps this is due to me being a neophyte . . . > > I notice that some of the structure have two different sets of functions. > > For example, the ahash_alg structure has .init and then .base.cra_init. > What is the difference between the two?
cra_init initialises a tfm object, while init is an operation specific to hash algorithms --- it initialises the hash state. Cheers, -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html