Re: [PATCH v4 01/14] virt: sev-guest: Use AES GCM crypto library

From: Borislav Petkov
Date: Thu Oct 12 2023 - 03:45:59 EST


On Thu, Oct 12, 2023 at 10:10:43AM +0530, Nikunj A. Dadhania wrote:
> Ard had added the library specifically for this use case, this was the first
> discussion thread: https://lore.kernel.org/all/c6fb9b25-a4b6-2e4a-2dd1-63adda055a49@xxxxxxx/
>
> Should I add the above link instead ?

Please read up on what a Link: tag is used for.

> static inline unsigned int get_ctx_authsize(struct snp_guest_dev *snp_dev)
> {
> return snp_dev->ctx->authsize;
> }

Or simply not use a one-liner function at all.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette