EVP_PKEY_copy_parameters function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<EVP_PKEY>, Pointer<EVP_PKEY>)>(ffi.Pointer<EVP_PKEY>, ffi.Pointer<EVP_PKEY>)>(symbol: 'bssl_dart_EVP_PKEY_copy_parameters')
int EVP_PKEY_copy_parameters(
  1. Pointer<EVP_PKEY> to,
  2. Pointer<EVP_PKEY> from
)

EVP_PKEY_copy_parameters sets the parameters of |to| to equal the parameters of |from|. It returns one on success and zero on error.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<EVP_PKEY>, ffi.Pointer<EVP_PKEY>)>(
  symbol: 'bssl_dart_EVP_PKEY_copy_parameters',
)
external int EVP_PKEY_copy_parameters(
  ffi.Pointer<EVP_PKEY> to,
  ffi.Pointer<EVP_PKEY> from,
);