Skip to content

Commit

Permalink
Release 3.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leif-ibsen committed Apr 20, 2023
1 parent 55493f0 commit 55f34dd
Show file tree
Hide file tree
Showing 79 changed files with 148 additions and 132 deletions.
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ let package = Package(
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/leif-ibsen/ASN1", from: "2.0.2"),
.package(url: "https://github.com/leif-ibsen/BigInt", from: "1.6.0"),
.package(url: "https://github.com/leif-ibsen/BigInt", from: "1.11.0"),
.package(url: "https://github.com/leif-ibsen/ASN1", from: "2.1.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "SwiftECC",
dependencies: ["ASN1", "BigInt"]),
dependencies: ["BigInt", "ASN1"]),
.testTarget(
name: "SwiftECCTests",
dependencies: ["SwiftECC"]),
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This encompasses:
In your project Package.swift file add a dependency like<br/>

dependencies: [
.package(url: "https://github.com/leif-ibsen/SwiftECC", from: "3.5.3"),
.package(url: "https://github.com/leif-ibsen/SwiftECC", from: "3.6.0"),
]
SwiftECC requires Swift 5.0. It also requires that the Int and UInt types be 64 bit types.
SwiftECC uses Apple's CryptoKit framework. Therefore, for macOS the version must be at least 10.15,
Expand Down Expand Up @@ -590,8 +590,8 @@ was measured on an iMac 2021, Apple M1 chip. The results are shown in the table
The SwiftECC package depends on the ASN1 and BigInt packages

dependencies: [
.package(url: "https://github.com/leif-ibsen/ASN1", from: "2.0.2"),
.package(url: "https://github.com/leif-ibsen/BigInt", from: "1.6.0"),
.package(url: "https://github.com/leif-ibsen/ASN1", from: "2.1.0"),
.package(url: "https://github.com/leif-ibsen/BigInt", from: "1.11.0"),
],

<h2 id="ref"><b>References</b></h2>
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/Base64Test.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC

