Browse Source

copyrights

pull/5/head
Duke Leto 3 years ago
parent
commit
bcc5927086
  1. 2
      src/cryptoconditions/src/anon.c
  2. 5
      src/cryptoconditions/src/cryptoconditions.c
  3. 3
      src/cryptoconditions/src/ed25519.c
  4. 3
      src/cryptoconditions/src/eval.c
  5. 3
      src/cryptoconditions/src/include/cJSON.c
  6. 3
      src/cryptoconditions/src/include/cJSON.h
  7. 3
      src/cryptoconditions/src/include/libbase58.h
  8. 3
      src/cryptoconditions/src/include/sha256.c
  9. 3
      src/cryptoconditions/src/include/sha256.h
  10. 3
      src/cryptoconditions/src/include/tweetnacl.c
  11. 3
      src/cryptoconditions/src/include/tweetnacl.h
  12. 2
      src/cryptoconditions/src/json_rpc.c
  13. 2
      src/cryptoconditions/src/prefix.c
  14. 2
      src/cryptoconditions/src/preimage.c
  15. 2
      src/cryptoconditions/src/secp256k1.c
  16. 2
      src/cryptoconditions/src/threshold.c
  17. 4
      src/cryptoconditions/src/utils.c

2
src/cryptoconditions/src/anon.c

@ -21,10 +21,8 @@
#include "include/cJSON.h"
#include "cryptoconditions.h"
struct CCType CC_AnonType;
CC *mkAnon(const Condition_t *asnCond) {
CCType *realType = getTypeByAsnEnum(asnCond->present);

5
src/cryptoconditions/src/cryptoconditions.c

@ -1,4 +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. *
* *
@ -13,7 +15,6 @@
* Removal or modification of this copyright notice is prohibited. *
* *
******************************************************************************/
#include "strings.h"
#include "asn/Condition.h"
#include "asn/Fulfillment.h"
@ -29,10 +30,8 @@
#include "src/eval.c"
#include "src/json_rpc.c"
#include <cJSON.h>
#include <stdlib.h>
struct CCType *CCTypeRegistry[] = {
&CC_PreimageType,
&CC_PrefixType,

3
src/cryptoconditions/src/ed25519.c

@ -1,4 +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. *
* *
@ -22,7 +24,6 @@
#include "include/ed25519/src/ed25519.h"
#include "cryptoconditions.h"
struct CCType CC_Ed25519Type;

3
src/cryptoconditions/src/eval.c

@ -1,4 +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. *
* *
@ -22,7 +24,6 @@
#include "internal.h"
#include "include/cJSON.h"
struct CCType CC_EvalType;

3
src/cryptoconditions/src/include/cJSON.c

@ -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

3
src/cryptoconditions/src/include/cJSON.h

@ -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

3
src/cryptoconditions/src/include/libbase58.h

@ -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. *
* *

3
src/cryptoconditions/src/include/sha256.c

@ -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 2013 Christian Mehlis & René Kijewski

3
src/cryptoconditions/src/include/sha256.h

@ -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 2013 Christian Mehlis & René Kijewski

3
src/cryptoconditions/src/include/tweetnacl.c

@ -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"
#define FOR(i,n) for (i = 0;i < n;++i)
#define sv static void

3
src/cryptoconditions/src/include/tweetnacl.h

@ -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
#define TWEETNACL_H
#define crypto_auth_PRIMITIVE "hmacsha512256"

2
src/cryptoconditions/src/json_rpc.c

@ -1,4 +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. *
* *

2
src/cryptoconditions/src/prefix.c

@ -1,4 +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. *
* *

2
src/cryptoconditions/src/preimage.c

@ -1,4 +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. *
* *

2
src/cryptoconditions/src/secp256k1.c

@ -1,4 +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. *
* *

2
src/cryptoconditions/src/threshold.c

@ -1,4 +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. *
* *

4
src/cryptoconditions/src/utils.c

@ -1,4 +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. *
* *
@ -19,14 +21,12 @@
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "include/cJSON.h"
#include "include/sha256.h"
#include "asn/asn_application.h"
#include "cryptoconditions.h"
#include "internal.h"
static unsigned char encoding_table[] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H',
'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',

Loading…
Cancel
Save