hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/include/uapi/linux/virtio_crypto.h
....@@ -414,33 +414,33 @@
414414
415415 struct virtio_crypto_config {
416416 /* See VIRTIO_CRYPTO_OP_* above */
417
- __u32 status;
417
+ __le32 status;
418418
419419 /*
420420 * Maximum number of data queue
421421 */
422
- __u32 max_dataqueues;
422
+ __le32 max_dataqueues;
423423
424424 /*
425425 * Specifies the services mask which the device support,
426426 * see VIRTIO_CRYPTO_SERVICE_* above
427427 */
428
- __u32 crypto_services;
428
+ __le32 crypto_services;
429429
430430 /* Detailed algorithms mask */
431
- __u32 cipher_algo_l;
432
- __u32 cipher_algo_h;
433
- __u32 hash_algo;
434
- __u32 mac_algo_l;
435
- __u32 mac_algo_h;
436
- __u32 aead_algo;
431
+ __le32 cipher_algo_l;
432
+ __le32 cipher_algo_h;
433
+ __le32 hash_algo;
434
+ __le32 mac_algo_l;
435
+ __le32 mac_algo_h;
436
+ __le32 aead_algo;
437437 /* Maximum length of cipher key */
438
- __u32 max_cipher_key_len;
438
+ __le32 max_cipher_key_len;
439439 /* Maximum length of authenticated key */
440
- __u32 max_auth_key_len;
441
- __u32 reserve;
440
+ __le32 max_auth_key_len;
441
+ __le32 reserve;
442442 /* Maximum size of each crypto request's content */
443
- __u64 max_size;
443
+ __le64 max_size;
444444 };
445445
446446 struct virtio_crypto_inhdr {