diff options
| author | Ranjan Kumar <[email protected]> | 2024-03-13 10:07:45 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2024-03-25 22:14:33 +0000 |
| commit | 57a80be5ec6f08edbcd615dd0c3f2478d091813d (patch) | |
| tree | ffd77208107da923ff6b233bf695d3409d92f78c /drivers/scsi/mpi3mr/mpi/mpi30_image.h | |
| parent | scsi: mpi3mr: Debug ability improvements (diff) | |
| download | kernel-57a80be5ec6f08edbcd615dd0c3f2478d091813d.tar.gz kernel-57a80be5ec6f08edbcd615dd0c3f2478d091813d.zip | |
scsi: mpi3mr: Update MPI Headers to revision 31
Update MPI Headers to revision 31.
Signed-off-by: Ranjan Kumar <[email protected]>
Signed-off-by: Sathya Prakash <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/mpi3mr/mpi/mpi30_image.h')
| -rw-r--r-- | drivers/scsi/mpi3mr/mpi/mpi30_image.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/drivers/scsi/mpi3mr/mpi/mpi30_image.h b/drivers/scsi/mpi3mr/mpi/mpi30_image.h index 47035b811902..7df242190135 100644 --- a/drivers/scsi/mpi3mr/mpi/mpi30_image.h +++ b/drivers/scsi/mpi3mr/mpi/mpi30_image.h @@ -198,16 +198,17 @@ struct mpi3_supported_devices_data { struct mpi3_supported_device supported_device[MPI3_SUPPORTED_DEVICE_MAX]; }; -#ifndef MPI3_ENCRYPTED_HASH_MAX -#define MPI3_ENCRYPTED_HASH_MAX (1) +#ifndef MPI3_PUBLIC_KEY_MAX +#define MPI3_PUBLIC_KEY_MAX (1) #endif struct mpi3_encrypted_hash_entry { u8 hash_image_type; u8 hash_algorithm; u8 encryption_algorithm; u8 reserved03; - __le32 reserved04; - __le32 encrypted_hash[MPI3_ENCRYPTED_HASH_MAX]; + __le16 public_key_size; + __le16 signature_size; + __le32 public_key[MPI3_PUBLIC_KEY_MAX]; }; #define MPI3_HASH_IMAGE_TYPE_KEY_WITH_SIGNATURE (0x03) @@ -228,17 +229,6 @@ struct mpi3_encrypted_hash_entry { #define MPI3_ENCRYPTION_ALGORITHM_RSA2048 (0x04) #define MPI3_ENCRYPTION_ALGORITHM_RSA4096 (0x05) #define MPI3_ENCRYPTION_ALGORITHM_RSA3072 (0x06) -#ifndef MPI3_PUBLIC_KEY_MAX -#define MPI3_PUBLIC_KEY_MAX (1) -#endif -struct mpi3_encrypted_key_with_hash_entry { - u8 hash_image_type; - u8 hash_algorithm; - u8 encryption_algorithm; - u8 reserved03; - __le32 reserved04; - __le32 public_key[MPI3_PUBLIC_KEY_MAX]; -}; #ifndef MPI3_ENCRYPTED_HASH_ENTRY_MAX #define MPI3_ENCRYPTED_HASH_ENTRY_MAX (1) |
