#ifndef __VERSION_H__
#define __VERSION_H__

#define VERSION "4.1.10"

#define TRUSTLET_TAG "DEVROOT#PROV"
// 4.1.10 : 2020.12.29 : Patch for DRI-110 : memory leaks
// 4.1.9  : 2020.12.29 : remove code related to DRK V1
// 4.1.8  : 2020.08.25 : Teegris SDK 4.2
// 4.1.7  : 2020.08.05 : modified to set the domain name 'alt.(hash_value).' to TA name when encap / decap
// 4.1.6  : 2020.04.08 : Patch for SI-17205, SI-17207, SI-17231, SI-17232
// 4.1.5  : 2020.04.01 : Patch the code has a possiblity of integer overflow in tlvAdd
// 4.1.4  : 2019.12.31 : Patch SI-15957, SI-15782.
// 4.1.3  : 2019.12.16 : Patch SI-15791, SI-15792
// 4.1.2  : 2019.11.26 : Modify TLV.c detected by AVAS
// 4.1.1  : 2019.10.16 : Security Issues
// 4.1.0  : 2019.07.24 : Fix SI-15154 : Input validation vulnerability when make response buffer
// 3.0.6  : 2019.07.08 : Modify SO information for TEEGRIS 4.0
// 3.0.5  : 2019.07.03 : Fix security issue on "TEEGRIS TA param type check" (SI-14944)
// 3.0.4  : 2019.02.14 : Fix SI-13985 : Possibility of Out-of-bounds write
// 3.0.3  : 2019.01.30 : bfAppMain retruns error without cleanup.
// 3.0.2  : 2019.01.24 : Prevent leap year problem.(If day is bigger than 28, modify day as 28).
// 3.0.1  : 2018.11.19 : Refactoring DRK & PROV.
//                       - Replace "NO_ERROR" to "NOT_ERROR".
// 2.0.29 : 2018.11.12 : Teegris 3.0 oem guideline.
//                       1. Assumptions on TA Deveopment - Check the shared buffer from REE in the TA
//                       2. Secure Object                - Check creator of Secure Object before unwrapping
// 2.0.28 : 2018.10.30 : Restore "ENABLE_LOG_ENCRYPTION" feature for Tizen.
// 2.0.27 : 2018.08.02 : Remove "ENABLE_LOG_ENCRYPTION" feature.
// 2.0.26 : 2018.04.13 : Block old commands and GAK / SAK commands in Tizen.
// 2.0.25 : 2018.04.04 : Fix memory leak issue at CRYPTO_EC_populate_keys(). // Crown prevent issue(CID : 67145)
// 2.0.24 : 2018.03.26 : Check BSP secure state at QC.
// 2.0.23 : 2018.02.21 : Change DRK version from v1 to v2 on SDM660.
// 2.0.22 : 2018.01.31 : Skip checking routine of shared buffer size because shared buffer size is reduced(40KB->32KB). - Related with 2.0.20
// 2.0.21 : 2018.01.29 : Fix wrong leap year calculation logic.
// 2.0.20 : 2018.01.18 : Change allocation memory size to 32KB under.
// 2.0.19 : 2017.12.21 : Change protocol to TLV for self testing command.
// 2.0.18 : 2017.12.19 : Add function of service certificate verification for self testing.
// 2.0.17 : 2017.12.18 : Support GAK/SAK provisioning for TeeGris projects using skeymaster v2.
// 2.0.16 : 2017.12.14 : Fix buffer overflow and padding drop issue for logEncryptor.
// 2.0.15 : 2017.12.11 : Add HSM CA PubKey for DRK v2, SAK to certParser.
// 2.0.14 : 2017.12.08 : Add DRK v1 certificate verification step on installing.
// 2.0.13 : 2017.12.05 : Apply stack protection requested by yj0729.kim.
// 2.0.12 : 2017.11.27 : Block DRK_CSR command when ENABLE_DRK_V1 feature is enabled.
//                       Add DRK v1 UID verification step on installing DRK v1.
// 2.0.11 : 2017.11.22 : Change IS_SUPPROTED_DRK_V2 command's value.
//                       Fix bugs reported by Prevent for Star VZW project. - CID 59609.
// 2.0.10 : 2017.11.20 : Fix bugs reported by Prevent for Star VZW project. - CID 59603, 59609, 59642.
//                       Add IS_SUPPORTED_DRK_V2 Command.
// 2.0.09 : 2017.10.17 : Fix bugs reported by Thales in payment audit - nessasary operand is misssed on size calculation routine.
// 2.0.08 : 2017.09.14 : Add SUBJECT_ALTER_NAME tag in TLV.
// 2.0.07 : 2017.07.10 : Disable DRK v1 writng on GREAT.
//                       Fix logEncryptor's buffer size is wrong.
// 2.0.06 : 2017.06.29 : Fix encrypted log can be broken by error.
//                       Add sharing DRK command when USE_QSEE_SFS is enabled.
// 2.0.05 : 2017.06.14 : Fix DRK v1 writing is failed on Blowfish.
// 2.0.04 : 2017.06.08 : Add feature of enabling / disabling DRK v1 writing.
// 2.0.03 : 2017.06.06 : Fixed to support MSM8916.
// 2.0.02 : 2017.06.01 : Fixed bugs reported by Thales in Great security evaluation.
// 2.0.01 : 2017.05.15 : Encrypt csr for SAK using RSA public key of HSM.
// 2.0.00 : 2017.04.20 : Applied new degisn to support DRK v2.0, Google attestation key, Samsung attestation key.
// 1.1.08 : 2016.09.20 : Added UIDs leaked from SEDA to black list.
// 1.1.07 : 2016.09.12 : Implemented function to check whether certificate is revoked.
// 1.1.06 : 2016.08.31 : Implemented secure world log encryptor.
// 1.1.05 : 2016.05.18 : Fixed not to call qsee_oem_process_cmd function via qsee syscall.
// 1.1.04 : 2016.05.18 : Added dm-verity patch on loading L->M FOTA.
// 1.1.03 : 2016.03.03 : Fixed some issues were reported by Riscure.
// 1.1.02 : 2015.12.21 : Changed not to use FS API on QSEE.
// 1.1.01 : 2015.11.17 : Changed prov TA number by changing memory map on MSM8996.
// 1.1.00 : 2015.10.29 : Version upgrade to distingush between CS and CSDEV.
// 1.0.22 : 2015.10.23 : Add CryptoCore support, add EC DRK support
// 1.0.21 : 2015.10.13 : Disable align function for TLV on blowfish.
// 1.0.20 : 2015.10.01 : Support Exynos8890.
// 1.0.19 : 2015.09.17 : Implemented build environment for MSM8996.
// 1.0.18 : 2015.06.09 : Change the method for getKeySize to use stat instead of seek. (Fix dmverity fail issue on recovery)
// 1.0.17 : 2015.05.27 : Support msm8x26 for TIZEN / Update exynos3250 for TIZEN to tbase3.2 from tbase3.0
// 1.0.16 : 2015.05.11 : Support MSM8992
// 1.0.15 : 2015.03.30 : Support Exynos3250/msm8974 for TIZEN
// 1.0.14 : 2014.12.23 : [MSM8994] Export DRK to SKM and store it in SKM
// 1.0.13 : 2014.11.25 : Support MSM8994(64BIT) / Convert store method for keys to using normal file system with REK encrytion from SFS
// 1.0.12 : 2014.11.06 : Support MCLSI_64BIT for ZEROLTE(Exynos7420)
// 1.0.11 : 2014.09.03 : Bakcout 1.0.10 / Rebuilt with the latest tzlib_proxy.lib and tzlib_entry.lib (APQ8084:Post-CS 1.2.1239.1 patch)
// 1.0.10 : 2014.08.28 : When writing a file to SFS, add O_SYNC flag to avoid file sync failure
// 1.0.9 : 2014.08.19 : Check secure state (is_jtag_disable_fuse_blown / is_secboot_fuse_blown / is_hw_key_ready) when writing DRK
// 1.0.8 : 2014.06.10 : Add Blowfish TZ support
// 1.0.7 : 2014.05.01 : Before DRK is written, Removing DRK which already exists is changed to do in Secure World
// 1.0.6 : 2014.04.27 : SKM access DRK via PROV
// 1.0.5 : 2013.10.26 : Support generation for all callers, sharing SK with other trustlets
// 1.0.4 : 2013.09.05 : Add workaround for broken blobs in Prov
// 1.0.3 : 2013.08.29 : Support Symm key
// 1.0.2 : 2013.08.18 : QC Rebuild with TZ M8974AAAAANAZT200083.2.

#endif  // End of __VERSION_H__
