code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
#include "dm_export.h" #include "mbedtls/sha256.h" #include "mbedtls/net_sockets.h" #include "mbedtls/ssl.h" #include "mbedtls/ctr_drbg.h" #include "mbedtls/debug.h" #include "mbedtls/platform.h" #include "mbedtls/timing.h" #include "mbedtls/x509_crt.h" SYMBOL_EXPORT(mbedtls_net_recv); SYMBOL_EXPORT(mbedtls_net_recv_ti...
YifuLiu/AliOS-Things
components/mbedtls/export.c
C
apache-2.0
1,687
option(INSTALL_MBEDTLS_HEADERS "Install mbed TLS headers." ON) if(INSTALL_MBEDTLS_HEADERS) file(GLOB headers "mbedtls/*.h") install(FILES ${headers} DESTINATION include/mbedtls PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ) endif(INSTALL_MBEDTLS_HEADERS) # Make config.h available...
YifuLiu/AliOS-Things
components/mbedtls/include/CMakeLists.txt
CMake
apache-2.0
482
/** * \file aes.h * * \brief This file contains AES definitions and functions. * * The Advanced Encryption Standard (AES) specifies a FIPS-approved * cryptographic algorithm that can be used to protect electronic * data. * * The AES algorithm is a symmetric block cipher th...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/aes.h
C
apache-2.0
29,374
/** * \file aesni.h * * \brief AES-NI for hardware AES acceleration on some Intel processors * * \warning These functions are only for internal use by other library * functions; you must not call them directly. */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifi...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/aesni.h
C
apache-2.0
4,466
/** * \file arc4.h * * \brief The ARCFOUR stream cipher * * \warning ARC4 is considered a weak cipher and its use constitutes a * security risk. We recommend considering stronger ciphers instead. */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/arc4.h
C
apache-2.0
4,065
/** * \file aria.h * * \brief ARIA block cipher * * The ARIA algorithm is a symmetric block cipher that can encrypt and * decrypt information. It is defined by the Korean Agency for * Technology and Standards (KATS) in <em>KS X 1213:2004</em> (in * Korean, but see http://210.104.33.1...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/aria.h
C
apache-2.0
16,314
/** * \file asn1.h * * \brief Generic ASN.1 parsing */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * You may obta...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/asn1.h
C
apache-2.0
12,232
/** * \file asn1write.h * * \brief ASN.1 buffer writing functionality */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/asn1write.h
C
apache-2.0
13,295
/** * \file base64.h * * \brief RFC 1521 base64 encoding/decoding */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. *...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/base64.h
C
apache-2.0
3,138
/** * \file bignum.h * * \brief Multi-precision integer library */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/bignum.h
C
apache-2.0
40,471
/** * \file blowfish.h * * \brief Blowfish block cipher */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * You may ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/blowfish.h
C
apache-2.0
12,561
/** * \file bn_mul.h * * \brief Multi-precision integer library */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/bn_mul.h
C
apache-2.0
36,030
/** * \file camellia.h * * \brief Camellia block cipher */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * You may ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/camellia.h
C
apache-2.0
14,026
/** * \file ccm.h * * \brief This file provides an API for the CCM authenticated encryption * mode for block ciphers. * * CCM combines Counter mode encryption with CBC-MAC authentication * for 128-bit block ciphers. * * Input to CCM includes the following elements: * <ul><li>Payload - data that is both...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/ccm.h
C
apache-2.0
13,963
/** * \file certs.h * * \brief Sample certificates and DHM parameters for testing */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/certs.h
C
apache-2.0
3,463
/** * \file chacha20.h * * \brief This file contains ChaCha20 definitions and functions. * * ChaCha20 is a stream cipher that can encrypt and decrypt * information. ChaCha was created by Daniel Bernstein as a variant of * its Salsa cipher https://cr.yp.to/chacha/chacha-20080128.pdf ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/chacha20.h
C
apache-2.0
8,816
/** * \file chachapoly.h * * \brief This file contains the AEAD-ChaCha20-Poly1305 definitions and * functions. * * ChaCha20-Poly1305 is an algorithm for Authenticated Encryption * with Associated Data (AEAD) that can be used to encrypt and * authenticate data. It is based o...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/chachapoly.h
C
apache-2.0
16,194
/** * \file check_config.h * * \brief Consistency checks for configuration options */ /* * Copyright (C) 2006-2018, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance wit...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/check_config.h
C
apache-2.0
27,451
/** * \file cipher.h * * \brief This file contains an abstraction interface for use with the cipher * primitives provided by the library. It provides a common interface to all of * the available cipher operations. * * \author Adriaan de Jong <dejong@fox-it.com> */ /* * Copyright (C) 2006-2018, Arm Limited (or...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/cipher.h
C
apache-2.0
39,251
/** * \file cipher_internal.h * * \brief Cipher wrappers. * * \author Adriaan de Jong <dejong@fox-it.com> */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/cipher_internal.h
C
apache-2.0
3,829
/** * \file cmac.h * * \brief This file contains CMAC definitions and functions. * * The Cipher-based Message Authentication Code (CMAC) Mode for * Authentication is defined in <em>RFC-4493: The AES-CMAC Algorithm</em>. */ /* * Copyright (C) 2015-2018, Arm Limited (or its affiliates), All Rights Reserved * S...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/cmac.h
C
apache-2.0
7,897
/** * \file compat-1.3.h * * \brief Compatibility definitions for using mbed TLS with client code written * for the PolarSSL naming conventions. * * \deprecated Use the new names directly instead */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * L...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/compat-1.3.h
C
apache-2.0
129,673
#ifndef _MBEDTLS_CONFIG_H_ #define _MBEDTLS_CONFIG_H_ #include "platform_config.h" #endif /* _MBEDTLS_CONFIG_H_ */
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/config.h
C
apache-2.0
116
/** * \file ctr_drbg.h * * \brief This file contains CTR_DRBG definitions and functions. * * CTR_DRBG is a standardized way of building a PRNG from a block-cipher * in counter mode operation, as defined in <em>NIST SP 800-90A: * Recommendation for Random Number Generation Using Deterministic Random * Bit Gen...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/ctr_drbg.h
C
apache-2.0
14,099
/** * \file debug.h * * \brief Functions for controlling and providing debug output from the library. */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file excep...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/debug.h
C
apache-2.0
10,154
/** * \file des.h * * \brief DES block cipher * * \warning DES is considered a weak cipher and its use constitutes a * security risk. We recommend considering stronger ciphers * instead. */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apac...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/des.h
C
apache-2.0
11,297
/** * \file dhm.h * * \brief This file contains Diffie-Hellman-Merkle (DHM) key exchange * definitions and functions. * * Diffie-Hellman-Merkle (DHM) key exchange is defined in * <em>RFC-2631: Diffie-Hellman Key Agreement Method</em> and * <em>Public-Key Cryptography Standards (PKCS) #3: Diffie * He...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/dhm.h
C
apache-2.0
54,708
/** * \file ecdh.h * * \brief This file contains ECDH definitions and functions. * * The Elliptic Curve Diffie-Hellman (ECDH) protocol is an anonymous * key agreement protocol allowing two parties to establish a shared * secret over an insecure channel. Each party must have an * elliptic-curve public–private ke...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/ecdh.h
C
apache-2.0
18,441
/** * \file ecdsa.h * * \brief This file contains ECDSA definitions and functions. * * The Elliptic Curve Digital Signature Algorithm (ECDSA) is defined in * <em>Standards for Efficient Cryptography Group (SECG): * SEC1 Elliptic Curve Cryptography</em>. * The use of ECDSA for TLS is defined in <em>RFC-4492: Ell...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/ecdsa.h
C
apache-2.0
24,740
/** * \file ecjpake.h * * \brief Elliptic curve J-PAKE */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * You may o...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/ecjpake.h
C
apache-2.0
11,232
/** * \file ecp.h * * \brief This file provides an API for Elliptic Curves over GF(P) (ECP). * * The use of ECP in cryptography and TLS is defined in * <em>Standards for Efficient Cryptography Group (SECG): SEC1 * Elliptic Curve Cryptography</em> and * <em>RFC-4492: Elliptic Curve Cryptography (ECC) Cipher Suit...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/ecp.h
C
apache-2.0
50,589
/** * \file ecp_internal.h * * \brief Function declarations for alternative implementation of elliptic curve * point arithmetic. */ /* * Copyright (C) 2016, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/ecp_internal.h
C
apache-2.0
10,536
/** * \file entropy.h * * \brief Entropy accumulator implementation */ /* * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/entropy.h
C
apache-2.0
9,701
/** * \file entropy_poll.h * * \brief Platform-specific and custom entropy polling functions */ /* * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in comp...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/entropy_poll.h
C
apache-2.0
3,308
/** * \file error.h * * \brief Error to string translation */ /* * Copyright (C) 2006-2018, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * You m...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/error.h
C
apache-2.0
3,954
/** * \file gcm.h * * \brief This file contains GCM definitions and functions. * * The Galois/Counter Mode (GCM) for 128-bit block ciphers is defined * in <em>D. McGrew, J. Viega, The Galois/Counter Mode of Operation * (GCM), Natl. Inst. Stand. Technol.</em> * * For more information on GCM, see <em>NIST SP 800...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/gcm.h
C
apache-2.0
13,755
/** * \file havege.h * * \brief HAVEGE: HArdware Volatile Entropy Gathering and Expansion */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in complia...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/havege.h
C
apache-2.0
1,803
/** * \file hkdf.h * * \brief This file contains the HKDF interface. * * The HMAC-based Extract-and-Expand Key Derivation Function (HKDF) is * specified by RFC 5869. */ /* * Copyright (C) 2016-2018, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/hkdf.h
C
apache-2.0
5,797
/** * \file hmac_drbg.h * * \brief HMAC_DRBG (NIST SP 800-90A) */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * Y...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/hmac_drbg.h
C
apache-2.0
12,134
/** * \file md.h * * \brief This file contains the generic message-digest wrapper. * * \author Adriaan de Jong <dejong@fox-it.com> */ /* * Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/md.h
C
apache-2.0
18,040
/** * \file md2.h * * \brief MD2 message digest algorithm (hash function) * * \warning MD2 is considered a weak message digest and its use constitutes a * security risk. We recommend considering stronger message digests * instead. */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Rese...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/md2.h
C
apache-2.0
9,233
/** * \file md4.h * * \brief MD4 message digest algorithm (hash function) * * \warning MD4 is considered a weak message digest and its use constitutes a * security risk. We recommend considering stronger message digests * instead. */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Rese...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/md4.h
C
apache-2.0
9,464
/** * \file md5.h * * \brief MD5 message digest algorithm (hash function) * * \warning MD5 is considered a weak message digest and its use constitutes a * security risk. We recommend considering stronger message * digests instead. */ /* * Copyright (C) 2006-2015, ARM Limited, All Right...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/md5.h
C
apache-2.0
9,470
/** * \file md_internal.h * * \brief Message digest wrappers. * * \warning This in an internal header. Do not include directly. * * \author Adriaan de Jong <dejong@fox-it.com> */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Ap...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/md_internal.h
C
apache-2.0
3,083
/** * \file memory_buffer_alloc.h * * \brief Buffer-based memory allocator */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the Li...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/memory_buffer_alloc.h
C
apache-2.0
5,140
/** * \file net.h * * \brief Deprecated header file that includes net_sockets.h * * \deprecated Superseded by mbedtls/net_sockets.h */ /* * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/net.h
C
apache-2.0
1,132
/** * \file net_sockets.h * * \brief Network sockets abstraction layer to integrate Mbed TLS into a * BSD-style sockets API. * * The network sockets module provides an example integration of the * Mbed TLS library into a BSD sockets implementation. The module is * intended ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/net_sockets.h
C
apache-2.0
10,901
/** * \file nist_kw.h * * \brief This file provides an API for key wrapping (KW) and key wrapping with * padding (KWP) as defined in NIST SP 800-38F. * https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38F.pdf * * Key wrapping specifies a deterministic authenticated-encryptio...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/nist_kw.h
C
apache-2.0
7,542
/** * \file oid.h * * \brief Object Identifier (OID) database */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * Yo...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/oid.h
C
apache-2.0
32,100
/** * \file padlock.h * * \brief VIA PadLock ACE for HW encryption/decryption supported by some * processors * * \warning These functions are only for internal use by other library * functions; you must not call them directly. */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/padlock.h
C
apache-2.0
3,777
/** * \file pem.h * * \brief Privacy Enhanced Mail (PEM) decoding */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. *...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/pem.h
C
apache-2.0
4,935
/** * \file pk.h * * \brief Public Key abstraction layer */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * You may...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/pk.h
C
apache-2.0
28,837
/** * \file pk_internal.h * * \brief Public Key abstraction layer: wrapper functions */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance w...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/pk_internal.h
C
apache-2.0
4,592
/** * \file pkcs11.h * * \brief Wrapper for PKCS#11 library libpkcs11-helper * * \author Adriaan de Jong <dejong@fox-it.com> */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may *...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/pkcs11.h
C
apache-2.0
5,640
/** * \file pkcs12.h * * \brief PKCS#12 Personal Information Exchange Syntax */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/pkcs12.h
C
apache-2.0
5,089
/** * \file pkcs5.h * * \brief PKCS#5 functions * * \author Mathias Olsson <mathias@kompetensum.com> */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file exce...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/pkcs5.h
C
apache-2.0
3,360
/** * \file platform.h * * \brief This file contains the definitions and functions of the * Mbed TLS platform abstraction layer. * * The platform abstraction layer removes the need for the library * to directly link to standard C library functions or operating * system services, maki...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/platform.h
C
apache-2.0
13,140
/** * \file platform_time.h * * \brief mbed TLS Platform time abstraction */ /* * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the Lic...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/platform_time.h
C
apache-2.0
2,122
/** * \file platform_util.h * * \brief Common and shared functions used by multiple modules in the Mbed TLS * library. */ /* * Copyright (C) 2018, Arm Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/platform_util.h
C
apache-2.0
7,452
/** * \file poly1305.h * * \brief This file contains Poly1305 definitions and functions. * * Poly1305 is a one-time message authenticator that can be used to * authenticate messages. Poly1305-AES was created by Daniel * Bernstein https://cr.yp.to/mac/poly1305-20050329.pdf The generic...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/poly1305.h
C
apache-2.0
7,059
/** * \file ripemd160.h * * \brief RIPE MD-160 message digest */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * Yo...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/ripemd160.h
C
apache-2.0
6,902
/** * \file rsa.h * * \brief This file provides an API for the RSA public-key cryptosystem. * * The RSA public-key cryptosystem is defined in <em>Public-Key * Cryptography Standards (PKCS) #1 v1.5: RSA Encryption</em> * and <em>Public-Key Cryptography Standards (PKCS) #1 v2.1: * RSA Cryptography Specifications<...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/rsa.h
C
apache-2.0
64,294
/** * \file rsa_internal.h * * \brief Context-independent RSA helper functions * * This module declares some RSA-related helper functions useful when * implementing the RSA interface. These functions are provided in a separate * compilation unit in order to make it easy for designers of alternative RSA * im...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/rsa_internal.h
C
apache-2.0
9,001
/** * \file sha1.h * * \brief This file contains SHA-1 definitions and functions. * * The Secure Hash Algorithm 1 (SHA-1) cryptographic hash function is defined in * <em>FIPS 180-4: Secure Hash Standard (SHS)</em>. * * \warning SHA-1 is considered a weak message digest and its use constitutes * a ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/sha1.h
C
apache-2.0
12,818
/** * \file sha256.h * * \brief This file contains SHA-224 and SHA-256 definitions and functions. * * The Secure Hash Algorithms 224 and 256 (SHA-224 and SHA-256) cryptographic * hash functions are defined in <em>FIPS 180-4: Secure Hash Standard (SHS)</em>. */ /* * Copyright (C) 2006-2018, Arm Limited (or its ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/sha256.h
C
apache-2.0
11,018
/** * \file sha512.h * \brief This file contains SHA-384 and SHA-512 definitions and functions. * * The Secure Hash Algorithms 384 and 512 (SHA-384 and SHA-512) cryptographic * hash functions are defined in <em>FIPS 180-4: Secure Hash Standard (SHS)</em>. */ /* * Copyright (C) 2006-2018, Arm Limited (or its aff...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/sha512.h
C
apache-2.0
11,166
/** * \file ssl.h * * \brief SSL/TLS functions. */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/ssl.h
C
apache-2.0
152,089
/** * \file ssl_cache.h * * \brief SSL session cache implementation */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/ssl_cache.h
C
apache-2.0
4,194
/** * \file ssl_ciphersuites.h * * \brief SSL Ciphersuites for mbed TLS */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the Licen...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/ssl_ciphersuites.h
C
apache-2.0
25,940
/** * \file ssl_cookie.h * * \brief DTLS cookie callbacks implementation */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the Lice...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/ssl_cookie.h
C
apache-2.0
3,175
/** * \file ssl_internal.h * * \brief Internal functions shared by the SSL modules */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance wit...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/ssl_internal.h
C
apache-2.0
30,804
/** * \file ssl_ticket.h * * \brief TLS server ticket callbacks implementation */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with th...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/ssl_ticket.h
C
apache-2.0
4,329
/** * \file threading.h * * \brief Threading abstraction layer */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * Y...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/threading.h
C
apache-2.0
4,460
/** * \file timing.h * * \brief Portable interface to timeouts and to the CPU cycle counter */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compl...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/timing.h
C
apache-2.0
4,698
/** * \file version.h * * \brief Run-time version information */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * Yo...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/version.h
C
apache-2.0
3,391
/** * \file x509.h * * \brief X.509 generic defines and structures */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. ...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/x509.h
C
apache-2.0
15,374
/** * \file x509_crl.h * * \brief X.509 certificate revocation list parsing */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the L...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/x509_crl.h
C
apache-2.0
5,312
/** * \file x509_crt.h * * \brief X.509 certificate parsing and writing */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the Licen...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/x509_crt.h
C
apache-2.0
32,152
/** * \file x509_csr.h * * \brief X.509 certificate signing request parsing and writing */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in complianc...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/x509_csr.h
C
apache-2.0
10,017
/** * \file xtea.h * * \brief XTEA block cipher (32-bit) */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * You may...
YifuLiu/AliOS-Things
components/mbedtls/include/mbedtls/xtea.h
C
apache-2.0
3,623
option(USE_STATIC_MBEDTLS_LIBRARY "Build mbed TLS static library." ON) option(USE_SHARED_MBEDTLS_LIBRARY "Build mbed TLS shared library." OFF) option(LINK_WITH_PTHREAD "Explicitly link mbed TLS library to pthread." OFF) set(src_crypto aes.c aesni.c arc4.c aria.c asn1parse.c asn1write.c base...
YifuLiu/AliOS-Things
components/mbedtls/library/CMakeLists.txt
CMake
apache-2.0
5,099
# Also see "include/mbedtls/config.h" CFLAGS ?= -O2 WARNING_CFLAGS ?= -Wall -W -Wdeclaration-after-statement LDFLAGS ?= LOCAL_CFLAGS = $(WARNING_CFLAGS) -I../include -D_FILE_OFFSET_BITS=64 LOCAL_LDFLAGS = ifdef DEBUG LOCAL_CFLAGS += -g3 endif # MicroBlaze specific options: # CFLAGS += -mno-xl-soft-mul -mxl-barrel...
YifuLiu/AliOS-Things
components/mbedtls/library/Makefile
Makefile
apache-2.0
4,999
/* * FIPS-197 compliant AES implementation * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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 t...
YifuLiu/AliOS-Things
components/mbedtls/library/aes.c
C
apache-2.0
72,522
/* * AES-NI support functions * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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...
YifuLiu/AliOS-Things
components/mbedtls/library/aesni.c
C
apache-2.0
18,679
/* * An implementation of the ARCFOUR algorithm * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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...
YifuLiu/AliOS-Things
components/mbedtls/library/arc4.c
C
apache-2.0
4,610
/* * ARIA implementation * * Copyright (C) 2006-2017, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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 * ...
YifuLiu/AliOS-Things
components/mbedtls/library/aria.c
C
apache-2.0
38,981
/* * Generic ASN.1 parsing * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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 *...
YifuLiu/AliOS-Things
components/mbedtls/library/asn1parse.c
C
apache-2.0
9,303
/* * ASN.1 buffer writing functionality * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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 L...
YifuLiu/AliOS-Things
components/mbedtls/library/asn1write.c
C
apache-2.0
11,468
/* * RFC 1521 base64 encoding/decoding * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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 L...
YifuLiu/AliOS-Things
components/mbedtls/library/base64.c
C
apache-2.0
7,705
/* * Multi-precision integer library * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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 Lic...
YifuLiu/AliOS-Things
components/mbedtls/library/bignum.c
C
apache-2.0
64,960
/* * Blowfish implementation * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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 ...
YifuLiu/AliOS-Things
components/mbedtls/library/blowfish.c
C
apache-2.0
27,456
/* * Camellia implementation * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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 ...
YifuLiu/AliOS-Things
components/mbedtls/library/camellia.c
C
apache-2.0
37,086
/* * NIST SP800-38C compliant CCM implementation * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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 cop...
YifuLiu/AliOS-Things
components/mbedtls/library/ccm.c
C
apache-2.0
16,427
/* * X.509 test certificates * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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 ...
YifuLiu/AliOS-Things
components/mbedtls/library/certs.c
C
apache-2.0
21,688
/** * \file chacha20.c * * \brief ChaCha20 cipher. * * \author Daniel King <damaki.gh@gmail.com> * * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in co...
YifuLiu/AliOS-Things
components/mbedtls/library/chacha20.c
C
apache-2.0
20,027
/** * \file chachapoly.c * * \brief ChaCha20-Poly1305 AEAD construction based on RFC 7539. * * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance...
YifuLiu/AliOS-Things
components/mbedtls/library/chachapoly.c
C
apache-2.0
17,599
/** * \file cipher.c * * \brief Generic cipher wrapper for mbed TLS * * \author Adriaan de Jong <dejong@fox-it.com> * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use thi...
YifuLiu/AliOS-Things
components/mbedtls/library/cipher.c
C
apache-2.0
34,746
/** * \file cipher_wrap.c * * \brief Generic cipher wrapper for mbed TLS * * \author Adriaan de Jong <dejong@fox-it.com> * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not us...
YifuLiu/AliOS-Things
components/mbedtls/library/cipher_wrap.c
C
apache-2.0
55,118
/** * \file cmac.c * * \brief NIST SP800-38B compliant CMAC implementation for AES and 3DES * * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in complianc...
YifuLiu/AliOS-Things
components/mbedtls/library/cmac.c
C
apache-2.0
33,052
/* * CTR_DRBG implementation based on AES-256 (NIST SP 800-90) * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * You ma...
YifuLiu/AliOS-Things
components/mbedtls/library/ctr_drbg.c
C
apache-2.0
22,104