Skip to content

Commit

Permalink
license references added (issue #4)
Browse files Browse the repository at this point in the history
  • Loading branch information
baentsch committed Feb 3, 2021
1 parent 6c67e07 commit d6223cb
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 51 deletions.
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT license, the text of which is below, applies to oqs-provider in general.

Copyright (c) 2016-2021 Open Quantum Safe project

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[CircleCI](https://circleci.com/gh/open-quantum-safe/oqs-provider/tree/main): ![Build status image](https://circleci.com/gh/open-quantum-safe/oqs-provider/tree/main.svg?style=svg)
[![oqs-provider](https://circleci.com/gh/open-quantum-safe/oqs-provider.svg?style=svg)](https://app.circleci.com/pipelines/github/open-quantum-safe/oqs-provider)

oqsprovider - Open Quantum Safe provider for OpenSSL (3.0)
==========================================================
Expand All @@ -25,6 +25,7 @@ the OpenSSL EVP interface. For information about the available OQS algorithms,
[refer to the OQS-OpenSSL documentation](https://github.com/open-quantum-safe/openssl#supported-algorithms).

Open work items are
- (CI) Testing on platforms other than Ubuntu 18.04 (x86_64)
- fully TLS-integrated quantum-safe signatures
- hybrid quantum-safe cryptography

Expand Down
13 changes: 2 additions & 11 deletions oqsprov/oqs_kem.c
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
// SPDX-License-Identifier: Apache-2.0 AND MIT

/*
* OQS OpenSSL 3 provider
*
* Code strongly inspired by OpenSSL rsa kem.
*
* TBC: OQS license
*
* ToDo: Adding hybrid alg support; More testing with more key types.
*/

/*
* Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/

#include <openssl/crypto.h>
#include <openssl/evp.h>
#include <openssl/core_dispatch.h>
Expand Down
15 changes: 3 additions & 12 deletions oqsprov/oqs_kmgmt.c
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
// SPDX-License-Identifier: Apache-2.0 AND MIT

/*
* OQS OpenSSL 3 provider
*
* Code strongly inspired by OpenSSL ecx key management.
*
* TBC: OQS license
*
* ToDo: Optimize macros; generate OQS-constants; testing in regular provider test harness
*/

/*
* Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
* ToDo: More testing in non-KEM cases
*/

#include <assert.h>
Expand Down
16 changes: 3 additions & 13 deletions oqsprov/oqs_sig.c
Original file line number Diff line number Diff line change
@@ -1,27 +1,17 @@
// SPDX-License-Identifier: Apache-2.0 AND MIT

/*
* OQS OpenSSL 3 provider
*
* Code strongly inspired by OpenSSL DSA signature provider.
*
* TBC: OQS license
* ToDo: Go beyone EVP use cases/testing
*
* ToDo: Everything: This is just a template that needs to be completed with
* OQS calls.
* Significant hurdle: Signature providers of new algorithms are not utilized
* properly in OpenSSL3 yet -> Integration won't be seamless and probably
* requires quite some (upstream) OpenSSL3 dev investment.
*/

/*
* Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/


#include "oqs/sig.h"

#include <string.h>
Expand Down
13 changes: 2 additions & 11 deletions oqsprov/oqsprov.c
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
// SPDX-License-Identifier: Apache-2.0 AND MIT

/*
* OQS OpenSSL 3 provider
*
* Code strongly inspired by OpenSSL legacy provider.
*
* TBC: License banner
*
* ToDo: encoder/decoders
*/

/*
* Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/

#include <string.h>
#include <stdio.h>
#include <openssl/core.h>
Expand Down
4 changes: 2 additions & 2 deletions oqsprov/oqsprov_groups.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// SPDX-License-Identifier: Apache-2.0 AND MIT

/*
* OQS OpenSSL 3 provider
*
* Code strongly inspired by OpenSSL common provider capabilities.
*
* TBC: OQS license
*
* ToDo: Interop testing.
*/

Expand Down
4 changes: 3 additions & 1 deletion oqsprov/oqsprov_keys.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
// SPDX-License-Identifier: Apache-2.0 AND MIT

/*
* OQS OpenSSL 3 key handler.
*
* Code strongly inspired by OpenSSL crypto/ec key handler but relocated here
* to have code within provider.
*
* TBC: OQS license
* TBC: Use/test in more than KEM and SIG cases.
*/

#include <openssl/err.h>
Expand Down
2 changes: 2 additions & 0 deletions oqsprov/oqsx.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0 AND MIT

/*
* OQS OpenSSL 3 key handler.
*
Expand Down

0 comments on commit d6223cb

Please sign in to comment.