Home
last modified time | relevance | path

Searched refs:pSignatureFile (Results 1 – 6 of 6) sorted by relevance

/hardware/ti/omap4xxx/security/tee_client_api/
Dtee_client_api_linux_driver.c669 FILE* pSignatureFile = NULL; in TEEC_ReadSignatureFile() local
685 pSignatureFile = fopen(sFileName, "rb"); in TEEC_ReadSignatureFile()
686 if (pSignatureFile == NULL) in TEEC_ReadSignatureFile()
692 if (fseek(pSignatureFile, 0, SEEK_END) != 0) in TEEC_ReadSignatureFile()
700 nFileSize = ftell(pSignatureFile); in TEEC_ReadSignatureFile()
722 rewind(pSignatureFile); in TEEC_ReadSignatureFile()
724 nBytesRead = fread(pSignature, 1, nSignatureSize, pSignatureFile); in TEEC_ReadSignatureFile()
733 fclose(pSignatureFile); in TEEC_ReadSignatureFile()
741 fclose(pSignatureFile); in TEEC_ReadSignatureFile()
/hardware/ti/omap4-aah/security/tee_client_api/
Dtee_client_api_linux_driver.c677 FILE* pSignatureFile = NULL; in TEEC_ReadSignatureFile() local
693 pSignatureFile = fopen(sFileName, "rb"); in TEEC_ReadSignatureFile()
694 if (pSignatureFile == NULL) in TEEC_ReadSignatureFile()
700 if (fseek(pSignatureFile, 0, SEEK_END) != 0) in TEEC_ReadSignatureFile()
708 nFileSize = ftell(pSignatureFile); in TEEC_ReadSignatureFile()
730 rewind(pSignatureFile); in TEEC_ReadSignatureFile()
732 nBytesRead = fread(pSignature, 1, nSignatureSize, pSignatureFile); in TEEC_ReadSignatureFile()
741 fclose(pSignatureFile); in TEEC_ReadSignatureFile()
749 fclose(pSignatureFile); in TEEC_ReadSignatureFile()
/hardware/ti/omap4-aah/security/tf_crypto_sst/
Dpkcs11_session.c62 char* pSignatureFile = NULL; in C_OpenSession() local
146 nTeeError = TEEC_ReadSignatureFile((void **)&pSignatureFile, &nSignatureFileLen); in C_OpenSession()
154 sOperation.params[3].tmpref.buffer = pSignatureFile; in C_OpenSession()
Dsst_stub.c87 void* pSignatureFile = NULL; in SSTInit() local
108 nTeeError = TEEC_ReadSignatureFile(&pSignatureFile, &nSignatureFileLen); in SSTInit()
119 sOperation.params[3].tmpref.buffer = pSignatureFile; in SSTInit()
/hardware/ti/omap4xxx/security/tf_crypto_sst/
Dpkcs11_session.c62 char* pSignatureFile = NULL; in C_OpenSession() local
146 nTeeError = TEEC_ReadSignatureFile((void **)&pSignatureFile, &nSignatureFileLen); in C_OpenSession()
154 sOperation.params[3].tmpref.buffer = pSignatureFile; in C_OpenSession()
Dsst_stub.c88 void* pSignatureFile = NULL; in SSTInit() local
109 nTeeError = TEEC_ReadSignatureFile(&pSignatureFile, &nSignatureFileLen); in SSTInit()
120 sOperation.params[3].tmpref.buffer = pSignatureFile; in SSTInit()