summaryrefslogtreecommitdiff
path: root/chip/host/dcrypto/sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/host/dcrypto/sha256.c')
-rw-r--r--chip/host/dcrypto/sha256.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/chip/host/dcrypto/sha256.c b/chip/host/dcrypto/sha256.c
deleted file mode 100644
index 429588c8ac..0000000000
--- a/chip/host/dcrypto/sha256.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/* Copyright 2018 The Chromium OS Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include "dcrypto.h"
-
-void DCRYPTO_SHA256_init(LITE_SHA256_CTX *ctx, uint32_t sw_required)
-{
- SHA256_init(ctx);
-}
-
-const uint8_t *DCRYPTO_SHA256_hash(const void *data, uint32_t n,
- uint8_t *digest)
-{
- SHA256_hash(data, n, digest);
- return digest;
-}