1*4882a593SmuzhiyunSUMMARY = "Lightweight crypto and SSL/TLS library" 2*4882a593SmuzhiyunDESCRIPTION = "mbedtls is a lean open source crypto library \ 3*4882a593Smuzhiyunfor providing SSL and TLS support in your programs. It offers \ 4*4882a593Smuzhiyunan intuitive API and documented header files, so you can actually \ 5*4882a593Smuzhiyununderstand what the code does. It features: \ 6*4882a593Smuzhiyun \ 7*4882a593Smuzhiyun - Symmetric algorithms, like AES, Blowfish, Triple-DES, DES, ARC4, \ 8*4882a593Smuzhiyun Camellia and XTEA \ 9*4882a593Smuzhiyun - Hash algorithms, like SHA-1, SHA-2, RIPEMD-160 and MD5 \ 10*4882a593Smuzhiyun - Entropy pool and random generators, like CTR-DRBG and HMAC-DRBG \ 11*4882a593Smuzhiyun - Public key algorithms, like RSA, Elliptic Curves, Diffie-Hellman, \ 12*4882a593Smuzhiyun ECDSA and ECDH \ 13*4882a593Smuzhiyun - SSL v3 and TLS 1.0, 1.1 and 1.2 \ 14*4882a593Smuzhiyun - Abstraction layers for ciphers, hashes, public key operations, \ 15*4882a593Smuzhiyun platform abstraction and threading \ 16*4882a593Smuzhiyun" 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunHOMEPAGE = "https://tls.mbed.org/" 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunLICENSE = "Apache-2.0" 21*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunSECTION = "libs" 24*4882a593Smuzhiyun 25*4882a593SmuzhiyunS = "${WORKDIR}/git" 26*4882a593SmuzhiyunSRCREV = "89f040a5c938985c5f30728baed21e49d0846a53" 27*4882a593SmuzhiyunSRC_URI = "git://github.com/ARMmbed/mbedtls.git;protocol=https;branch=mbedtls-2.28" 28*4882a593Smuzhiyun 29*4882a593Smuzhiyuninherit cmake 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunPACKAGECONFIG ??= "shared-libs programs" 32*4882a593SmuzhiyunPACKAGECONFIG[shared-libs] = "-DUSE_SHARED_MBEDTLS_LIBRARY=ON,-DUSE_SHARED_MBEDTLS_LIBRARY=OFF" 33*4882a593SmuzhiyunPACKAGECONFIG[programs] = "-DENABLE_PROGRAMS=ON,-DENABLE_PROGRAMS=OFF" 34*4882a593SmuzhiyunPACKAGECONFIG[werror] = "-DMBEDTLS_FATAL_WARNINGS=ON,-DMBEDTLS_FATAL_WARNINGS=OFF" 35*4882a593Smuzhiyun 36*4882a593SmuzhiyunEXTRA_OECMAKE = "-DENABLE_TESTING=OFF -DLIB_INSTALL_DIR:STRING=${libdir}" 37*4882a593Smuzhiyun 38*4882a593SmuzhiyunPROVIDES += "polarssl" 39*4882a593SmuzhiyunRPROVIDES:${PN} = "polarssl" 40*4882a593Smuzhiyun 41*4882a593SmuzhiyunPACKAGES =+ "${PN}-programs" 42*4882a593SmuzhiyunFILES:${PN}-programs = "${bindir}/" 43*4882a593Smuzhiyun 44*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk" 45