Searched defs:pInfo (Results 1 - 22 of 22) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaGeneral.c242 meta_GetInfo(CK_INFO_PTR pInfo) argument
H A DmetaSlotToken.c82 meta_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) argument
92 if (pInfo == NULL) {
97 (void) memcpy(pInfo->slotDescription, METASLOT_SLOT_DESCRIPTION, 64);
98 (void) memcpy(pInfo->manufacturerID, METASLOT_MANUFACTURER_ID, 32);
99 pInfo->hardwareVersion.major = METASLOT_HARDWARE_VERSION_MAJOR;
100 pInfo->hardwareVersion.minor = METASLOT_HARDWARE_VERSION_MINOR;
101 pInfo->firmwareVersion.major = METASLOT_FIRMWARE_VERSION_MAJOR;
102 pInfo->firmwareVersion.minor = METASLOT_FIRMWARE_VERSION_MINOR;
115 pInfo->flags = CKF_TOKEN_PRESENT;
132 meta_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) argument
270 meta_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo) argument
[all...]
H A Dpkcs11General.c486 C_GetInfo(CK_INFO_PTR pInfo) argument
491 return (fast_funcs->C_GetInfo(pInfo));
497 if (pInfo == NULL) {
506 (void) strncpy((char *)pInfo->manufacturerID, MANUFACTURER_ID,
508 (void) strncpy((char *)pInfo->libraryDescription,
511 pInfo->cryptokiVersion.major = CRYPTOKI_VERSION_MAJOR;
512 pInfo->cryptokiVersion.minor = CRYPTOKI_VERSION_MINOR;
513 pInfo->flags = 0;
514 pInfo->libraryVersion.major = LIBRARY_VERSION_MAJOR;
515 pInfo
[all...]
H A Dpkcs11Session.c242 C_GetSessionInfo(CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR pInfo) argument
251 rv = fast_funcs->C_GetSessionInfo(hSession, pInfo);
261 pInfo->slotID = METASLOT_FRAMEWORK_ID;
282 C_GetSessionInfo(sessp->se_handle, pInfo);
290 pInfo->slotID = slot_id;
H A DmetaSession.c179 meta_GetSessionInfo(CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR pInfo) argument
184 if (pInfo == NULL)
191 pInfo->slotID = METASLOT_SLOTID;
192 pInfo->flags = session->session_flags;
196 pInfo->state = CKS_RO_USER_FUNCTIONS;
198 pInfo->state = CKS_RW_USER_FUNCTIONS;
202 pInfo->state = CKS_RO_PUBLIC_SESSION;
204 pInfo->state = CKS_RW_PUBLIC_SESSION;
208 pInfo->ulDeviceError = 0;
H A Dpkcs11SlotToken.c128 C_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) argument
139 return (fast_funcs->C_GetSlotInfo(slotID, pInfo));
143 return (meta_GetSlotInfo(METASLOT_SLOTID, pInfo));
151 rv = FUNCLIST(slotID)->C_GetSlotInfo(TRUEID(slotID), pInfo);
162 C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) argument
172 return (fast_funcs->C_GetTokenInfo(slotID, pInfo));
176 return (meta_GetTokenInfo(METASLOT_SLOTID, pInfo));
184 rv = FUNCLIST(slotID)->C_GetTokenInfo(TRUEID(slotID), pInfo);
713 CK_MECHANISM_INFO_PTR pInfo)
725 return (fast_funcs->C_GetMechanismInfo(slotID, type, pInfo));
712 C_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo) argument
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSession.c182 C_GetSessionInfo(CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR pInfo) argument
200 if (pInfo == NULL) {
209 pInfo->slotID = SOFTTOKEN_SLOTID;
210 pInfo->state = session_p->state;
211 pInfo->flags = session_p->flags;
212 pInfo->ulDeviceError = 0;
H A DsoftGeneral.c439 C_GetInfo(CK_INFO_PTR pInfo) argument
444 if (pInfo == NULL) {
449 pInfo->cryptokiVersion.major = CRYPTOKI_VERSION_MAJOR;
450 pInfo->cryptokiVersion.minor = CRYPTOKI_VERSION_MINOR;
451 (void) strncpy((char *)pInfo->manufacturerID,
453 pInfo->flags = 0;
454 (void) strncpy((char *)pInfo->libraryDescription,
456 pInfo->libraryVersion.major = LIBRARY_VERSION_MAJOR;
457 pInfo->libraryVersion.minor = LIBRARY_VERSION_MINOR;
H A DsoftSlotToken.c410 C_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) argument
416 if (pInfo == NULL)
424 (void) strncpy((char *)pInfo->slotDescription, SOFT_SLOT_DESCRIPTION,
426 (void) strncpy((char *)pInfo->manufacturerID, SOFT_MANUFACTURER_ID, 32);
427 pInfo->flags = CKF_TOKEN_PRESENT;
428 pInfo->hardwareVersion.major = HARDWARE_VERSION_MAJOR;
429 pInfo->hardwareVersion.minor = HARDWARE_VERSION_MINOR;
430 pInfo->firmwareVersion.major = FIRMWARE_VERSION_MAJOR;
431 pInfo->firmwareVersion.minor = FIRMWARE_VERSION_MINOR;
437 C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) argument
559 C_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo) argument
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelGeneral.c411 C_GetInfo(CK_INFO_PTR pInfo) argument
416 if (pInfo == NULL) {
422 pInfo->cryptokiVersion.major = CRYPTOKI_VERSION_MAJOR;
423 pInfo->cryptokiVersion.minor = CRYPTOKI_VERSION_MINOR;
424 (void) strncpy((char *)pInfo->manufacturerID,
426 pInfo->flags = 0;
427 (void) strncpy((char *)pInfo->libraryDescription,
429 pInfo->libraryVersion.major = LIBRARY_VERSION_MAJOR;
430 pInfo->libraryVersion.minor = LIBRARY_VERSION_MINOR;
H A DkernelSession.c179 C_GetSessionInfo(CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR pInfo) argument
188 if (pInfo == NULL)
200 pInfo->slotID = session_p->ses_slotid;
201 pInfo->flags = session_p->flags;
202 pInfo->ulDeviceError = 0;
203 pInfo->state = get_ses_state(session_p);
204 if (pInfo->state == (CK_STATE)-1) {
H A DkernelSlotToken.c82 C_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) argument
95 if (pInfo == NULL)
117 pInfo->slotDescription, CRYPTO_PROVIDER_DESCR_MAX_LEN);
119 pInfo->manufacturerID, CRYPTO_EXT_SIZE_MANUF);
120 pInfo->flags = CKF_TOKEN_PRESENT | CKF_HW_SLOT;
121 pInfo->hardwareVersion.major =
123 pInfo->hardwareVersion.minor =
125 pInfo->firmwareVersion.major =
127 pInfo->firmwareVersion.minor =
136 C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) argument
364 C_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo) argument
[all...]
H A DkernelUtil.c1228 CK_MECHANISM_INFO_PTR pInfo, uint32_t *k_mi_flags)
1321 pInfo->ulMinKeySize = mechanism_info.mi_min_key_size;
1322 pInfo->ulMaxKeySize = mechanism_info.mi_max_key_size;
1323 pInfo->flags = flags;
1227 get_mechanism_info(kernel_slot_t *pslot, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo, uint32_t *k_mi_flags) argument
/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsGeneral.c464 C_GetInfo(CK_INFO_PTR pInfo) argument
469 if (pInfo == NULL) {
474 pInfo->cryptokiVersion.major = CRYPTOKI_VERSION_MAJOR;
475 pInfo->cryptokiVersion.minor = CRYPTOKI_VERSION_MINOR;
476 (void) strncpy((char *)pInfo->manufacturerID,
478 pInfo->flags = 0;
479 (void) strncpy((char *)pInfo->libraryDescription,
481 pInfo->libraryVersion.major = LIBRARY_VERSION_MAJOR;
482 pInfo->libraryVersion.minor = LIBRARY_VERSION_MINOR;
H A DkmsSession.c171 C_GetSessionInfo(CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR pInfo) argument
180 if (pInfo == NULL)
192 pInfo->slotID = session_p->ses_slotid;
193 pInfo->flags = session_p->flags;
194 pInfo->ulDeviceError = 0;
195 pInfo->state = get_ses_state(session_p);
196 if (pInfo->state == (CK_STATE)-1) {
H A DkmsSlotToken.c97 C_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) argument
107 if (pInfo == NULL)
111 (void) strncpy((char *)pInfo->slotDescription, SLOT_DESCRIPTION,
113 (void) strncpy((char *)pInfo->manufacturerID, MANUFACTURER_ID, 32);
114 pInfo->flags = CKF_TOKEN_PRESENT;
115 pInfo->hardwareVersion.major = HARDWARE_VERSION_MAJOR;
116 pInfo->hardwareVersion.minor = HARDWARE_VERSION_MINOR;
117 pInfo->firmwareVersion.major = FIRMWARE_VERSION_MAJOR;
118 pInfo->firmwareVersion.minor = FIRMWARE_VERSION_MINOR;
124 C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) argument
227 C_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo) argument
[all...]
/osnet-11/usr/src/lib/libsqlite/src/
H A Dwhere.c173 static void exprAnalyze(ExprMaskSet *pMaskSet, ExprInfo *pInfo){ argument
174 Expr *pExpr = pInfo->p;
175 pInfo->prereqLeft = exprTableUsage(pMaskSet, pExpr->pLeft);
176 pInfo->prereqRight = exprTableUsage(pMaskSet, pExpr->pRight);
177 pInfo->prereqAll = exprTableUsage(pMaskSet, pExpr);
178 pInfo->indexable = 0;
179 pInfo->idxLeft = -1;
180 pInfo->idxRight = -1;
181 if( allowedOp(pExpr->op) && (pInfo->prereqRight & pInfo
[all...]
H A Dbtree.c1764 FreelistInfo *pInfo; local
1777 pInfo = (FreelistInfo*)pOvfl->aPayload;
1778 if( pInfo->nFree==0 ){
1784 n = SWAB32(pBt, pInfo->nFree);
1788 dist = SWAB32(pBt, pInfo->aFree[0]) - nearby;
1791 int d2 = SWAB32(pBt, pInfo->aFree[i]) - nearby;
1798 SWAB_ADD(pBt, pInfo->nFree, -1);
1799 *pPgno = SWAB32(pBt, pInfo->aFree[closest]);
1800 pInfo->aFree[closest] = pInfo
1852 FreelistInfo *pInfo = (FreelistInfo*)pFreeIdx->aPayload; local
3244 FreelistInfo *pInfo = (FreelistInfo*)pOvfl->aPayload; local
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dnew_host.c241 SC_GetTokenInfo(CK_SLOT_ID sid, CK_TOKEN_INFO_PTR pInfo) argument
249 if (pInfo == NULL)
255 (void) memcpy(pInfo, &nv_token_data->token_info,
259 (void) strftime((char *)pInfo->utcTime, 16, "%X", localtime(&now));
321 CK_MECHANISM_INFO_PTR pInfo)
331 if (pInfo == NULL) {
343 (void) memcpy(pInfo, &mech_list[i].mech_info,
639 CK_SESSION_INFO_PTR pInfo)
650 if (! pInfo) {
661 (void) memcpy(pInfo,
318 SC_GetMechanismInfo( CK_SLOT_ID sid, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo) argument
638 SC_GetSessionInfo(ST_SESSION_HANDLE sSession, CK_SESSION_INFO_PTR pInfo) argument
[all...]
H A Dapi_interface.c1334 C_GetInfo(CK_INFO_PTR pInfo) argument
1342 if (! pInfo) {
1345 (void) memset(pInfo, 0, sizeof (*pInfo));
1346 pInfo->cryptokiVersion.major = 2;
1347 pInfo->cryptokiVersion.minor = 20;
1359 (void) memcpy(pInfo->manufacturerID,
1361 sizeof (pInfo->manufacturerID) - 1);
1363 pInfo->flags = td.token_info.flags;
1365 (void) strcpy((char *)pInfo
1375 C_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo) argument
1480 C_GetSessionInfo(CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR pInfo) argument
1504 C_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) argument
1561 C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) argument
[all...]
/osnet-11/usr/src/lib/hbaapi/common/
H A DHBAAPILIB.c2257 HBA_GetRNIDMgmtInfo (HBA_HANDLE handle, HBA_MGMTINFO *pInfo) {
2269 status = (GetRNIDMgmtInfoFunc)(vendorHandle, pInfo);
2251 HBA_GetRNIDMgmtInfo(HBA_HANDLE handle, HBA_MGMTINFO *pInfo) argument
/osnet-11/usr/src/lib/smhba/common/
H A DSMHBAAPILIB.c2594 HBA_GetRNIDMgmtInfo(HBA_HANDLE handle, HBA_MGMTINFO *pInfo) { argument
2606 status = (GetRNIDMgmtInfoFunc)(vendorHandle, pInfo);

Completed in 112 milliseconds