summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@google.com>2016-03-23 15:13:32 -0400
committerDavid Zeuthen <zeuthen@google.com>2016-03-23 15:14:22 -0400
commit67423cff39d7bd5f7d6402ad21c5a26643a3bb10 (patch)
tree24cb7eb084aa3f13b1e8b55be8a7678f83f8d4ae
parent0786fc110df80f485fed005c68c57b24769927ec (diff)
downloadbvb-67423cff39d7bd5f7d6402ad21c5a26643a3bb10.tar.gz
bvb_refimpl: Remove unused internal header file.
This file was errornously introduced in the previous commit. BUG=None TEST=Code builds and unit tests pass. Change-Id: Iaf4d431b3c73ee9031957d26e8549607a98463ea
-rw-r--r--README4
-rw-r--r--bvb_rsa.c1
-rw-r--r--bvb_util_internal.h40
-rw-r--r--bvb_util_unittest.cc3
4 files changed, 0 insertions, 48 deletions
diff --git a/README b/README
index d98e32a..f146540 100644
--- a/README
+++ b/README
@@ -30,10 +30,6 @@ signing boot images.
Various utility code.
- bvb_util_internal.h
-
- Utility code used by bvb internals.
-
bvb_sysdeps.h
Declarations of system dependencies expected to be provided by the
diff --git a/bvb_rsa.c b/bvb_rsa.c
index e569d81..50517b8 100644
--- a/bvb_rsa.c
+++ b/bvb_rsa.c
@@ -27,7 +27,6 @@
#include "bvb_rsa.h"
#include "bvb_sha.h"
#include "bvb_util.h"
-#include "bvb_util_internal.h"
typedef struct Key {
unsigned int len; /* Length of n[] in number of uint32_t */
diff --git a/bvb_util_internal.h b/bvb_util_internal.h
deleted file mode 100644
index 63d1193..0000000
--- a/bvb_util_internal.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2016 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#ifndef BVB_REFIMPL_COMPILATION
-#error "Never include this file, it may only be used from internal bvb code."
-#endif
-
-#ifndef BVB_UTIL_INTERNAL_H_
-#define BVB_UTIL_INTERNAL_H_
-
-#include "bvb_rsa.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Copies |header| to |dest|, byte-swapping fields in the process. */
-void bvb_rsa_public_key_header_to_host_byte_order(
- const BvbRSAPublicKeyHeader* src,
- BvbRSAPublicKeyHeader* dest);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* BVB_UTIL_INTERNAL_H_ */
diff --git a/bvb_util_unittest.cc b/bvb_util_unittest.cc
index 890158f..4ef9955 100644
--- a/bvb_util_unittest.cc
+++ b/bvb_util_unittest.cc
@@ -20,9 +20,6 @@
#include "bvb_refimpl.h"
-#define BVB_REFIMPL_COMPILATION
-#include "bvb_util_internal.h"
-
TEST(UtilTest, BootImageHeaderByteswap)
{
BvbBootImageHeader h;