Searched refs:pbuff (Results 1 – 6 of 6) sorted by relevance
/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/ |
D | phNxpEseDataMgr.cpp | 29 static ESESTATUS phNxpEse_GetDataFromList(uint32_t* data_len, uint8_t* pbuff); 40 uint8_t* pbuff = NULL; in phNxpEse_GetData() local 46 pbuff = (uint8_t*)phNxpEse_memalloc(total_len); in phNxpEse_GetData() 47 if (NULL == pbuff) { in phNxpEse_GetData() 52 if (ESESTATUS_SUCCESS != phNxpEse_GetDataFromList(&total_data_len, pbuff)) { in phNxpEse_GetData() 54 phNxpEse_free(pbuff); in phNxpEse_GetData() 60 phNxpEse_free(pbuff); in phNxpEse_GetData() 64 *pbuffer = pbuff; in phNxpEse_GetData() 81 ESESTATUS phNxpEse_StoreDatainList(uint32_t data_len, uint8_t* pbuff) { in phNxpEse_StoreDatainList() argument 91 phNxpEse_memcpy(newNode->tData.sbuffer, pbuff, data_len); in phNxpEse_StoreDatainList() [all …]
|
D | phNxpEseDataMgr.h | 35 ESESTATUS phNxpEse_GetData(uint32_t* data_len, uint8_t** pbuff); 36 ESESTATUS phNxpEse_StoreDatainList(uint32_t data_len, uint8_t* pbuff);
|
/hardware/st/secure_element/ese-spi-driver/utils-lib/ |
D | DataMgmt.cc | 30 static int DataMgmt_GetDataFromList(uint16_t* data_len, uint8_t* pbuff); 41 uint8_t* pbuff = NULL; in DataMgmt_GetData() local 47 pbuff = (uint8_t*)malloc(total_len); in DataMgmt_GetData() 48 if (NULL == pbuff) { in DataMgmt_GetData() 53 if (0 != DataMgmt_GetDataFromList(&total_data_len, pbuff)) { in DataMgmt_GetData() 55 free(pbuff); in DataMgmt_GetData() 61 free(pbuff); in DataMgmt_GetData() 65 *pbuffer = pbuff; in DataMgmt_GetData() 83 int DataMgmt_StoreDataInList(uint16_t data_len, uint8_t* pbuff) { in DataMgmt_StoreDataInList() argument 100 memcpy(newNode->tData.data, pbuff, data_len); in DataMgmt_StoreDataInList() [all …]
|
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/ |
D | phNxpEse_Apdu_Api.cpp | 136 uint8_t* pbuff = NULL; in phNxpEse_7816_FrameCmd() local 194 pbuff = (uint8_t*)phNxpEse_calloc(cmd_total_len, sizeof(uint8_t)); in phNxpEse_7816_FrameCmd() 195 if (pbuff == NULL) { in phNxpEse_7816_FrameCmd() 200 *pcmd_data = pbuff; in phNxpEse_7816_FrameCmd() 203 *(pbuff + index) = pCmd->cla; in phNxpEse_7816_FrameCmd() 206 *(pbuff + index) = pCmd->ins; in phNxpEse_7816_FrameCmd() 209 *(pbuff + index) = pCmd->p1; in phNxpEse_7816_FrameCmd() 212 *(pbuff + index) = pCmd->p2; in phNxpEse_7816_FrameCmd() 218 *(pbuff + index) = pCmd->lc; in phNxpEse_7816_FrameCmd() 222 *(pbuff + index) = 0x00; /* three byte lc */ in phNxpEse_7816_FrameCmd() [all …]
|
D | phNxpEseDataMgr.cpp | 27 static ESESTATUS phNxpEse_GetDataFromList(uint32_t* data_len, uint8_t* pbuff); 38 uint8_t* pbuff = NULL; in phNxpEse_GetData() local 42 pbuff = (uint8_t*)phNxpEse_memalloc(total_len); in phNxpEse_GetData() 43 if (NULL != pbuff) { in phNxpEse_GetData() 45 phNxpEse_GetDataFromList(&total_data_len, pbuff)) { in phNxpEse_GetData() 48 *pbuffer = pbuff; in phNxpEse_GetData() 59 phNxpEse_free(pbuff); in phNxpEse_GetData() 63 phNxpEse_free(pbuff); in phNxpEse_GetData() 89 ESESTATUS phNxpEse_StoreDatainList(uint32_t data_len, uint8_t* pbuff) { in phNxpEse_StoreDatainList() argument 100 phNxpEse_memcpy(newNode->tData.sbuffer, pbuff, data_len); in phNxpEse_StoreDatainList() [all …]
|
D | phNxpEseDataMgr.h | 45 ESESTATUS phNxpEse_GetData(uint32_t* data_len, uint8_t** pbuff); 46 ESESTATUS phNxpEse_StoreDatainList(uint32_t data_len, uint8_t* pbuff);
|