| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/mbedtls/ |
| H A D | sha1.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 5 * \brief This file contains SHA-1 definitions and functions. 7 * The Secure Hash Algorithm 1 (SHA-1) cryptographic hash function is defined in 8 * <em>FIPS 180-4: Secure Hash Standard (SHS)</em>. 10 * \warning SHA-1 is considered a weak message digest and its use constitutes 15 * Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved 21 * http://www.apache.org/licenses/LICENSE-2.0 44 #define MBEDTLS_ERR_SHA1_HW_ACCEL_FAILED -0x0035 /**< SHA-1 hardware accelerator … 45 #define MBEDTLS_ERR_SHA1_BAD_INPUT_DATA -0x0073 /**< SHA-1 input data was malfor… 56 * \brief The SHA-1 context structure. [all …]
|
| H A D | sha256.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 5 * \brief This file contains SHA-224 and SHA-256 definitions and functions. 7 * The Secure Hash Algorithms 224 and 256 (SHA-224 and SHA-256) cryptographic 8 * hash functions are defined in <em>FIPS 180-4: Secure Hash Standard (SHS)</em>. 11 * Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved 17 * http://www.apache.org/licenses/LICENSE-2.0 40 #define MBEDTLS_ERR_SHA256_HW_ACCEL_FAILED -0x0037 /**< SHA-256 hardware accelerato… 41 #define MBEDTLS_ERR_SHA256_BAD_INPUT_DATA -0x0074 /**< SHA-256 input data was malf… 52 * \brief The SHA-256 context structure. 54 * The structure is used both for SHA-256 and for SHA-224 [all …]
|
| H A D | sha512.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 4 * \brief This file contains SHA-384 and SHA-512 definitions and functions. 6 * The Secure Hash Algorithms 384 and 512 (SHA-384 and SHA-512) cryptographic 7 * hash functions are defined in <em>FIPS 180-4: Secure Hash Standard (SHS)</em>. 10 * Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved 16 * http://www.apache.org/licenses/LICENSE-2.0 39 #define MBEDTLS_ERR_SHA512_HW_ACCEL_FAILED -0x0039 /**< SHA-512 hardware accelerato… 40 #define MBEDTLS_ERR_SHA512_BAD_INPUT_DATA -0x0075 /**< SHA-512 input data was malf… 51 * \brief The SHA-512 context structure. 53 * The structure is used both for SHA-384 and for SHA-512 [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/mbedtls/ |
| H A D | sha1.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 5 * \brief This file contains SHA-1 definitions and functions. 7 * The Secure Hash Algorithm 1 (SHA-1) cryptographic hash function is defined in 8 * <em>FIPS 180-4: Secure Hash Standard (SHS)</em>. 10 * \warning SHA-1 is considered a weak message digest and its use constitutes 15 * Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved 21 * http://www.apache.org/licenses/LICENSE-2.0 44 #define MBEDTLS_ERR_SHA1_HW_ACCEL_FAILED -0x0035 /**< SHA-1 hardware accelerator … 45 #define MBEDTLS_ERR_SHA1_BAD_INPUT_DATA -0x0073 /**< SHA-1 input data was malfor… 56 * \brief The SHA-1 context structure. [all …]
|
| H A D | sha256.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 5 * \brief This file contains SHA-224 and SHA-256 definitions and functions. 7 * The Secure Hash Algorithms 224 and 256 (SHA-224 and SHA-256) cryptographic 8 * hash functions are defined in <em>FIPS 180-4: Secure Hash Standard (SHS)</em>. 11 * Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved 17 * http://www.apache.org/licenses/LICENSE-2.0 40 #define MBEDTLS_ERR_SHA256_HW_ACCEL_FAILED -0x0037 /**< SHA-256 hardware accelerato… 41 #define MBEDTLS_ERR_SHA256_BAD_INPUT_DATA -0x0074 /**< SHA-256 input data was malf… 52 * \brief The SHA-256 context structure. 54 * The structure is used both for SHA-256 and for SHA-224 [all …]
|
| H A D | sha512.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 4 * \brief This file contains SHA-384 and SHA-512 definitions and functions. 6 * The Secure Hash Algorithms 384 and 512 (SHA-384 and SHA-512) cryptographic 7 * hash functions are defined in <em>FIPS 180-4: Secure Hash Standard (SHS)</em>. 10 * Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved 16 * http://www.apache.org/licenses/LICENSE-2.0 39 #define MBEDTLS_ERR_SHA512_HW_ACCEL_FAILED -0x0039 /**< SHA-512 hardware accelerato… 40 #define MBEDTLS_ERR_SHA512_BAD_INPUT_DATA -0x0075 /**< SHA-512 input data was malf… 51 * \brief The SHA-512 context structure. 53 * The structure is used both for SHA-384 and for SHA-512 [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/mbedtls/ |
| H A D | sha1.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 5 * \brief This file contains SHA-1 definitions and functions. 7 * The Secure Hash Algorithm 1 (SHA-1) cryptographic hash function is defined in 8 * <em>FIPS 180-4: Secure Hash Standard (SHS)</em>. 10 * \warning SHA-1 is considered a weak message digest and its use constitutes 15 * Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved 21 * http://www.apache.org/licenses/LICENSE-2.0 44 #define MBEDTLS_ERR_SHA1_HW_ACCEL_FAILED -0x0035 /**< SHA-1 hardware accelerator … 45 #define MBEDTLS_ERR_SHA1_BAD_INPUT_DATA -0x0073 /**< SHA-1 input data was malfor… 56 * \brief The SHA-1 context structure. [all …]
|
| H A D | sha256.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 5 * \brief This file contains SHA-224 and SHA-256 definitions and functions. 7 * The Secure Hash Algorithms 224 and 256 (SHA-224 and SHA-256) cryptographic 8 * hash functions are defined in <em>FIPS 180-4: Secure Hash Standard (SHS)</em>. 11 * Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved 17 * http://www.apache.org/licenses/LICENSE-2.0 40 #define MBEDTLS_ERR_SHA256_HW_ACCEL_FAILED -0x0037 /**< SHA-256 hardware accelerato… 41 #define MBEDTLS_ERR_SHA256_BAD_INPUT_DATA -0x0074 /**< SHA-256 input data was malf… 52 * \brief The SHA-256 context structure. 54 * The structure is used both for SHA-256 and for SHA-224 [all …]
|
| H A D | sha512.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 4 * \brief This file contains SHA-384 and SHA-512 definitions and functions. 6 * The Secure Hash Algorithms 384 and 512 (SHA-384 and SHA-512) cryptographic 7 * hash functions are defined in <em>FIPS 180-4: Secure Hash Standard (SHS)</em>. 10 * Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved 16 * http://www.apache.org/licenses/LICENSE-2.0 39 #define MBEDTLS_ERR_SHA512_HW_ACCEL_FAILED -0x0039 /**< SHA-512 hardware accelerato… 40 #define MBEDTLS_ERR_SHA512_BAD_INPUT_DATA -0x0075 /**< SHA-512 input data was malf… 51 * \brief The SHA-512 context structure. 53 * The structure is used both for SHA-384 and for SHA-512 [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/mbedtls/ |
| H A D | sha1.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 5 * \brief This file contains SHA-1 definitions and functions. 7 * The Secure Hash Algorithm 1 (SHA-1) cryptographic hash function is defined in 8 * <em>FIPS 180-4: Secure Hash Standard (SHS)</em>. 10 * \warning SHA-1 is considered a weak message digest and its use constitutes 15 * Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved 21 * http://www.apache.org/licenses/LICENSE-2.0 44 #define MBEDTLS_ERR_SHA1_HW_ACCEL_FAILED -0x0035 /**< SHA-1 hardware accelerator … 45 #define MBEDTLS_ERR_SHA1_BAD_INPUT_DATA -0x0073 /**< SHA-1 input data was malfor… 56 * \brief The SHA-1 context structure. [all …]
|
| H A D | sha256.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 5 * \brief This file contains SHA-224 and SHA-256 definitions and functions. 7 * The Secure Hash Algorithms 224 and 256 (SHA-224 and SHA-256) cryptographic 8 * hash functions are defined in <em>FIPS 180-4: Secure Hash Standard (SHS)</em>. 11 * Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved 17 * http://www.apache.org/licenses/LICENSE-2.0 40 #define MBEDTLS_ERR_SHA256_HW_ACCEL_FAILED -0x0037 /**< SHA-256 hardware accelerato… 41 #define MBEDTLS_ERR_SHA256_BAD_INPUT_DATA -0x0074 /**< SHA-256 input data was malf… 52 * \brief The SHA-256 context structure. 54 * The structure is used both for SHA-256 and for SHA-224 [all …]
|
| H A D | sha512.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 4 * \brief This file contains SHA-384 and SHA-512 definitions and functions. 6 * The Secure Hash Algorithms 384 and 512 (SHA-384 and SHA-512) cryptographic 7 * hash functions are defined in <em>FIPS 180-4: Secure Hash Standard (SHS)</em>. 10 * Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved 16 * http://www.apache.org/licenses/LICENSE-2.0 39 #define MBEDTLS_ERR_SHA512_HW_ACCEL_FAILED -0x0039 /**< SHA-512 hardware accelerato… 40 #define MBEDTLS_ERR_SHA512_BAD_INPUT_DATA -0x0075 /**< SHA-512 input data was malf… 51 * \brief The SHA-512 context structure. 53 * The structure is used both for SHA-384 and for SHA-512 [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/openssl/ |
| H A D | sha.h | 1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 8 * This library is free for commercial and non-commercial use as long as 25 * 1. Redistributions of source code must retain the copyright 35 * being used are not cryptographic related :-). 67 // The SHA family of hash functions (SHA-1 and SHA-2). 70 // SHA_CBLOCK is the block size of SHA-1. 73 // SHA_DIGEST_LENGTH is the length of a SHA-1 digest. 76 // SHA1_Init initialises |sha| and returns one. 77 OPENSSL_EXPORT int SHA1_Init(SHA_CTX *sha); 79 // SHA1_Update adds |len| bytes from |data| to |sha| and returns one. [all …]
|
| H A D | tls1.h | 1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 8 * This library is free for commercial and non-commercial use as long as 25 * 1. Redistributions of source code must retain the copyright 35 * being used are not cryptographic related :-). 58 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. 64 * 1. Redistributions of source code must retain the above copyright 80 * openssl-core@openssl.org. 131 * Nokia Corporation, consists of the "PSK" (Pre-Shared Key) ciphersuites 160 #define TLS1_AD_END_OF_EARLY_DATA 1 182 #define TLS1_AD_ECH_REQUIRED 121 // draft-ietf-tls-esni-10 [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/openssl/ |
| H A D | sha.h | 1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 8 * This library is free for commercial and non-commercial use as long as 25 * 1. Redistributions of source code must retain the copyright 35 * being used are not cryptographic related :-). 67 // The SHA family of hash functions (SHA-1 and SHA-2). 70 // SHA_CBLOCK is the block size of SHA-1. 73 // SHA_DIGEST_LENGTH is the length of a SHA-1 digest. 76 // SHA1_Init initialises |sha| and returns one. 77 OPENSSL_EXPORT int SHA1_Init(SHA_CTX *sha); 79 // SHA1_Update adds |len| bytes from |data| to |sha| and returns one. [all …]
|
| H A D | tls1.h | 1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 8 * This library is free for commercial and non-commercial use as long as 25 * 1. Redistributions of source code must retain the copyright 35 * being used are not cryptographic related :-). 58 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. 64 * 1. Redistributions of source code must retain the above copyright 80 * openssl-core@openssl.org. 131 * Nokia Corporation, consists of the "PSK" (Pre-Shared Key) ciphersuites 160 #define TLS1_AD_END_OF_EARLY_DATA 1 182 #define TLS1_AD_ECH_REQUIRED 121 // draft-ietf-tls-esni-10 [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/openssl/ |
| H A D | sha.h | 1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 8 * This library is free for commercial and non-commercial use as long as 25 * 1. Redistributions of source code must retain the copyright 35 * being used are not cryptographic related :-). 67 // The SHA family of hash functions (SHA-1 and SHA-2). 70 // SHA_CBLOCK is the block size of SHA-1. 73 // SHA_DIGEST_LENGTH is the length of a SHA-1 digest. 76 // SHA1_Init initialises |sha| and returns one. 77 OPENSSL_EXPORT int SHA1_Init(SHA_CTX *sha); 79 // SHA1_Update adds |len| bytes from |data| to |sha| and returns one. [all …]
|
| H A D | tls1.h | 1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 8 * This library is free for commercial and non-commercial use as long as 25 * 1. Redistributions of source code must retain the copyright 35 * being used are not cryptographic related :-). 58 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. 64 * 1. Redistributions of source code must retain the above copyright 80 * openssl-core@openssl.org. 131 * Nokia Corporation, consists of the "PSK" (Pre-Shared Key) ciphersuites 160 #define TLS1_AD_END_OF_EARLY_DATA 1 182 #define TLS1_AD_ECH_REQUIRED 121 // draft-ietf-tls-esni-10 [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/openssl/ |
| H A D | sha.h | 1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 8 * This library is free for commercial and non-commercial use as long as 25 * 1. Redistributions of source code must retain the copyright 35 * being used are not cryptographic related :-). 67 // The SHA family of hash functions (SHA-1 and SHA-2). 70 // SHA_CBLOCK is the block size of SHA-1. 73 // SHA_DIGEST_LENGTH is the length of a SHA-1 digest. 76 // SHA1_Init initialises |sha| and returns one. 77 OPENSSL_EXPORT int SHA1_Init(SHA_CTX *sha); 79 // SHA1_Update adds |len| bytes from |data| to |sha| and returns one. [all …]
|
| H A D | tls1.h | 1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 8 * This library is free for commercial and non-commercial use as long as 25 * 1. Redistributions of source code must retain the copyright 35 * being used are not cryptographic related :-). 58 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. 64 * 1. Redistributions of source code must retain the above copyright 80 * openssl-core@openssl.org. 131 * Nokia Corporation, consists of the "PSK" (Pre-Shared Key) ciphersuites 160 #define TLS1_AD_END_OF_EARLY_DATA 1 182 #define TLS1_AD_ECH_REQUIRED 121 // draft-ietf-tls-esni-10 [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/openssl/ |
| H A D | sha.h | 1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 8 * This library is free for commercial and non-commercial use as long as 25 * 1. Redistributions of source code must retain the copyright 35 * being used are not cryptographic related :-). 67 // The SHA family of hash functions (SHA-1 and SHA-2). 70 // SHA_CBLOCK is the block size of SHA-1. 73 // SHA_DIGEST_LENGTH is the length of a SHA-1 digest. 76 // SHA1_Init initialises |sha| and returns one. 77 OPENSSL_EXPORT int SHA1_Init(SHA_CTX *sha); 79 // SHA1_Update adds |len| bytes from |data| to |sha| and returns one. [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/host_include/openssl/ |
| H A D | sha.h | 1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 8 * This library is free for commercial and non-commercial use as long as 25 * 1. Redistributions of source code must retain the copyright 35 * being used are not cryptographic related :-). 67 // The SHA family of hash functions (SHA-1 and SHA-2). 70 // SHA_CBLOCK is the block size of SHA-1. 73 // SHA_DIGEST_LENGTH is the length of a SHA-1 digest. 76 // SHA1_Init initialises |sha| and returns one. 77 OPENSSL_EXPORT int SHA1_Init(SHA_CTX *sha); 79 // SHA1_Update adds |len| bytes from |data| to |sha| and returns one. [all …]
|
| /OK3568_Linux_fs/u-boot/include/u-boot/ |
| H A D | sha1.h | 4 * FIPS-180-1 compliant SHA-1 implementation 6 * Copyright (C) 2003-2006 Christophe Devine 8 * SPDX-License-Identifier: LGPL-2.1 11 * The SHA-1 standard was published by NIST in 1993. 13 * http://www.itl.nist.gov/fipspubs/fip180-1.htm 22 #define SHA1_SUM_POS -0x20 29 * \brief SHA-1 context structure 40 * \brief SHA-1 context setup 42 * \param ctx SHA-1 context to be initialized 47 * \brief SHA-1 process buffer [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/synopsys/ |
| H A D | dw-hdmi-hdcp.c | 3 * Author Huicong Xu <xhc@rock-chips.com> 27 #include <crypto/sha.h> 30 #include "dw-hdmi.h" 31 #include "dw-hdmi-hdcp.h" 130 return (((word << bits) & 0xFFFFFFFF) | (word >> (32 - bits))); in shacircularshift() 135 struct dw_hdmi *hdmi = hdcp->hdmi; in hdcp_modb() 136 u8 val = hdcp->read(hdmi, reg) & ~mask; in hdcp_modb() 139 hdcp->write(hdmi, val, reg); in hdcp_modb() 142 static void sha_reset(struct sha_t *sha) in sha_reset() argument 146 sha->mindex = 0; in sha_reset() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/mediatek/ |
| H A D | mtk-sha.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Some ideas are from atmel-sha.c and omap-sham.c drivers. 13 #include <crypto/sha.h> 14 #include "mtk-platform.h" 16 #define SHA_ALIGN_MSK (sizeof(u32) - 1) 20 #define SHA_OP_UPDATE 1 26 /* SHA command token */ 33 /* SHA transform information */ 46 /* SHA flags */ 48 #define SHA_FLAGS_FINAL BIT(1) [all …]
|