You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a lot of functions and structures were renamed to avoid namespaces conflicts you can check in
patchs dir
some cast were added to make code valid in C++ and C
The flag BR_ENABLE_INTRINSICS its set to 1 by default to allow single unit compilation
Micro Client Example
just for testing , you have in micro_client_sample a micro https client example, put the
BearSSLSingleUnitOne.c in the same folder and
you can compile with:
gcc micro_client_sample/main.c -o client.o
and you can test with
./client.o example.com 443
Note that these example was taken from the original BearrSSL samples page
and the BearSSLTrustedAnchors.h
was taken from the oficial arduino Github Organization
Building From Scratch
if you want to build the hole project from scracth you must have
diff,patch and Darwin on version 0.016
clone the repon and type:
darwin run_blueprint --mode folder build/ update_bear create_patch build generate_release
the build code its located in build and uses Darwin on blueprint mode to build the project