• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * \file sha256.h
3  *
4  * \brief This file contains SHA-224 and SHA-256 definitions and functions.
5  *
6  * The Secure Hash Algorithms 224 and 256 (SHA-224 and SHA-256) cryptographic
7  * hash functions are defined in <em>FIPS 180-4: Secure Hash Standard (SHS)</em>.
8  */
9 /*
10  *  Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved
11  *  SPDX-License-Identifier: Apache-2.0
12  *
13  *  Licensed under the Apache License, Version 2.0 (the "License"); you may
14  *  not use this file except in compliance with the License.
15  *  You may obtain a copy of the License at
16  *
17  *  http://www.apache.org/licenses/LICENSE-2.0
18  *
19  *  Unless required by applicable law or agreed to in writing, software
20  *  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
21  *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22  *  See the License for the specific language governing permissions and
23  *  limitations under the License.
24  *
25  *  This file is part of Mbed TLS (https://tls.mbed.org)
26  */
27 #ifndef MBEDTLS_SHA256_ALT_H
28 #define MBEDTLS_SHA256_ALT_H
29 #include "hi_cipher.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 #define mbedtls_sha256_context hi_cipher_hash_atts
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif /* mbedtls_sha256_alt.h */
42