Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers sha1_alt.h Source File

sha1_alt.h

00001 /*
00002  *  sha1_alt.h
00003  *
00004  *  Copyright (C) 2018, Arm Limited, All Rights Reserved
00005  *  SPDX-License-Identifier: Apache-2.0
00006  *
00007  *  Licensed under the Apache License, Version 2.0 (the "License"); you may
00008  *  not use this file except in compliance with the License.
00009  *  You may obtain a copy of the License at
00010  *
00011  *  http://www.apache.org/licenses/LICENSE-2.0
00012  *
00013  *  Unless required by applicable law or agreed to in writing, software
00014  *  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
00015  *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00016  *  See the License for the specific language governing permissions and
00017  *  limitations under the License.
00018  *
00019  */
00020 
00021 #ifndef __SHA1_ALT__
00022 #define __SHA1_ALT__
00023 #if defined(MBEDTLS_SHA1_ALT)
00024 #include "crys_hash.h"
00025 
00026 /**
00027  * \brief          SHA-1 context structure
00028  */
00029 typedef struct
00030 {
00031     CRYS_HASHUserContext_t  crys_hash_ctx;
00032 } mbedtls_sha1_context;
00033 
00034 #endif //MBEDTLS_SHA1_ALT
00035 #endif //__SHA1_ALT__
00036