This is an automated email from the ASF dual-hosted git repository.

GUIDINGLI pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit a05db6ae5c9855617414199b484638ab0fd24e7e
Author: makejian <[email protected]>
AuthorDate: Fri Jul 18 17:11:38 2025 +0800

    include/nuttx/virtio/virtio-crypto.h: add the key operation request
    
    Add struct virtio_key_op_req_s, the request header for key management
    operations: command, key name length, and source and destination data
    lengths.
    
    Signed-off-by: makejian <[email protected]>
---
 include/nuttx/virtio/virtio-crypto.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/nuttx/virtio/virtio-crypto.h 
b/include/nuttx/virtio/virtio-crypto.h
index 77f80eeb086..fd02f71c9b4 100644
--- a/include/nuttx/virtio/virtio-crypto.h
+++ b/include/nuttx/virtio/virtio-crypto.h
@@ -907,4 +907,12 @@ begin_packed_struct struct virtio_crypto_op_data_req_s
     } op_flf;
 } end_packed_struct;
 
+begin_packed_struct struct virtio_key_op_req_s
+{
+  uint32_t cmd;
+  uint32_t name_len;
+  uint32_t src_data_len;
+  uint32_t dst_data_len;
+} end_packed_struct;
+
 #endif /* __INCLUDE_NUTTX_VIRTIO_VIRTIO_CRYPTO_H */

Reply via email to