Re: [PATCH 04/10] nvme: add nvme_auth_derive_tls_psk()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



po 2. 12. 2024 v 15:32 odesílatel Hannes Reinecke <hare@xxxxxxxxxx> napsal:
> +       ret = crypto_shash_setkey(hmac_tfm, prk, prk_len);
> +       if (ret)
> +               goto out_free_prk;
> +
> +       info_len = strlen(psk_digest) + strlen(psk_prefix) + 5;
> +       info = kzalloc(info_len, GFP_KERNEL);
> +       if (!info)
> +               goto out_free_prk;

ret should be set to ENOMEM here

Maurizio






[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux