Skip to content

Commit

Permalink
libavb: Update SPDX tag style
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Rini <[email protected]>
  • Loading branch information
trini committed Jun 19, 2018
1 parent e3f7c4f commit 897a1d9
Show file tree
Hide file tree
Showing 36 changed files with 36 additions and 73 deletions.
4 changes: 1 addition & 3 deletions lib/libavb/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# SPDX-License-Identifier: GPL-2.0+
#
# (C) Copyright 2017 Linaro Limited
#
# SPDX-License-Identifier: GPL-2.0+
#

obj-$(CONFIG_LIBAVB) += avb_chain_partition_descriptor.o avb_cmdline.o
obj-$(CONFIG_LIBAVB) += avb_crypto.o avb_footer.o avb_hashtree_descriptor.o
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_chain_partition_descriptor.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#include "avb_chain_partition_descriptor.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_chain_partition_descriptor.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#if !defined(AVB_INSIDE_LIBAVB_H) && !defined(AVB_COMPILATION)
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_cmdline.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#include "avb_cmdline.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_cmdline.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#ifdef AVB_INSIDE_LIBAVB_H
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_crypto.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#include "avb_crypto.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_crypto.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#if !defined(AVB_INSIDE_LIBAVB_H) && !defined(AVB_COMPILATION)
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_descriptor.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#include "avb_descriptor.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_descriptor.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#if !defined(AVB_INSIDE_LIBAVB_H) && !defined(AVB_COMPILATION)
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_footer.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#include "avb_footer.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_footer.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#if !defined(AVB_INSIDE_LIBAVB_H) && !defined(AVB_COMPILATION)
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_hash_descriptor.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#include "avb_hash_descriptor.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_hash_descriptor.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#if !defined(AVB_INSIDE_LIBAVB_H) && !defined(AVB_COMPILATION)
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_hashtree_descriptor.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#include "avb_hashtree_descriptor.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_hashtree_descriptor.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#if !defined(AVB_INSIDE_LIBAVB_H) && !defined(AVB_COMPILATION)
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_kernel_cmdline_descriptor.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#include "avb_kernel_cmdline_descriptor.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_kernel_cmdline_descriptor.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#if !defined(AVB_INSIDE_LIBAVB_H) && !defined(AVB_COMPILATION)
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_ops.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#if !defined(AVB_INSIDE_LIBAVB_H) && !defined(AVB_COMPILATION)
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_property_descriptor.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#include "avb_property_descriptor.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_property_descriptor.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#if !defined(AVB_INSIDE_LIBAVB_H) && !defined(AVB_COMPILATION)
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_rsa.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT OR BSD-3-Clause
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: (MIT or BSD-3-Clause)
*/

/* Implementation of RSA signature verification which uses a pre-processed
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_rsa.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT OR BSD-3-Clause */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: (MIT or BSD-3-Clause)
*/

/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_sha.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#ifdef AVB_INSIDE_LIBAVB_H
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_sha256.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (C) 2005, 2007 Olivier Gay <[email protected]>
* All rights reserved.
*
* FIPS 180-2 SHA-224/256/384/512 implementation
* Last update: 02/02/2007
* Issue date: 04/30/2005
*
* SPDX-License-Identifier: BSD-3-Clause
*/

#include "avb_sha.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_sha512.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (C) 2005, 2007 Olivier Gay <[email protected]>
* All rights reserved.
*
* FIPS 180-2 SHA-224/256/384/512 implementation
* Last update: 02/02/2007
* Issue date: 04/30/2005
*
* SPDX-License-Identifier: BSD-3-Clause
*/

#include "avb_sha.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_slot_verify.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#include "avb_slot_verify.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_slot_verify.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#if !defined(AVB_INSIDE_LIBAVB_H) && !defined(AVB_COMPILATION)
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_sysdeps.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#if !defined(AVB_INSIDE_LIBAVB_H) && !defined(AVB_COMPILATION)
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_sysdeps_posix.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#include <stdarg.h>
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_util.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#include "avb_util.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_util.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#if !defined(AVB_INSIDE_LIBAVB_H) && !defined(AVB_COMPILATION)
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_vbmeta_image.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#include "avb_vbmeta_image.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_vbmeta_image.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#if !defined(AVB_INSIDE_LIBAVB_H) && !defined(AVB_COMPILATION)
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_version.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT
/*
* Copyright (C) 2017 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#include "avb_version.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/avb_version.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2017 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#if !defined(AVB_INSIDE_LIBAVB_H) && !defined(AVB_COMPILATION)
Expand Down
3 changes: 1 addition & 2 deletions lib/libavb/libavb.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
/*
* Copyright (C) 2016 The Android Open Source Project
*
* SPDX-License-Identifier: MIT
*/

#ifndef LIBAVB_H_
Expand Down

0 comments on commit 897a1d9

Please sign in to comment.