CBS_mem_equal function
CBS_mem_equal compares the current contents of |cbs| with the |len| bytes starting at |data|. If they're equal, it returns one, otherwise zero. If the lengths match, it uses a constant-time comparison.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Int Function(ffi.Pointer<CBS>, ffi.Pointer<ffi.Uint8>, ffi.Size)
>(symbol: 'bssl_dart_CBS_mem_equal')
external int CBS_mem_equal(
ffi.Pointer<CBS> cbs,
ffi.Pointer<ffi.Uint8> data,
int len,
);