Commit Graph

12 Commits

Author SHA1 Message Date
diegomrsantos d4e2f555c8
gcc 14 support (#62)
* rsaKeygenGetDefault test

* add ubuntu 24 and gcc 14 to ci

* use PrngClassPointerConst for rsa keygen

* fix test_brssl

* add comment about ubuntu 24

* define and use ConstPtrPtrHashClass

* remove previous ecKeygen

* remove previous x509NoanchorInit

* improve test

* add ecKeygen test

* add x509NoanchorInit test

* remove commented code

* rename target to linux-gcc-14

* test already exists

* fix tests
2024-07-18 18:50:24 +03:00
Eugene Kabanov a806cbfab5
Release 023 (#59)
* Fix compilation warning in tests.

* Release 0.2.3.
2024-06-02 16:55:11 +03:00
Jacek Sieka 917b7274f9
work around C++ linking issue (#50)
* test c++ support, work around linking issue

* fix imports, don't test C++ after all
2023-08-16 12:47:15 +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 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
Ș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
jangko 5131fd9e53
add github action script 2021-01-13 11:21:32 +07: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
Yuriy Glukhov 6e9ea2e77a
Initial commit (copied from nim-libp2p) 2019-09-30 21:23:06 +03:00