#pragma once /** * @brief Cartallum CBE Blake3 system call */ #include #ifdef __cplusplus extern "C" { #endif /** * Length of a Blake3 hash result */ #define BLAKE3_RESULT_LENGTH 32 /** * Blake3 * * @param bytes Array of byte arrays * @param bytes_len Number of byte arrays * @param result 32 byte array to hold the result */ /* DO NOT MODIFY THIS GENERATED FILE. INSTEAD CHANGE sdk/bpf/c/inc/cbe/inc/blake3.inc AND RUN `cargo run --bin gen-headers` */ #ifndef CBE_SBFV2 uint64_t cbe_blake3(const CBEBytes *, int, const uint8_t *); #else typedef uint64_t(*cbe_blake3_pointer_type)(const CBEBytes *, int, const uint8_t *); static uint64_t cbe_blake3(const CBEBytes * arg1, int arg2, const uint8_t * arg3) { cbe_blake3_pointer_type cbe_blake3_pointer = (cbe_blake3_pointer_type) 390877474; return cbe_blake3_pointer(arg1, arg2, arg3); } #endif #ifdef __cplusplus } #endif /**@}*/