summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorMichael Roth <michael.roth@amd.com>2025-07-28 18:43:03 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2025-08-16 17:24:31 +0800
commited53a5050f42a3243a7ed8dfa49030e54034b952 (patch)
tree3183920d7c8899815649a2548f41f5baa4890d9f /scripts/lib/kdoc/kdoc_re.py
parent4e53be21dd0315c00eaf40cc8f8c0facd4d9a6b2 (diff)
crypto: ccp - Fix checks for SNP_VLEK_LOAD input buffer length
The SNP_VLEK_LOAD IOCTL currently fails due to sev_cmd_buffer_len() returning the default expected buffer length of 0 instead of the correct value, which would be sizeof(struct sev_user_data_snp_vlek_load). Add specific handling for SNP_VLEK_LOAD so the correct expected size is returned. Reported-by: Diego GonzalezVillalobos <Diego.GonzalezVillalobos@amd.com> Cc: Diego GonzalezVillalobos <Diego.GonzalezVillalobos@amd.com> Fixes: 332d2c1d713e ("crypto: ccp: Add the SNP_VLEK_LOAD command") Signed-off-by: Michael Roth <michael.roth@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions