From 94d6a8be03da307cfd781add77405e969f9a7d25 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Wed, 20 Apr 2022 11:15:43 +0000 Subject: [PATCH] `pasta_curves 0.3.1` --- CHANGELOG.md | 15 ++++++++++----- Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c56a6ad..b3b4589 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,14 +6,19 @@ and this project adheres to Rust's notion of [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [0.3.1] - 2022-04-20 ### Added -- Add `repr-c` cargo feature to facilitate FFI by conditionally adding - `repr(C)` attribute to point structures. +- `gpu` feature flag, which exposes implementations of the `GpuField` trait from + the `ec-gpu` crate for `pasta_curves::{Fp, Fq}`. This flag will eventually + control all GPU functionality. +- `repr-c` feature flag, which helps to facilitate usage of this crate's types + across FFI by conditionally adding `repr(C)` attribute to point structures. +- `pasta_curves::arithmetic::Coordinates::from_xy` ### Changed -- Add `repr(transparent)` attribute to Fp/Fq structures. -- Omit 'infinity' field from affine coordinates structures and use (0, 0) - to denote the identity points. +- `pasta_curves::{Fp, Fq}` are now declared as `repr(transparent)`, to enable + their use across FFI. They remain opaque structs in Rust code. ## [0.3.0] - 2022-01-03 ### Added diff --git a/Cargo.toml b/Cargo.toml index 38452d5..faa5b0a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pasta_curves" description = "Implementation of the Pallas and Vesta (Pasta) curve cycle" -version = "0.3.0" +version = "0.3.1" authors = [ "Sean Bowe ", "Ying Tong Lai ",