diff options
| author | Harald Freudenberger <freude@linux.ibm.com> | 2026-03-18 17:41:33 +0100 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2026-03-24 21:00:42 +0100 |
| commit | 2a0a1db5081df02d6753deb1826fd3932a1ab168 (patch) | |
| tree | ebb5140c288f42c5aca1350877a14fdf79c2a91b /scripts/basic | |
| parent | 0e72b785b60e2a33f7bfe1c492f0717e7835b9a4 (diff) | |
s390/zcrypt: Slight rework on the agent_id field
The agent_id field is a two byte ascii field addressing
the target agent on the crypto card. Some code however
addresses this field as unsigned short. Rework these
places to treat this field always as a two byte array.
Unfortunately this field also shows up as __u16 in
struct ica_xcRB as part of the zcrypt ioctl interface.
Leave this untouched as it would break the API.
There are two other places (func_id) where a byte array
gets assigned with hex values but in fact these are ascii
value. So replace these assignments with real ascii values
for more readability.
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
