Skip to content

Commit

Permalink
Merge branch 'release/v0.16.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeySeroshtan committed Jul 23, 2022
2 parents a2630c7 + 369369c commit be6cde0
Show file tree
Hide file tree
Showing 2,142 changed files with 2,249 additions and 2,160 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: build
on: [push]
jobs:
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Configure toolchain
run: |
cmake --version
python3 --version
pip3 install protobuf grpcio-tools
- name: Configure project
run: >
cmake -S. -Bbuild
-DVIRGIL_C_MT_TESTING=ON
-DENABLE_BENCHMARKING=ON
-DVIRGIL_PROGRAMS=ON
- name: Build project
run: cmake --build build -- -j$(sysctl -n hw.physicalcpu)
- name: Run tests
run: ctest --output-on-failure
working-directory: build
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release
on:
push:
tags: "*"

jobs:
release-apple-xcframeworks:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Configure toolchain
run: |
cmake --version
python3 --version
pip3 install protobuf grpcio-tools
- name: Build Frameworks
run: ./scripts/build_apple_frameworks.sh
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
files: ./build_apple/VSCFrameworks/*.xcframework.zip
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down Expand Up @@ -34,7 +34,7 @@

cmake_minimum_required(VERSION 3.12 FATAL_ERROR)

project(virgil_crypto VERSION 0.16.0 LANGUAGES C)
project(virgil_crypto VERSION 0.16.1 LANGUAGES C)


# ---------------------------------------------------------------------------
Expand Down
7 changes: 7 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# virgil-crypto-c ChangeLog (Sorted by date)

## Version 0.16.1 released 2022-07-21

### Improvements

- Packages: Added specs for Carthage binary distribution


## Version 0.16.0 released 2021-07-25

### Features
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2015-2021 Virgil Security, Inc.
Copyright (C) 2015-2022 Virgil Security, Inc.

All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.16.0
0.16.1
4 changes: 2 additions & 2 deletions VSCCrypto.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "VSCCrypto"
s.version = "0.16.0"
s.version = "0.16.1"
s.license = { :type => "BSD", :file => "VSCCrypto-XCFrameworks/LICENSE" }
s.summary = "Contains basic c functions classes for creating key pairs, encrypting/decrypting data, signing data and verifying signatures."
s.homepage = "https://github.com/VirgilSecurity/virgil-crypto-c"
s.authors = { "Virgil Security" => "https://virgilsecurity.com/" }
s.source = { :http => "https://github.com/VirgilSecurity/virgil-crypto-c/releases/download/v0.16.0/VSCCrypto.xcframework.zip" }
s.source = { :http => "https://github.com/VirgilSecurity/virgil-crypto-c/releases/download/v0.16.1/VSCCrypto.xcframework.zip" }
s.ios.deployment_target = "9.0"
s.osx.deployment_target = "10.9"
s.tvos.deployment_target = "9.0"
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/foundation/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/foundation/benchmark_hash.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2015-2021 Virgil Security, Inc.
// Copyright (C) 2015-2022 Virgil Security, Inc.
//
// All rights reserved.
//
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/foundation/benchmark_kem.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2015-2021 Virgil Security, Inc.
// Copyright (C) 2015-2022 Virgil Security, Inc.
//
// All rights reserved.
//
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/foundation/benchmark_key.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2015-2021 Virgil Security, Inc.
// Copyright (C) 2015-2022 Virgil Security, Inc.
//
// All rights reserved.
//
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/foundation/benchmark_recipient_cipher.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2015-2021 Virgil Security, Inc.
// Copyright (C) 2015-2022 Virgil Security, Inc.
//
// All rights reserved.
//
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/foundation/benchmark_refcnt.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2015-2021 Virgil Security, Inc.
// Copyright (C) 2015-2022 Virgil Security, Inc.
//
// All rights reserved.
//
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/foundation/benchmark_signer_verifier.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2015-2021 Virgil Security, Inc.
// Copyright (C) 2015-2022 Virgil Security, Inc.
//
// All rights reserved.
//
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/foundation/data/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/foundation/data/benchmark_data.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2015-2021 Virgil Security, Inc.
// Copyright (C) 2015-2022 Virgil Security, Inc.
//
// All rights reserved.
//
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/foundation/data/benchmark_data.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2015-2021 Virgil Security, Inc.
// Copyright (C) 2015-2022 Virgil Security, Inc.
//
// All rights reserved.
//
Expand Down
3 changes: 3 additions & 0 deletions carthage-specs/VSCCommon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"0.16.1": "https://github.com/VirgilSecurity/virgil-crypto-c/releases/download/v0.16.1/VSCCommon.xcframework.zip"
}
3 changes: 3 additions & 0 deletions carthage-specs/VSCFoundation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"0.16.1": "https://github.com/VirgilSecurity/virgil-crypto-c/releases/download/v0.16.1/VSCFoundation.xcframework.zip"
}
3 changes: 3 additions & 0 deletions carthage-specs/VSCPythia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"0.16.1": "https://github.com/VirgilSecurity/virgil-crypto-c/releases/download/v0.16.1/VSCPythia.xcframework.zip"
}
3 changes: 3 additions & 0 deletions carthage-specs/VSCRatchet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"0.16.1": "https://github.com/VirgilSecurity/virgil-crypto-c/releases/download/v0.16.1/VSCRatchet.xcframework.zip"
}
2 changes: 1 addition & 1 deletion cmake/TransitiveArgs.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion cmake/TransitiveToolchainArgs.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion cmake/apple.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion cmake/clangformat.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion cmake/find_host_utils.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion cmake/helpers.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion cmake/protobuf.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_codegen.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_component.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_dependency.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_features.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_formatter.gsl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_module.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_module_api.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_module_api_private.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_module_assert.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_module_class.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_module_codegen.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_module_enum.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_module_impl.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_module_impl_private.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_module_implementation.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_module_interface.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_module_platform.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/c_module_umbrella_headers.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/class.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/cmake_codegen.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/cmake_files_codegen.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/cmake_format.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/common.gsl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion codegen/component.gsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.template 0
# Copyright (C) 2015-2021 Virgil Security, Inc.
# Copyright (C) 2015-2022 Virgil Security, Inc.
#
# All rights reserved.
#
Expand Down
Loading

0 comments on commit be6cde0

Please sign in to comment.