class Base64Test: XCTestCase {

Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/BlueTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC

/*
Test compatibility with IBM's BlueECC product.
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/BrainpoolTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC
import BigInt

class BrainpoolTest: XCTestCase {
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/CipherTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC

class CipherTest: XCTestCase {

Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/CryptoKitTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC
import CryptoKit

// Test compatibility with Swift CryptoKit
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/DomainTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC
import BigInt

// Test all predefined domains
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/ECDHTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC
import BigInt

class ECDHTest: XCTestCase {
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/EciesAESGCMTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC

final class EciesAESGCMTest: XCTestCase {

Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/EciesChaChaTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC

class EciesChaChaTest: XCTestCase {

Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/EciesTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC

class EciesTest: XCTestCase {

Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/ExceptionTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC
import ASN1
import BigInt

Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/FuzzTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC
import BigInt
import ASN1

Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/GCMTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC

class GCMTest: XCTestCase {

Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/HMACTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC

// Test vectors from RFC 2202 and RFC 4231

Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/KeysEncryptedTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC
import BigInt

class KeysEncryptedTest: XCTestCase {
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/KeysTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC
import ASN1

class KeysTest: XCTestCase {
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/PEMTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC

class PEMTest: XCTestCase {

Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/PointTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC
import BigInt

// Test point encoding and decoding
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/SHA2Test.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC

class SHA2Test: XCTestCase {

Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/SignatureDetTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC
import BigInt

class SignatureDetTest: XCTestCase {
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/SignatureTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC

class SignatureTest: XCTestCase {

Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/Test29.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC
import BigInt

// Test a home made prime characteristic domain - Guide to Elliptic Curve Cryptography - example 3.5
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/Test4.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC
import BigInt

// Test a home made characteristic 2 domain - Guide to Elliptic Curve Cryptography - example 3.6
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftECCTests/VerifyTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC
import BigInt

class VerifyTest: XCTestCase {
Expand Down
9 changes: 0 additions & 9 deletions Tests/SwiftECCTests/XCTestManifests.swift

This file was deleted.

1 change: 1 addition & 0 deletions Tests/SwiftECCTests/ZTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import XCTest
@testable import SwiftECC
import BigInt

// Test the twisted brainpool domains
Expand Down
6 changes: 3 additions & 3 deletions docs/Classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="Classes Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="index.html"> Docs</a> (100% documented)</p>
<p><a href="index.html">SwiftECC Docs</a> (100% documented)</p>
<div class="header-right">
<form role="search" action="search.json">
<input type="text" placeholder="Search documentation" data-typeahead>
Expand All @@ -27,7 +27,7 @@
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="index.html"> Reference</a>
<a href="index.html">SwiftECC Reference</a>
<img id="carat" src="img/carat.png" alt=""/>
Classes Reference
</p>
Expand Down Expand Up @@ -227,7 +227,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2023 <a class="link" href="" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2023-01-17)</p>
<p>&copy; 2023 <a class="link" href="" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2023-04-19)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
6 changes: 3 additions & 3 deletions docs/Classes/Domain.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="Domain Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html"> Docs</a> (100% documented)</p>
<p><a href="../index.html">SwiftECC Docs</a> (100% documented)</p>
<div class="header-right">
<form role="search" action="../search.json">
<input type="text" placeholder="Search documentation" data-typeahead>
Expand All @@ -27,7 +27,7 @@
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="../index.html"> Reference</a>
<a href="../index.html">SwiftECC Reference</a>
<img id="carat" src="../img/carat.png" alt=""/>
Domain Class Reference
</p>
Expand Down Expand Up @@ -1837,7 +1837,7 @@ <h4>Return Value</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2023 <a class="link" href="" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2023-01-17)</p>
<p>&copy; 2023 <a class="link" href="" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2023-04-19)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
6 changes: 3 additions & 3 deletions docs/Classes/ECPrivateKey.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="ECPrivateKey Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html"> Docs</a> (100% documented)</p>
<p><a href="../index.html">SwiftECC Docs</a> (100% documented)</p>
<div class="header-right">
<form role="search" action="../search.json">
<input type="text" placeholder="Search documentation" data-typeahead>
Expand All @@ -27,7 +27,7 @@
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="../index.html"> Reference</a>
<a href="../index.html">SwiftECC Reference</a>
<img id="carat" src="../img/carat.png" alt=""/>
ECPrivateKey Class Reference
</p>
Expand Down Expand Up @@ -1656,7 +1656,7 @@ <h4>Return Value</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2023 <a class="link" href="" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2023-01-17)</p>
<p>&copy; 2023 <a class="link" href="" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2023-04-19)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
6 changes: 3 additions & 3 deletions docs/Classes/ECPublicKey.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="ECPublicKey Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html"> Docs</a> (100% documented)</p>
<p><a href="../index.html">SwiftECC Docs</a> (100% documented)</p>
<div class="header-right">
<form role="search" action="../search.json">
<input type="text" placeholder="Search documentation" data-typeahead>
Expand All @@ -27,7 +27,7 @@
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="../index.html"> Reference</a>
<a href="../index.html">SwiftECC Reference</a>
<img id="carat" src="../img/carat.png" alt=""/>
ECPublicKey Class Reference
</p>
Expand Down Expand Up @@ -1112,7 +1112,7 @@ <h4>Return Value</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2023 <a class="link" href="" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2023-01-17)</p>
<p>&copy; 2023 <a class="link" href="" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2023-04-19)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
6 changes: 3 additions & 3 deletions docs/Classes/ECSignature.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="ECSignature Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html"> Docs</a> (100% documented)</p>
<p><a href="../index.html">SwiftECC Docs</a> (100% documented)</p>
<div class="header-right">
<form role="search" action="../search.json">
<input type="text" placeholder="Search documentation" data-typeahead>
Expand All @@ -27,7 +27,7 @@
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="../index.html"> Reference</a>
<a href="../index.html">SwiftECC Reference</a>
<img id="carat" src="../img/carat.png" alt=""/>
ECSignature Class Reference
</p>
Expand Down Expand Up @@ -424,7 +424,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2023 <a class="link" href="" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2023-01-17)</p>
<p>&copy; 2023 <a class="link" href="" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2023-04-19)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
Loading

0 comments on commit 55f34dd

Please sign in to comment.