Re: [PATCH v4 01/14] virt: sev-guest: Use AES GCM crypto library
From: Nikunj A. Dadhania
Date: Thu Oct 12 2023 - 04:27:58 EST
On 10/12/2023 1:15 PM, Borislav Petkov wrote:
> On Thu, Oct 12, 2023 at 10:10:43AM +0530, Nikunj A. Dadhania wrote:>
>> 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.
Sure, this is what I meant when I said "I can drop the helper" earlier.
Thanks
Nikunj