Skip to content

Commit

Permalink
decoder: add SPDX identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPawn committed Jun 18, 2019
1 parent 3832fe3 commit f17c289
Show file tree
Hide file tree
Showing 99 changed files with 187 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# project
#
BASENAME:=decoder
Expand Down
1 change: 1 addition & 0 deletions extras/cryptedbin.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#! /bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
#
# create an export file with a CRYPTEDBINFILE section
#
Expand Down
1 change: 1 addition & 0 deletions scripts/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# targets to make
#
Expand Down
1 change: 1 addition & 0 deletions scripts/crypto
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#! /bin/sh
# vim: set tabstop=4 syntax=sh :
# SPDX-License-Identifier: GPL-2.0-or-later
#######################################################################################################
# #
# provide a wrapper for a MD5 digest and an AES-256 decrypt function for AVM's cipher text decryption #
Expand Down
1 change: 1 addition & 0 deletions scripts/decode_cryptedbinfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#! /bin/sh
# vim: set tabstop=4 syntax=sh :
# SPDX-License-Identifier: GPL-2.0-or-later
#######################################################################################################
# #
# decode the encrypted binary data from STDIN #
Expand Down
1 change: 1 addition & 0 deletions scripts/decode_export
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#! /bin/sh
# vim: set tabstop=4 syntax=sh :
# SPDX-License-Identifier: GPL-2.0-or-later
#######################################################################################################
# #
# decode every occurence of an encoded secret value from an export file #
Expand Down
1 change: 1 addition & 0 deletions scripts/decode_secret
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#! /bin/sh
# vim: set tabstop=4 syntax=sh :
# SPDX-License-Identifier: GPL-2.0-or-later
#######################################################################################################
# #
# decode a single encrypted value, which was encoded by AVM's cipher algorithm #
Expand Down
1 change: 1 addition & 0 deletions scripts/decode_secrets
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#! /bin/sh
# vim: set tabstop=4 syntax=sh :
# SPDX-License-Identifier: GPL-2.0-or-later
#######################################################################################################
# #
# decode every occurence of an encoded secret value from a file #
Expand Down
1 change: 1 addition & 0 deletions scripts/device_password
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#! /bin/sh
# vim: set tabstop=4 syntax=sh :
# SPDX-License-Identifier: GPL-2.0-or-later
#######################################################################################################
# #
# compute the device password for a FRITZ!Box router #
Expand Down
1 change: 1 addition & 0 deletions scripts/password_from_device
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#! /bin/sh
# vim: set tabstop=4 syntax=sh :
# SPDX-License-Identifier: GPL-2.0-or-later
#######################################################################################################
# #
# read the variables for the device password from the 'urlader environment' and compute the device #
Expand Down
1 change: 1 addition & 0 deletions scripts/privatekeypassword
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#! /bin/sh
# vim: set tabstop=4 syntax=sh :
# SPDX-License-Identifier: GPL-2.0-or-later
#######################################################################################################
# #
# read the 'maca' value from the 'urlader environment' and compute the secret key used to encrypt the #
Expand Down
1 change: 1 addition & 0 deletions scripts/user_password
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#! /bin/sh
# vim: set tabstop=4 syntax=sh :
# SPDX-License-Identifier: GPL-2.0-or-later
#######################################################################################################
# #
# compute the cipher key for AVM's implementation from a specified password #
Expand Down
3 changes: 2 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# vim: set tabstop=4 syntax=sh :
# SPDX-License-Identifier: GPL-2.0-or-later
###################################################################################################VER#
# #
# decoder, version 0.3 #
Expand Down Expand Up @@ -760,7 +761,7 @@ uninstall:

clean:
@[ -f $(binfile) ] && $(RM) $(binfile) 2>/dev/null || true
@$(RM) $(CONFIG) $(APPLETS) $(OBJS_COMMON) $(OBJS_APP) $(OBJS_MAIN) $(CONFIG) 2>/dev/null || true
@$(RM) $(CONFIG) $(APPLETS) $(OBJS_COMMON) $(OBJS_APP) $(OBJS_MAIN) crypto_ossl.o $(CONFIG) 2>/dev/null || true
@for n in $(APPLET_SRCS); do \
$(RM) $${n}_commands.c 2>/dev/null; \
done; \
Expand Down
2 changes: 2 additions & 0 deletions src/b32dec.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/b32dec.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/b32dec_usage.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/b32enc.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/b32enc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/b32enc_usage.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/b64dec.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/b64dec.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/b64dec_usage.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/b64enc.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/b64enc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/b64enc_usage.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/base32.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/base32.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/base64.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/base64.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/checksum.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/checksum.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/checksum_usage.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/common.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/crc32.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/crc32.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/crypto_nettle.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/crypto_nettle.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/crypto_ossl.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/crypto_ossl.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/deccb.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/deccb.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/deccb_usage.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/decexp.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/decexp.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/decexp_usage.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/decfile.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/decfile.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/decfile_usage.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/decoder.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/decoder.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/decoder_usage.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/decompose.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/decompose.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/decompose_usage.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/decsngl.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
2 changes: 2 additions & 0 deletions src/decsngl.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* vim: set tabstop=4 syntax=c :
*
* Copyright (C) 2014-2018, Peter Haemmerlein ([email protected])
Expand Down
Loading

0 comments on commit f17c289

Please sign in to comment.