EC_KEY_dup_ref function

  1. @RecordUse.new()
  2. @Native<Pointer<EC_KEY> Function(Pointer<EC_KEY> src)>(ffi.Pointer<EC_KEY>)>(symbol: 'bssl_dart_EC_KEY_dup_ref')
Pointer<EC_KEY> EC_KEY_dup_ref(
  1. Pointer<EC_KEY> key
)

EC_KEY_dup_ref increases the reference count of key and returns the same handle. It does not mutate key for thread-safety purposes and may be used concurrently.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Pointer<EC_KEY> Function(ffi.Pointer<EC_KEY>)>(
  symbol: 'bssl_dart_EC_KEY_dup_ref',
)
external ffi.Pointer<EC_KEY> EC_KEY_dup_ref(
  ffi.Pointer<EC_KEY> key,
);