Searched defs:cbKey (Results 1 - 6 of 6) sorted by relevance
/vbox/src/VBox/Main/src-all/ |
H A D | SecretKeyStore.cpp | 26 SecretKey::SecretKey(const uint8_t *pbKey, size_t cbKey, bool fKeyBufNonPageable) argument 31 m_cbKey = cbKey; 33 int rc = RTMemSaferAllocZEx((void **)&this->m_pbKey, cbKey, 37 memcpy(this->m_pbKey, pbKey, cbKey); 40 rc = RTMemSaferScramble(this->m_pbKey, cbKey); 131 int SecretKeyStore::addSecretKey(const com::Utf8Str &strKeyId, const uint8_t *pbKey, size_t cbKey) argument 140 SecretKey *pKey = new SecretKey(pbKey, cbKey, m_fKeyBufNonPageable);
|
/vbox/src/VBox/Runtime/common/crypto/ |
H A D | store-inmem.cpp | 228 uint8_t *pbKey, size_t cbKey, size_t *pcbKeyRet) 227 rtCrStoreInMem_CertCtxQueryPrivateKey(void *pvProvider, PRTCRCERTCTXINT pCertCtx, uint8_t *pbKey, size_t cbKey, size_t *pcbKeyRet) argument
|
/vbox/src/VBox/Main/src-server/ |
H A D | ApplianceImpl.cpp | 639 size_t cbKey = aPasswords[i].length() + 1; /* Include terminator */ local 642 int rc = m->m_pSecretKeyStore->addSecretKey(aIdentifiers[i], pbKey, cbKey);
|
/vbox/src/VBox/Main/src-client/ |
H A D | ConsoleImpl2.cpp | 137 static int DarwinSmcKey(char *pabKey, uint32_t cbKey) argument 154 AssertReturn(cbKey >= 65, VERR_INTERNAL_ERROR);
|
H A D | ConsoleImpl.cpp | 3090 size_t cbKey = aPassword.length() + 1; /* Include terminator */ local 3093 int rc = m_pKeyStore->addSecretKey(aId, pbKey, cbKey); 4738 ssize_t cbKey = 0; local 4741 cbKey = RTBase64DecodedSize(pszKeyEnc, NULL); 4742 if (cbKey != -1) 4745 rc = RTMemSaferAllocZEx((void **)&pbKey, cbKey, RTMEMSAFER_F_REQUIRE_NOT_PAGABLE); 4748 rc = RTBase64Decode(pszKeyEnc, pbKey, cbKey, NULL, NULL); 4751 rc = m_pKeyStore->addSecretKey(Utf8Str(pszUuid), pbKey, cbKey); 4768 RTMemSaferFree(pbKey, cbKey);
|
/vbox/src/VBox/Storage/ |
H A D | VMDK.cpp | 1417 size_t cbKey = strlen(pszKey); local 1422 if (!strncmp(pDescriptor->aLines[uStart], pszKey, cbKey)) 1425 pszValue = pDescriptor->aLines[uStart] + cbKey; 1444 size_t cbKey = strlen(pszKey); local 1449 if (!strncmp(pDescriptor->aLines[uStart], pszKey, cbKey)) 1452 pszTmp = pDescriptor->aLines[uStart] + cbKey; 1514 cbKey = strlen(pszKey); 1516 ssize_t cbDiff = cbKey + 1 + cbValue + 1; 1537 memcpy(pDescriptor->aLines[uStart], pszKey, cbKey); 1538 pDescriptor->aLines[uStart][cbKey] [all...] |
Completed in 2257 milliseconds