Skip to content

Commit

Permalink
Version 0.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vsoftco committed Aug 26, 2022
1 parent e0f759d commit c611526
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .config/liboqs.pc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ LIBOQS_LIB_DIR=/usr/local/lib

Name: liboqs
Description: C library for quantum resistant cryptography
Version: 0.5.0-dev
Version: 0.7.2
Cflags: -I${LIBOQS_INCLUDE_DIR}
Ldflags: '-extldflags "-Wl,-stack_size -Wl,0x1000000"'
Libs: -L${LIBOQS_LIB_DIR} -loqs
2 changes: 1 addition & 1 deletion .config/liboqs.pc.linux
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ LIBOQS_LIB_DIR=/usr/local/lib

Name: liboqs
Description: C library for quantum resistant cryptography
Version: 0.5.0-dev
Version: 0.7.2
Cflags: -I${LIBOQS_INCLUDE_DIR}
Ldflags: '-extldflags "-Wl,-stack_size -Wl,0x1000000"'
Libs: -L${LIBOQS_LIB_DIR} -loqs
2 changes: 1 addition & 1 deletion .config/liboqs.pc.win64
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ LIBOQS_LIB_DIR=C:/liboqs/build/lib

Name: liboqs
Description: C library for quantum resistant cryptography
Version: 0.5.0-dev
Version: 0.7.2
Cflags: -I${LIBOQS_INCLUDE_DIR}
Ldflags: '-extldflags "-Wl,-stack_size -Wl,0x1000000"'
Libs: -L${LIBOQS_LIB_DIR} -loqs
4 changes: 4 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 0.7.2 - August 26, 2022
- Added liboqs library version retrieval function
LiboqsVersion() string

Version 0.7.1 - January 5, 2022
- Release numbering updated to match liboqs
- Switched continuous integration from Travis CI to CircleCI, we now
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019-2021 Open Quantum Safe
Copyright (c) 2019-2022 Open Quantum Safe

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ and [Michele Mosca](http://faculty.iqc.uwaterloo.ca/mmosca/) at the University
of Waterloo.

liboqs-go was developed by [Vlad Gheorghiu](http://vsoftco.github.io) at
evolutionQ and University of Waterloo.
softwareQ Inc. and University of Waterloo.

### Support

Expand All @@ -376,7 +376,7 @@ Amazon Web Services and the Canadian Centre for Cyber Security.

We'd like to make a special acknowledgement to the companies who have dedicated
programmer time to contribute source code to OQS, including Amazon Web Services,
evolutionQ, and Microsoft Research.
evolutionQ, softwareQ, and Microsoft Research.

Research projects which developed specific components of OQS have been supported
by various research grants, including funding from the Natural Sciences and
Expand Down
11 changes: 5 additions & 6 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
liboqs-go version 0.7.1
liboqs-go version 0.7.2
=======================

About
Expand All @@ -13,15 +13,14 @@ The **Open Quantum Safe (OQS) project** has the goal of developing and prototypi
Release notes
=============

This release of liboqs-go was released on January 5, 2022. Its release page on GitHub is https://github.com/open-quantum-safe/liboqs-go/releases/tag/0.7.1.
This release of liboqs-go was released on August 26, 2022. Its release page on
GitHub is https://github.com/open-quantum-safe/liboqs-go/releases/tag/0.7.2.

What's New
----------

This is the ninth release of liboqs-go.
This is the 10th release of liboqs-go.

This is an incremental minor change release.

For a list of changes
see [CHANGES.txt](https://github.com/open-quantum-safe/liboqs-go/blob/main/CHANGES.txt)
.
For a list of changes see [CHANGES.txt](https://github.com/open-quantum-safe/liboqs-go/blob/main/CHANGES.txt).
1 change: 1 addition & 0 deletions examples/kem/kem.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
)

func main() {
fmt.Println("liboqs version: " + oqs.LiboqsVersion())
fmt.Println("Enabled KEMs:")
fmt.Println(oqs.EnabledKEMs())

Expand Down
2 changes: 2 additions & 0 deletions examples/rand/rand.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package main

import (
"fmt"
"github.com/open-quantum-safe/liboqs-go/oqs"
"log"
"runtime"

Expand All @@ -26,6 +27,7 @@ func main() {
if err := oqsrand.RandomBytesNistKatInit256bit(entropySeed, nil); err != nil {
log.Fatal(err)
}
fmt.Println("liboqs version: " + oqs.LiboqsVersion())
fmt.Printf("%-18s% X\n", "NIST-KAT: ", oqsrand.RandomBytes(32))

if err := oqsrand.RandomBytesCustomAlgorithm(CustomRNG); err != nil {
Expand Down
1 change: 1 addition & 0 deletions examples/sig/sig.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
)

func main() {
fmt.Println("liboqs version: " + oqs.LiboqsVersion())
fmt.Println("Enabled signatures:")
fmt.Println(oqs.EnabledSigs())

Expand Down
5 changes: 5 additions & 0 deletions oqs/oqs.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ import (

/**************** Misc functions ****************/

// LiboqsVersion retrieves the underlying liboqs version string.
func LiboqsVersion() string {
return C.GoString(C.OQS_version())
}

// MemCleanse sets to zero the content of a byte slice by invoking the liboqs
// OQS_MEM_cleanse() function. Use it to clean "hot" memory areas, such as
// secret keys etc.
Expand Down

0 comments on commit c611526

Please sign in to comment.