lib_rats_wrapper.h 341 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) 2022 Intel Corporation
  3. * Copyright (c) 2020-2021 Alibaba Cloud
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. */
  7. #ifndef _RATS_WAMR_API_H
  8. #define _RATS_WAMR_API_H
  9. #include <stdint.h>
  10. char *
  11. librats_collect(const uint8_t *hash);
  12. int
  13. librats_verify(const char *json_string, const uint8_t *hash);
  14. #endif