Ivan Yonchovski
f4c4233de4
Add setup files
2022-07-25 22:05:58 +03:00
Jacek Sieka
25009951ff
rsa: import intx ( #35 )
2022-07-18 07:17:12 +02:00
Jacek Sieka
1e9b702650
brssl: c2nim-generated spelling ( #33 )
...
* generate brssl.nim with regenerate.sh as well
2022-07-07 18:47:59 +02:00
Miran
32e125015a
move -d:nimRawSetjmp
to config.nims ( #30 )
...
* move `-d:nimRawSetjmp` to config.nims
Refs https://github.com/status-im/nimbus-build-system/issues/44
* not vcc
* use .cfg not .nims
2022-06-24 20:09:29 +02:00
Jacek Sieka
2631f8473d
cross-compile-compatible paths ( #31 )
2022-06-24 20:09:06 +02:00
Jacek Sieka
4ba7f13372
pem: convenience API ( #29 )
2022-06-16 16:50:54 +02:00
Jacek Sieka
f0ea93f77e
rand: convenience API ( #28 )
...
Helpers to generate random numbers, including simple Nim types
* disable C++ tests
* there are too many `const` vs `non-const` issues to run these tests -
C++ never actually worked
* add generateBytes to make fresh seqs
Co-authored-by: Mamy Ratsimbazafy <mamy_github@numforge.co>
Co-authored-by: Etan Kissling <etan@status.im>
2022-06-15 22:53:40 +02:00
Jacek Sieka
c4aec8b664
split decls into separate modules in bearssl/abi
( #27 )
...
* split `decls.nim` into smaller modules - allows using parts of the ABI
without compiling all of `bearssl`
* deprecate functions with `Br` prefix - there are duplicate exports
both with and without `Br` for the same function and we use both in
consumers like `chronos` and `libp2p`
* fix several cases of incorrectly mapped types
* use `var` for certain arguments that can't be `nil`
* add script to regenerate ABI with `c2nim`
* consistently use `uint` for length (`int` was sometimes used)
The Split likely needs more cleanup work - this is a first cut to get
the idea in place.
In the new layout, `bearssl/abi/` contains "raw" nim mappings while
hand-written helpers are in `bearssl/`.
2022-06-14 19:33:00 +02:00
Zahary Karadjov
0ebb1d7a4a
Add a Nimble lock file
2022-04-14 18:08:54 +03:00
Zahary Karadjov
65b74302e0
Fix a submodule URL (otherwise, cloning was failing on a fresh Windows installation)
2022-03-04 13:29:44 +02:00
jangko
450a0d1007
add rsa_pss sign and vrfy FFI
2022-03-02 17:06:59 +07:00
Ștefan Talpalaru
ba80e2a0d7
CI: cleanup
2021-12-14 03:22:42 +01:00
Ștefan Talpalaru
b39f3d2975
CI: test with multiple Nim versions ( #24 )
...
* CI: test with multiple Nim versions
and add a real test
2021-12-12 00:01:56 +01:00
Jacek Sieka
9ca2e9fe87
Merge pull request #23 from status-im/stylecheck-usages
...
enable --stylecheck:usages
2021-12-10 10:54:33 +01:00
Jacek Sieka
5b70350dcb
enable --stylecheck:usages
2021-12-10 10:03:30 +01:00
Jacek Sieka
dc62f4fccd
Merge pull request #20 from narimiran/cuchar-fix
...
fix type mismatch
2021-06-07 13:46:10 +02:00
Ștefan Talpalaru
ba68572fde
CI: simplify Nim compiler caching ( #19 )
2021-06-03 03:02:00 +02:00
narimiran
1a0401d6d0
fix type mismatch
2021-05-20 08:28:46 +02:00
Eugene Kabanov
0a7401ad46
Bump bundled cacert.pem to version generated at Tue Jan 19 04:12:04 2021 GMT. ( #18 )
2021-02-24 14:23:05 +02:00
Mamy Ratsimbazafy
8dd9a83550
Use bearSSL mirror + update to latest ( #17 )
...
* Change submodule source to our mirror
* Update to latest commit
* check if nimble fetches submodules
* install everything
* revert
7429ecb and e91fd5a
2021-02-24 12:01:45 +01:00
Ștefan Talpalaru
5f226c97ec
enable cross-compilation
2021-02-03 13:03:54 +07:00
andri lim
eebf730ccd
Merge pull request #14 from status-im/github_action
...
add github action script
2021-01-13 13:14:14 +07:00
jangko
5131fd9e53
add github action script
2021-01-13 11:21:32 +07:00
Eugene Kabanov
ba5f468798
Fix BR_UNALIGNED define for ARM architectures. ( #11 )
...
* Fix BR_UNALIGNED define for ARM architectures.
2020-07-28 03:09:59 +03:00
Eugene Kabanov
33b2303fc3
Merge pull request #10 from status-im/update-upstream
...
Update BearSSL to upstream version.
2020-07-06 16:25:59 +03:00
cheatfate
97910ecd7b
Update BearSSL to upstream version.
...
Update Mozilla certificates to 2020-06-24 version.
2020-07-06 16:22:05 +03:00
Jacek Sieka
108f580d95
Merge pull request #9 from nikitinator/master
...
update minimum required nim version
2020-07-06 11:54:52 +02:00
nikitincrime
a0380527f7
update minimum required nim version
...
7d2a18115b
here you use c_sizet, that was added in nim 1.2
2020-07-06 12:29:16 +03:00
Jacek Sieka
7d2a18115b
add brHmacDrbgGenerate
2020-07-04 10:20:47 +02:00
Jacek Sieka
68c6d27304
fix raises in imported C functions
2020-04-06 21:08:18 +03:00
cheatfate
924fb6cad1
Fix path handling for compilation targets.
...
Bump version to 0.1.5.
2020-03-08 20:28:15 +02:00
cheatfate
8a9503b6df
Update BearSSL to latest version.
...
Update CA certificates to 2020-01-01.
Bump version to 0.1.4.
2020-02-14 12:29:54 +02:00
Yuriy Glukhov
02c575c844
Merge pull request #5 from status-im/effect-annotations
...
More rigorous effect annotations for all imported procs
2019-12-07 18:13:32 +02:00
Zahary Karadjov
c8e89349bc
More rigorous effect annotations for all imported procs
2019-12-07 15:40:03 +02:00
cheatfate
62414b0bdd
Missed actual fix.
2019-11-06 13:39:43 +02:00
cheatfate
2dd31d892a
Fix test1.nim compilation warning.
...
Bump to 0.1.3
2019-11-06 13:35:31 +02:00
cheatfate
b67ae9534d
Fix compilation warnings.
...
Bump version to 0.1.2.
2019-11-06 13:15:07 +02:00
cheatfate
ca3bafb85d
Fix [GcUnsafe2] problems for consumers of this library.
...
Bump version to 0.1.1.
2019-11-06 12:56:28 +02:00
cheatfate
993372dd78
Fix nimble installation instructions.
2019-10-23 11:27:04 +03:00
cheatfate
3279827272
Fix appveyor.
...
Comment travis arm64 because of non-related failure.
Remove sudo requirement from x86 travis.
2019-10-23 11:23:33 +03:00
Zahary Karadjov
f6133ec47d
Better gcsafety
2019-10-18 14:12:57 +03:00
Ștefan Talpalaru
d6eeb5dd4a
Merge branch 'ARM64'
2019-10-17 19:00:37 +02:00
Ștefan Talpalaru
52590023bc
ARM64 support
2019-10-17 18:03:09 +02:00
Yuriy Glukhov
80d28b8fe2
Merge pull request #1 from status-im/compat
...
Adjustments.
2019-10-08 12:36:30 +03:00
cheatfate
3552a8abfa
Rename BearSslError to SSLError.
2019-10-08 12:31:04 +03:00
cheatfate
134cadf55b
Move all declarations from root file to decls.nim
...
Fix some declarations (e.g. size_t and pointer types).
Add Mozilla ca certificates store.
Add SSL error messages.
2019-10-07 20:57:40 +03:00
Yuriy Glukhov
a421f9e96e
Fixed output field, changed old types to aliases
2019-10-07 16:15:01 +03:00
Yuriy Glukhov
d7d5df8e9a
Added missing bits to support ssl (borrowed from Araq lib)
2019-10-07 15:44:30 +03:00
Yuriy Glukhov
cc5832f66b
Added CI configs
2019-09-30 21:26:59 +03:00
Yuriy Glukhov
6e9ea2e77a
Initial commit (copied from nim-libp2p)
2019-09-30 21:23:06 +03:00