/* End of code taken from D. J. Bernstein's reference implementation.  */
static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keysize)
/* End of code taken from D. J. Bernstein's reference implementation.  */
static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keysize)
{
	struct salsa20_ctx *ctx = crypto_tfm_ctx(tfm);
	salsa20_keysetup(ctx, key, keysize);
	return 0;
}