diff options
Diffstat (limited to 'include/SecTzSvc.h')
-rw-r--r-- | include/SecTzSvc.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/SecTzSvc.h b/include/SecTzSvc.h index 5ac5886..c4485e3 100644 --- a/include/SecTzSvc.h +++ b/include/SecTzSvc.h @@ -58,7 +58,10 @@ typedef unsigned long TZCRYPT_UINT64; * return SEC_CRYPTO_SUCCESS if operation has been succesfully completed. (Refer to the tlc error code) */ __attribute__((visibility("default"))) -TZCRYPT_Result SecEncryptTZCrypt(TZCRYPT_UINT8 *Src, TZCRYPT_UINT32 SrcLen, TZCRYPT_UINT8 *Dst, TZCRYPT_UINT32 *DstLen, TZCRYPT_UINT8 *AppInfo, TZCRYPT_UINT32 AppInfoLen, TZCRYPT_UINT8 *WrapAppInfo, TZCRYPT_UINT32 *WrapAppInfoLen); +TZCRYPT_Result SecEncryptTZCrypt(TZCRYPT_UINT8 *Src, TZCRYPT_UINT32 SrcLen, + TZCRYPT_UINT8 *Dst, TZCRYPT_UINT32 *DstLen, TZCRYPT_UINT8 *AppInfo, + TZCRYPT_UINT32 AppInfoLen, TZCRYPT_UINT8 *WrapAppInfo, + TZCRYPT_UINT32 *WrapAppInfoLen); /* * This function provides an decryption of user data. @@ -76,7 +79,10 @@ TZCRYPT_Result SecEncryptTZCrypt(TZCRYPT_UINT8 *Src, TZCRYPT_UINT32 SrcLen, TZCR * If a given application information (identifier) is wrong, then return UNIT_TEXT_HASH_ERROR */ __attribute__((visibility("default"))) -TZCRYPT_Result SecDecryptTZCrypt(TZCRYPT_UINT8 *Src, TZCRYPT_UINT32 SrcLen, TZCRYPT_UINT8 *Dst, TZCRYPT_UINT32 *DstLen, TZCRYPT_UINT8 *AppInfo, TZCRYPT_UINT32 AppInfoLen, TZCRYPT_UINT8 *WrapAppInfo, TZCRYPT_UINT32 WrapAppInfoLen); +TZCRYPT_Result SecDecryptTZCrypt(TZCRYPT_UINT8 *Src, TZCRYPT_UINT32 SrcLen, + TZCRYPT_UINT8 *Dst, TZCRYPT_UINT32 *DstLen, TZCRYPT_UINT8 *AppInfo, + TZCRYPT_UINT32 AppInfoLen, TZCRYPT_UINT8 *WrapAppInfo, + TZCRYPT_UINT32 WrapAppInfoLen); /* * This function provides the length of a given src len |