Skip to content

Releases: mirage/mirage-crypto

0.11.2

18 Sep 15:48

Choose a tag to compare

CHANGES:

0.11.1

09 Mar 13:33

Choose a tag to compare

CHANGES:

  • BUGFIX Chacha20 decrypt and encrypt with empty data (previously lead to
    segmentation fault, reported by @smondet in #172, fix in #173 by @reynir
    @hannesm), added tests with empty data for all symmetric ciphers

0.11.0

09 Feb 16:56

Choose a tag to compare

CHANGES:

  • BREAKING split mirage-crypto-rng-lwt away from mirage-crypto-rng (#168
    @hannesm, reported by @bikallem #158)
    This means, a "mirage-crypto-rng.lwt" should now be "mirage-crypto-rng-lwt"
    in your dune file (or in META requires, or in _tags).
  • AEAD API improvements: provide tag_size, of_secret, and functions that deal
    with the tag separately (#171 @hannesm, fixes #74 #144 @orbitz @anmonteiro)
    Only CCM16 (with tag size 16) is now exposed, the former API does not exist
    anymore (passing ~maclen to of_secret), according to sherlocode the only
    usage was CCM16 anyways
    This means any "Mirage_crypto.AES.CCM" should now be "Mirage_crypto.AES.CCM16"
    and any "CCM.of_secret ~maclen:16 key" should now be "CCM16.of_secret key"
    Any occurrence of "Mirage_crypto.Cipher_block.S.CCM" should now be
    "Mirage_crypto.Cipher_block.S.CCM16"
  • BREAKING unify RNG initialization (reported by @talex5 in #155, fixes #160,
    PR #162 @hannesm)
    This means:
    • "Mirage_crypto_rng_lwt.initialize ()" should now be
      "Mirage_crypto_rng_lwt.initialize (module Mirage_crypto_rng.Fortuna)"
    • "Mirage_crypto_rng_unix.initialize ()" should now be
      "Mirage_crypto_rng_unix.initialize (module Mirage_crypto_rng.Fortuna)"
  • remove mirage 3 cross-compilation runes (#163 @hannesm)
  • CI: mirage-crypto-rng-eio requires ocaml 5 and dune 2.7 (#170 @hannesm, fixes
    #169 thanks to @bikallem @talex5)
  • CI: use miage 4 (#166 @hannesm)

0.10.7

13 Sep 21:36

Choose a tag to compare

CHANGES:

  • mirage-crypto-rng-eio: new package for seeding and feeding entropy to the
    rng with eio (#155 @bikallem, @talex5, @hannesm)
  • mirage-crypto-ec: expose Dsa.byte_length (#164 @hannesm)
  • CI: various fixes (#154 #164 @hannesm)
  • mirage-crypto-rng-mirage: use 'a generator type alias
  • mirage-crypto-rng: improve setup_rng message (add async, revise lwt) (#161
    @hannesm)
  • mirage-crypto-rng-mirage: always feed the default generator (as done in
    a8c7bbd for the lwt feeding) (#161 @hannesm)
  • ec: update generated code to recent fiat-crypto (#156 @hannesm)

0.10.6

29 Mar 16:06

Choose a tag to compare

CHANGES:

  • Use _WIN32 instead of WIN32, as proposed by @jonahbeckford in #137
  • PKG_CONFIG_PATH via cygpath on Window (#150 @MisterDA)
  • ocaml-solo5 (formerly ocaml-freestanding) defines ocaml_solo5, use this
    in ifdef (arm only, #152 @hannesm)
  • mirag-crypto-rng-mirage test: require mirage-unix >= 5.0.0 (#151 @hannesm)
  • use oUnit2 as dependency, instead of oUnit (#149 @MisterDA)
  • support mipsel and mips64el compilation (#148 @glondu)
  • bugfix: define _POSIX_C_SOURCE in entropy_cpu_stubs.c (otherwise clock_gettime
    is not defined - at least on armhf) (#148 @glondu)
  • bugfix: compilation on kfreebsd-* (adding FreeBSD_kernel to ifdef)
    (#148 @glondu)

0.10.5

22 Nov 22:25

Choose a tag to compare

CHANGES:

  • mirage-crypto-ec: support point compression (#142 #147 @Zett98)

0.10.4

25 Oct 18:16

Choose a tag to compare

CHANGES:

v0.10.3

24 Jul 16:32

Choose a tag to compare

CHANGES:

  • support for s390x (#129 by @edelsohn)
  • mirage-crypto: add Hash.hmac_feed, analogous to Hash.feed (#130 by @reynir)
  • use --std=c11 in C flags, as required by upcoming OCaml multicore (#133 by
    @hannesm, review by @Engil)
  • update fiat-crypto generated code (now emitting inline attribute)
    (#132 by @hannesm)

v0.10.2

07 Jun 13:06

Choose a tag to compare

CHANGES:

  • mirage-crypto-ec: dune C stubs compilation rules: explicitely declare the
    include directory instead of listing it as a flag, so that the dependency
    is correctly tracked (#122 by @TheLortex)
  • mirage-crypto: compatibility with gcc11 (-Warray-parameters warning)
    (reported in #124 by @TheLortex, fixed in #125 by @hannesm)
  • support for 64 bit RISC-V (#127 by @edwintorok)
  • Fixed esy cross-compile CI (#126 by @EduardoRFS)

v0.10.1

25 Apr 07:13

Choose a tag to compare

CHANGES:

  • mirage-crypto-ec: make inversion run in constant time (#121 by @dfaranha)