- int crypto_ahash_setkey(struct crypto_ahash * tfm, const u8 * key, unsigned int keylen);
- cipher handle
- buffer holding the key
- length of the key in bytes
The caller provided key is set for the ahash cipher. The cipher handle must point to a keyed hash in order for this function to succeed.
0 if the setting of the key was successful; < 0 if an error occurred