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 "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);

5
src/cryptoconditions/src/cryptoconditions.c

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

3
src/cryptoconditions/src/ed25519.c

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

3
src/cryptoconditions/src/eval.c

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

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 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 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. * * 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 2005 Colin Percival
* Copyright 2013 Christian Mehlis & René Kijewski * 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 2005 Colin Percival
* Copyright 2013 Christian Mehlis & René Kijewski * 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" #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

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

2
src/cryptoconditions/src/json_rpc.c

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

2
src/cryptoconditions/src/prefix.c

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

2
src/cryptoconditions/src/preimage.c

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

2
src/cryptoconditions/src/secp256k1.c

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

2
src/cryptoconditions/src/threshold.c

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

4
src/cryptoconditions/src/utils.c

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

Loading…
Cancel
Save