Searched refs:keySize (Results 1 - 25 of 124) sorted by path

12345

/macosx-10.9.5/CF-855.17/
H A DCFString.c1741 CFIndex keySize = strlen(cStr) + 1; local
1742 key = (char *)CFAllocatorAllocate(kCFAllocatorSystemDefault, keySize, 0);
1744 strlcpy(key, cStr, keySize); // !!! We will leak this, if the string is removed from the table (or table is freed)
/macosx-10.9.5/CommonCrypto-60049/include/
H A DCommonECCryptor.h373 @param keySize The EC Keysize.
386 CCECCryptorGetKeyComponents(CCECCryptorRef ecKey, size_t *keySize,
398 @param keySize The EC Keysize.
408 CCECCryptorCreateFromData(size_t keySize,
/macosx-10.9.5/CommonCrypto-60049/lib/
H A DCommonECCryptor.c43 size_t keySize; member in struct:_CCECCryptor
61 retval->keySize = nbits;
92 size_t nbits = theKey->keySize;
165 privateCryptor->keySize = nbits;
194 __Require((publicCryptor = ccMallocECCryptor(privateKey->keySize, ccECKeyPublic)) != NULL, errOut);
195 ccec_const_cp_t cp = ccec_get_cp(privateKey->keySize);
198 publicCryptor->keySize = privateKey->keySize;
212 CCECCryptorGetKeyComponents(CCECCryptorRef ecKey, size_t *keySize, argument
220 if(ccec_get_pubkey_components(ecKey->ecKey.public, keySize,
[all...]
H A DCommonRSACryptor.c57 size_t keySize; member in struct:_CCRSACryptor
67 retval->keySize = nbits;
208 if((publicCryptor = ccMallocRSACryptor(privateCryptor->keySize, ccRSAKeyPublic)) == NULL) return NULL;
232 return (int) cryptor->keySize;
276 cryptor->keySize = ccRSAkeysize(cryptor);
391 size_t keysizeBytes = (rsaKey->keySize+7)/8;
534 rsaKey->keySize = ccn_bitlen(n, ccrsa_ctx_m(rsaKey->fk));
/macosx-10.9.5/CommonCrypto-60049/test/CommonCrypto/
H A DCommonRSA.c17 size_t keySize = CCRSAGetKeySize(key);
18 return (keySize < 512 || keySize > 4096);
/macosx-10.9.5/Heimdal-323.92.1/lib/hcrypto/
H A Drsa-cdsa.c62 CSSM_KEY_SIZE keySize; local
134 ret = CSSM_QueryKeySizeInBits(cspHandle, 0, key, &keySize);
138 key->KeyHeader.LogicalKeySizeInBits = keySize.LogicalKeySizeInBits;
140 *keysize = (keySize.LogicalKeySizeInBits + 7) / 8;
/macosx-10.9.5/Heimdal-323.92.1/lib/ntlm/
H A Ddigest.c941 heim_digest_get_session_key(heim_digest_t context, void **key, size_t *keySize) argument
H A Dheim-auth.h122 heim_digest_get_session_key(heim_digest_t context, void **key, size_t *keySize);
/macosx-10.9.5/ICU-511.35/icuSources/i18n/
H A Ducol.cpp4533 int32_t keySize = 0; local
4554 keySize = sink.NumberOfBytesAppended();
4557 UTRACE_DATA2(UTRACE_VERBOSE, "Sort Key = %vb", result, keySize);
4559 return keySize;
/macosx-10.9.5/ICU-511.35/icuSources/samples/legacy/
H A Dlegacy.cpp49 void printKeys(const char *comment, uint8_t keys[][32], int32_t keySize) { argument
53 for(i = 0; i<keySize; i++) {
H A Dnewcol.cpp70 int32_t keySize = 0; local
77 keySize = getSortKey_current("ja", data[i], -1, keys[i], 32);
78 fprintf(stderr, "For i=%d, size of sortkey is %d\n", i, keySize);
H A Doldcol.cpp86 int32_t keySize = 0; local
94 keySize = getSortKey_legacy("ja", data[i], -1, keys[i], 32);
95 fprintf(stderr, "For i=%d, size of sortkey is %d\n", i, keySize);
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/libldap/
H A Dtls_m.c2767 int rc, keySize; local
2769 rc = SSL_SecurityStatus( s, NULL, NULL, NULL, &keySize,
2771 return rc ? 0 : keySize;
/macosx-10.9.5/OpenSSH-186/osslshim/ossl/
H A Dossl-dsa-cc.c48 CSSM_KEY_SIZE keySize;
131 ret = CSSM_QueryKeySizeInBits(cspHandle, 0, key, &keySize);
136 key->KeyHeader.LogicalKeySizeInBits = keySize.LogicalKeySizeInBits;
138 *keysize = (keySize.LogicalKeySizeInBits + 7) / 8;
H A Dossl-dsa-cdsa.c49 CSSM_KEY_SIZE keySize;
132 ret = CSSM_QueryKeySizeInBits(cspHandle, 0, key, &keySize);
137 key->KeyHeader.LogicalKeySizeInBits = keySize.LogicalKeySizeInBits;
139 *keysize = (keySize.LogicalKeySizeInBits + 7) / 8;
H A Dossl-rsa-cdsa.c76 CSSM_KEY_SIZE keySize; local
159 ret = CSSM_QueryKeySizeInBits(cspHandle, 0, key, &keySize);
164 key->KeyHeader.LogicalKeySizeInBits = keySize.LogicalKeySizeInBits;
166 *keysize = (keySize.LogicalKeySizeInBits + 7) / 8;
/macosx-10.9.5/Security-55471.14.18/include/security_cdsa_plugin/
H A DCSPsession.cpp840 CSSM_KEY_SIZE &keySize)
844 keySize);
846 getKeySize(CssmKey::required(key), keySize); local
837 QueryKeySizeInBits(CSSM_CC_HANDLE ccHandle, const Context *context, const CssmKey *key, CSSM_KEY_SIZE &keySize) argument
/macosx-10.9.5/Security-55471.14.18/include/security_cdsa_utils/
H A DcuCdsaUtils.cpp492 uint32 keySize, // in bits
512 keySize,
535 keySize, &dummy);
487 cuCspGenKeyPair(CSSM_CSP_HANDLE cspHand, CSSM_DL_DB_HANDLE *dlDbHand, uint32 algorithm, const char *keyLabel, unsigned keyLabelLen, uint32 keySize, CSSM_KEY_PTR pubKey, CSSM_KEYUSE pubKeyUsage, CSSM_KEYATTR_FLAGS pubAttrs, CSSM_KEY_PTR privKey, CSSM_KEYUSE privKeyUsage, CSSM_KEYATTR_FLAGS privAttrs) argument
H A DcuCdsaUtils.h114 uint32 keySize, // in bits
/macosx-10.9.5/Security-55471.14.18/include/security_cryptkit/
H A DcurveParams.c1123 feeReturn feeKeyBitsToDepth(unsigned keySize, argument
1129 switch(keySize) {
1204 feeReturn feeKeyBitsToDepth(unsigned keySize, argument
1210 switch(keySize) {
/macosx-10.9.5/Security-55471.14.18/include/security_filedb/
H A DDbIndex.cpp318 uint32 keySize = tableSection.at(keyOffset); local
319 DbIndexKey key(tableSection, Range(keyOffset + AtomSize, keySize), *this);
411 uint32 attributeIndex, WriteSection &keyData, uint32 keySize)
418 uint32 newKeySize = keySize;
468 offset = ws.put(offset, it->first.keySize());
469 offset = ws.put(offset, it->first.keySize(), it->first.keyData());
410 insertRecordMulti(uint32 recordNumber, const ReadSection &packedRecord, uint32 attributeIndex, WriteSection &keyData, uint32 keySize) argument
H A DDbIndex.h90 uint32 keySize() const { return mKeyRange.mSize; } function in class:Security::DbIndexKey
185 uint32 attributeIndex, WriteSection &keyData, uint32 keySize);
/macosx-10.9.5/Security-55471.14.18/include/security_keychain/
H A DAccess.cpp352 mKey.malloc(keySize);
H A DAccess.h51 static const size_t keySize = 16; // number of (random) bytes member in class:Security::KeychainCore::Access::Maker
H A DKeyItem.cpp471 CSSM_KEY_SIZE keySize = {}; local
475 &keySize);
479 return keySize.LogicalKeySizeInBits;

Completed in 359 milliseconds

12345