mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-03-08 23:41:50 +00:00
A common complain with libSQL is how to run extensions. The main mechanism, with a .so, has a lot of issues around how those .so are distributed. The most common extensions are the ones in the sqlean package. We can improve this experience by bundling them in our sqlite build. Not all SQLean extensions are kosher: some of them, like fileio, use the vfs. Others, are deemed too complex. The extensions included here are a subset that we deem important enough, and low risk enough, to just be a part of the main bundle.
14 lines
312 B
C
14 lines
312 B
C
// Created by: Peter Tripp (@notpeter)
|
|
// Public Domain
|
|
|
|
#ifndef __BLAKE3_H__
|
|
#define __BLAKE3_H__
|
|
|
|
#include "crypto/blake3_reference_impl.h"
|
|
|
|
void* blake3_init();
|
|
void blake3_update(blake3_hasher* ctx, const unsigned char data[], size_t len);
|
|
int blake3_final(blake3_hasher* ctx, unsigned char hash[]);
|
|
|
|
#endif
|