Searched refs:keySize (Results 1 - 25 of 129) sorted by relevance

123456

/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/Security/
H A DsymCipherParams.c41 .keySize = 8,
51 .keySize = 24,
61 .keySize = 16,
69 .keySize = 16,
79 .keySize = 16,
89 .keySize = 32,
99 .keySize = 16,
107 .keySize = 32,
H A DsslNullCipher.c34 .keySize = 0,
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/lib/
H A DsymCipherParams.c41 .keySize = 8,
51 .keySize = 24,
61 .keySize = 16,
69 .keySize = 16,
79 .keySize = 16,
89 .keySize = 32,
99 .keySize = 16,
107 .keySize = 32,
H A DsslNullCipher.c34 .keySize = 0,
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/security_ssl/
H A DsymCipherParams.c41 .keySize = 8,
51 .keySize = 24,
61 .keySize = 16,
69 .keySize = 16,
79 .keySize = 16,
89 .keySize = 32,
99 .keySize = 16,
107 .keySize = 32,
H A DsslNullCipher.c34 .keySize = 0,
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_apple_csp/lib/
H A Dpkcs8.cpp89 CSSM_KEY_SIZE keySize; local
92 provider->QueryKeySizeInBits(keySize);
107 provider->QueryKeySizeInBits(keySize);
123 hdr.LogicalKeySizeInBits = keySize.LogicalKeySizeInBits;
199 CSSM_KEY_SIZE keySize; local
202 provider->QueryKeySizeInBits(keySize);
208 hdr.LogicalKeySizeInBits = keySize.LogicalKeySizeInBits;
H A DAppleCSPKeys.h74 CSSM_KEY_SIZE &keySize) = 0; // RETURNED
111 CSSM_KEY_SIZE &keySize); // RETURNED
H A DAppleCSPKeys.cpp66 CSSM_KEY_SIZE &keySize)
69 keySize.LogicalKeySizeInBits = keySize.EffectiveKeySizeInBits =
65 QueryKeySizeInBits( CSSM_KEY_SIZE &keySize) argument
H A DFEEKeys.h83 uint32 &keySize);
107 CSSM_KEY_SIZE &keySize); // RETURNED
H A DRSA_DSA_keys.h111 uint32 &keySize);
135 CSSM_KEY_SIZE &keySize); // RETURNED
185 uint32 &keySize);
235 CSSM_KEY_SIZE &keySize); // RETURNED
/macosx-10.10.1/Security-57031.1.35/Security/sec/SOSCircle/Regressions/
H A Dsc-51-persistentEC.c28 static SecKeyRef GeneratePermanentFullECKey(int keySize, CFStringRef name) argument
33 CFNumberRef key_size_num = CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, &keySize);
56 const int keySize = 256; local
59 SecKeyRef full_key = GeneratePermanentFullECKey(keySize, keyName);
63 CFNumberRef key_size_num = CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, &keySize);
/macosx-10.10.1/Security-57031.1.35/SecurityTests/cspxutils/genKeyPair/
H A DgenKeyPair.cpp33 uint32 keySize, // in bits
49 if(keySize == CSP_KEY_SIZE_DEFAULT) {
50 keySize = CSP_FEE_KEY_SIZE_DEFAULT;
54 if(keySize == CSP_KEY_SIZE_DEFAULT) {
55 keySize = CSP_RSA_KEY_SIZE_DEFAULT;
59 if(keySize == CSP_KEY_SIZE_DEFAULT) {
60 keySize = CSP_DSA_KEY_SIZE_DEFAULT;
74 keySize,
100 keySize, &dummy);
28 genKeyPair(CSSM_CSP_HANDLE cspHand, CSSM_DL_DB_HANDLE dlDbHand, uint32 algorithm, const char *keyLabel, unsigned keyLabelLen, uint32 keySize, CSSM_KEY_PTR pubKey, uint32 pubKeyUsage, CSSM_KEY_PTR privKey, uint32 privKeyUsage) argument
/macosx-10.10.1/ICU-531.30/icuSources/samples/legacy/
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.10.1/Security-57031.1.35/Security/sec/Security/
H A DSecOTRMath.h64 void DeriveOTR256BitsFromS(KeyType whichKey, size_t sSize, const cc_unit* s, size_t keySize, uint8_t* key);
72 void AES_CTR_HighHalf_Transform(size_t keySize, const uint8_t* key,
77 void AES_CTR_IV0_Transform(size_t keySize, const uint8_t* key,
H A DSecOTRMath.c83 static void AES_CTR_Transform(size_t keySize, const uint8_t* key, argument
89 ctr_encrypt->init(ctr_encrypt, ctr_ctx, keySize, key, iv);
94 void AES_CTR_HighHalf_Transform(size_t keySize, const uint8_t* key, argument
102 AES_CTR_Transform(keySize, key, iv, howMuch, from, to);
105 void AES_CTR_IV0_Transform(size_t keySize, const uint8_t* key, argument
108 AES_CTR_Transform(keySize, key, kIVZero, howMuch, from, to);
135 void DeriveOTR256BitsFromS(KeyType whichKey, cc_size sN, const cc_unit* s, size_t keySize, uint8_t* key) argument
/macosx-10.10.1/security_certtool-55109/src/
H A DCertUI.cpp198 unsigned keySize)
200 if(keySize < 512) {
203 if(keySize > 2048) {
210 unsigned keySize)
212 return((keySize >= 512) & (keySize <= 2048));
216 unsigned keySize)
218 switch(keySize) {
229 unsigned keySize)
231 switch(keySize) {
197 rsaKeySizeVerify( unsigned keySize) argument
209 dsaKeySizeVerify( unsigned keySize) argument
215 feeKeySizeVerify( unsigned keySize) argument
228 ecdsaKeySizeVerify( unsigned keySize) argument
[all...]
/macosx-10.10.1/Security-57031.1.35/SecurityTests/cspxutils/dbVerifyKey/
H A DdbVerifyKey.cpp55 uint32 keySize,
115 if(hdr.LogicalKeySizeInBits != keySize) {
117 (unsigned)keySize, (unsigned)hdr.LogicalKeySizeInBits);
147 uint32 keySize; local
185 keySize = atoi(argv[4]);
207 if(doVerify(dlDbHand, 1, recordType, keySize, keyAlg)) {
213 keySize, keyAlg)) {
51 doVerify( CSSM_DL_DB_HANDLE dlDbHand, unsigned numRecords, CSSM_DB_RECORDTYPE recordType, uint32 keySize, CSSM_ALGORITHMS keyAlg) argument
/macosx-10.10.1/hfs-285/fsck_hfs/dfalib/
H A DBTreeNodeOps.c491 UInt16 keySize; local
498 keySize = keyLength + sizeof(UInt16);
500 keySize = keyLength + sizeof(UInt8);
502 if ( M_IsOdd (keySize) )
503 ++keySize; // add pad byte
510 if ( freeSpace < keySize + recSize + 2)
522 dst = ((UInt8 *) src) + keySize + recSize;
529 InsertOffset (btreePtr, node, index, keySize + recSize);
553 bytesToMove = keySize - rawKeyLength;
560 dst = ((UInt8 *) node) + indexOffset + keySize;
699 UInt16 keySize; local
[all...]
H A DBTreeMiscOps.c43 Function: Rounds keySize and recSize so they will end on word boundaries.
46 Input: keySize - length of key (including length field)
54 UInt16 CalcKeyRecordSize (UInt16 keySize, argument
57 if ( M_IsOdd (keySize) ) keySize += 1; // pad byte
61 return (keySize + recSize);
496 UInt16 keySize; local
511 keySize = CalcKeySize(btreePtr, &iterator->key); // includes length field
513 spaceNeeded = CalcKeyRecordSize (keySize, recordLen);
523 if ( M_IsOdd (keySize) )
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/hfscommon/BTree/
H A DBTreeNodeOps.c96 <7> 5/10/93 gs Change keySize parameter to keyLength for InsertKeyRecord
574 u_int16_t keySize; local
581 keySize = keyLength + sizeof(u_int16_t);
583 keySize = keyLength + sizeof(u_int8_t);
585 if ( M_IsOdd (keySize) )
586 ++keySize; // add pad byte
593 if ( freeSpace < keySize + recSize + 2)
605 dst = ((u_int8_t *) src) + keySize + recSize;
613 InsertOffset (btreePtr, node, index, keySize + recSize);
637 bytesToMove = keySize
785 u_int16_t keySize; local
[all...]
H A DBTreeMiscOps.c123 Function: Rounds keySize and recSize so they will end on word boundaries.
126 Input: keySize - length of key (including length field)
134 u_int16_t CalcKeyRecordSize (u_int16_t keySize, argument
137 if ( M_IsOdd (keySize) ) keySize += 1; // pad byte
141 return (keySize + recSize);
587 u_int16_t keySize; local
602 keySize = CalcKeySize(btreePtr, &iterator->key); // includes length field
604 spaceNeeded = CalcKeyRecordSize (keySize, recordLen);
614 if ( M_IsOdd (keySize) )
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/sec/SOSCircle/SecureObjectSync/
H A DSOSInternal.h89 OSStatus GenerateECPair(int keySize, SecKeyRef* public, SecKeyRef *full);
90 OSStatus GeneratePermanentECPair(int keySize, SecKeyRef* public, SecKeyRef *full);
/macosx-10.10.1/CommonCrypto-60061/lib/
H A DCommonECCryptor.c43 size_t keySize; member in struct:_CCECCryptor
61 retval->keySize = nbits;
91 size_t nbits = theKey->keySize;
164 privateCryptor->keySize = nbits;
193 __Require((publicCryptor = ccMallocECCryptor(privateKey->keySize, ccECKeyPublic)) != NULL, errOut);
194 ccec_const_cp_t cp = ccec_get_cp(privateKey->keySize);
197 publicCryptor->keySize = privateKey->keySize;
211 CCECCryptorGetKeyComponents(CCECCryptorRef ecKey, size_t *keySize, argument
219 if(ccec_get_pubkey_components(ecKey->ecKey.public, keySize,
[all...]

Completed in 223 milliseconds

123456