pub unsafe extern "C" fn s2n_async_pkey_op_set_output(
    op: *mut s2n_async_pkey_op,
    data: *const u8,
    data_len: u32
) -> c_int
Expand description

Sets the output of the private key operation.

Safety

  • s2n-tls does not take ownership of data. The application still owns the memory and must free it if necessary.

@param op An opaque object representing the private key operation @param data A pointer to a buffer containing the output @param data_len The size of the data buffer