I use AES-128bit to encrypt files and I want to compute a HMAC for each one of the encrypted files to ensure their integrity.
Can I use directly the AES KEY to compute HMAC or should I used a derived form (eg. PBKDF2 sha256) ? In other words I wonder if the HMAC can facilitate the recovery of the AES key or not...
Thank you in advance. Best regards