copyrights
This commit is contained in:
@@ -21,10 +21,8 @@
|
|||||||
#include "include/cJSON.h"
|
#include "include/cJSON.h"
|
||||||
#include "cryptoconditions.h"
|
#include "cryptoconditions.h"
|
||||||
|
|
||||||
|
|
||||||
struct CCType CC_AnonType;
|
struct CCType CC_AnonType;
|
||||||
|
|
||||||
|
|
||||||
CC *mkAnon(const Condition_t *asnCond) {
|
CC *mkAnon(const Condition_t *asnCond) {
|
||||||
|
|
||||||
CCType *realType = getTypeByAsnEnum(asnCond->present);
|
CCType *realType = getTypeByAsnEnum(asnCond->present);
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
// Copyright (c) 2016-2020 The Hush developers
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright © 2014-2019 The SuperNET Developers. *
|
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||||
* *
|
* *
|
||||||
@@ -13,7 +15,6 @@
|
|||||||
* Removal or modification of this copyright notice is prohibited. *
|
* Removal or modification of this copyright notice is prohibited. *
|
||||||
* *
|
* *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
#include "strings.h"
|
#include "strings.h"
|
||||||
#include "asn/Condition.h"
|
#include "asn/Condition.h"
|
||||||
#include "asn/Fulfillment.h"
|
#include "asn/Fulfillment.h"
|
||||||
@@ -29,10 +30,8 @@
|
|||||||
#include "src/eval.c"
|
#include "src/eval.c"
|
||||||
#include "src/json_rpc.c"
|
#include "src/json_rpc.c"
|
||||||
#include <cJSON.h>
|
#include <cJSON.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
||||||
struct CCType *CCTypeRegistry[] = {
|
struct CCType *CCTypeRegistry[] = {
|
||||||
&CC_PreimageType,
|
&CC_PreimageType,
|
||||||
&CC_PrefixType,
|
&CC_PrefixType,
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
// Copyright (c) 2016-2020 The Hush developers
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright © 2014-2019 The SuperNET Developers. *
|
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||||
* *
|
* *
|
||||||
@@ -22,7 +24,6 @@
|
|||||||
#include "include/ed25519/src/ed25519.h"
|
#include "include/ed25519/src/ed25519.h"
|
||||||
#include "cryptoconditions.h"
|
#include "cryptoconditions.h"
|
||||||
|
|
||||||
|
|
||||||
struct CCType CC_Ed25519Type;
|
struct CCType CC_Ed25519Type;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
// Copyright (c) 2016-2020 The Hush developers
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright © 2014-2019 The SuperNET Developers. *
|
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||||
* *
|
* *
|
||||||
@@ -22,7 +24,6 @@
|
|||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
#include "include/cJSON.h"
|
#include "include/cJSON.h"
|
||||||
|
|
||||||
|
|
||||||
struct CCType CC_EvalType;
|
struct CCType CC_EvalType;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2009-2017 Dave Gamble and cJSON contributors
|
Copyright (c) 2009-2017 Dave Gamble and cJSON contributors
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2009-2017 Dave Gamble and cJSON contributors
|
Copyright (c) 2009-2017 Dave Gamble and cJSON contributors
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright © 2014-2019 The SuperNET Developers. *
|
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||||
* *
|
* *
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
/*-
|
/*-
|
||||||
* Copyright 2005 Colin Percival
|
* Copyright 2005 Colin Percival
|
||||||
* Copyright 2013 Christian Mehlis & René Kijewski
|
* Copyright 2013 Christian Mehlis & René Kijewski
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
/*-
|
/*-
|
||||||
* Copyright 2005 Colin Percival
|
* Copyright 2005 Colin Percival
|
||||||
* Copyright 2013 Christian Mehlis & René Kijewski
|
* Copyright 2013 Christian Mehlis & René Kijewski
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
#include "tweetnacl.h"
|
#include "tweetnacl.h"
|
||||||
#define FOR(i,n) for (i = 0;i < n;++i)
|
#define FOR(i,n) for (i = 0;i < n;++i)
|
||||||
#define sv static void
|
#define sv static void
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
#ifndef TWEETNACL_H
|
#ifndef TWEETNACL_H
|
||||||
#define TWEETNACL_H
|
#define TWEETNACL_H
|
||||||
#define crypto_auth_PRIMITIVE "hmacsha512256"
|
#define crypto_auth_PRIMITIVE "hmacsha512256"
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
// Copyright (c) 2016-2020 The Hush developers
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright © 2014-2019 The SuperNET Developers. *
|
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||||
* *
|
* *
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
// Copyright (c) 2016-2020 The Hush developers
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright © 2014-2019 The SuperNET Developers. *
|
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||||
* *
|
* *
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
// Copyright (c) 2016-2020 The Hush developers
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright © 2014-2019 The SuperNET Developers. *
|
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||||
* *
|
* *
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
// Copyright (c) 2016-2020 The Hush developers
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright © 2014-2019 The SuperNET Developers. *
|
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||||
* *
|
* *
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
// Copyright (c) 2016-2020 The Hush developers
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright © 2014-2019 The SuperNET Developers. *
|
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||||
* *
|
* *
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
// Copyright (c) 2016-2020 The Hush developers
|
// Copyright (c) 2016-2020 The Hush developers
|
||||||
|
// Distributed under the GPLv3 software license, see the accompanying
|
||||||
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright © 2014-2019 The SuperNET Developers. *
|
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||||
* *
|
* *
|
||||||
@@ -19,14 +21,12 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#include "include/cJSON.h"
|
#include "include/cJSON.h"
|
||||||
#include "include/sha256.h"
|
#include "include/sha256.h"
|
||||||
#include "asn/asn_application.h"
|
#include "asn/asn_application.h"
|
||||||
#include "cryptoconditions.h"
|
#include "cryptoconditions.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
|
|
||||||
static unsigned char encoding_table[] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H',
|
static unsigned char encoding_table[] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H',
|
||||||
'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
|
'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
|
||||||
'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
|
'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
|
||||||
|
|||||||
Reference in New Issue
Block a user