/macosx-10.9.5/Security-55471.14.18/include/security_pkcs12/ |
H A D | pkcs12Crypto.h | 47 uint32 keySizeInBits, 66 uint32 keySizeInBits, 87 uint32 keySizeInBits, 126 uint32 keySizeInBits, 155 uint32 keySizeInBits,
|
H A D | pkcs12Crypto.cpp | 47 uint32 keySizeInBits, 92 keySizeInBits, 131 uint32 keySizeInBits, 159 keySizeInBits, iterCount, salt, pwd, passKey, iv); 222 uint32 keySizeInBits, 250 keySizeInBits, iterCount, salt, pwd, passKey, iv); 325 unsigned keySizeInBits; local 329 keySizeInBits = 160; 334 keySizeInBits = 128; 343 keySizeInBits, iterCoun 41 p12KeyGen( CSSM_CSP_HANDLE cspHand, CSSM_KEY &key, bool isForEncr, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 iterCount, const CSSM_DATA &salt, const CSSM_DATA *pwd, const CSSM_KEY *passKey, CSSM_DATA &iv) argument 125 p12Decrypt( CSSM_CSP_HANDLE cspHand, const CSSM_DATA &cipherText, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS encrAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 blockSizeInBytes, CSSM_PADDING padding, CSSM_ENCRYPT_MODE mode, uint32 iterCount, const CSSM_DATA &salt, const CSSM_DATA *pwd, const CSSM_KEY *passKey, SecNssCoder &coder, CSSM_DATA &plainText) argument 216 p12Encrypt( CSSM_CSP_HANDLE cspHand, const CSSM_DATA &plainText, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS encrAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 blockSizeInBytes, CSSM_PADDING padding, CSSM_ENCRYPT_MODE mode, uint32 iterCount, const CSSM_DATA &salt, const CSSM_DATA *pwd, const CSSM_KEY *passKey, SecNssCoder &coder, CSSM_DATA &cipherText) argument 372 p12UnwrapKey( CSSM_CSP_HANDLE cspHand, CSSM_DL_DB_HANDLE_PTR dlDbHand, int keyIsPermanent, const CSSM_DATA &shroudedKeyBits, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS encrAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 blockSizeInBytes, CSSM_PADDING padding, CSSM_ENCRYPT_MODE mode, uint32 iterCount, const CSSM_DATA &salt, const CSSM_DATA *pwd, const CSSM_KEY *passKey, SecNssCoder &coder, const CSSM_DATA &labelData, SecAccessRef access, bool noAcl, CSSM_KEYUSE keyUsage, CSSM_KEYATTR_FLAGS keyAttrs, CSSM_KEY_PTR &privKey) argument 544 p12WrapKey( CSSM_CSP_HANDLE cspHand, CSSM_KEY_PTR privKey, const CSSM_ACCESS_CREDENTIALS *privKeyCreds, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS encrAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 blockSizeInBytes, CSSM_PADDING padding, CSSM_ENCRYPT_MODE mode, uint32 iterCount, const CSSM_DATA &salt, const CSSM_DATA *pwd, const CSSM_KEY *passKey, SecNssCoder &coder, CSSM_DATA &shroudedKeyBits) argument [all...] |
/macosx-10.9.5/Security-55471.14.18/libsecurity_pkcs12/lib/ |
H A D | pkcs12Crypto.h | 47 uint32 keySizeInBits, 66 uint32 keySizeInBits, 87 uint32 keySizeInBits, 126 uint32 keySizeInBits, 155 uint32 keySizeInBits,
|
H A D | pkcs12Crypto.cpp | 47 uint32 keySizeInBits, 92 keySizeInBits, 131 uint32 keySizeInBits, 159 keySizeInBits, iterCount, salt, pwd, passKey, iv); 222 uint32 keySizeInBits, 250 keySizeInBits, iterCount, salt, pwd, passKey, iv); 325 unsigned keySizeInBits; local 329 keySizeInBits = 160; 334 keySizeInBits = 128; 343 keySizeInBits, iterCoun 41 p12KeyGen( CSSM_CSP_HANDLE cspHand, CSSM_KEY &key, bool isForEncr, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 iterCount, const CSSM_DATA &salt, const CSSM_DATA *pwd, const CSSM_KEY *passKey, CSSM_DATA &iv) argument 125 p12Decrypt( CSSM_CSP_HANDLE cspHand, const CSSM_DATA &cipherText, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS encrAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 blockSizeInBytes, CSSM_PADDING padding, CSSM_ENCRYPT_MODE mode, uint32 iterCount, const CSSM_DATA &salt, const CSSM_DATA *pwd, const CSSM_KEY *passKey, SecNssCoder &coder, CSSM_DATA &plainText) argument 216 p12Encrypt( CSSM_CSP_HANDLE cspHand, const CSSM_DATA &plainText, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS encrAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 blockSizeInBytes, CSSM_PADDING padding, CSSM_ENCRYPT_MODE mode, uint32 iterCount, const CSSM_DATA &salt, const CSSM_DATA *pwd, const CSSM_KEY *passKey, SecNssCoder &coder, CSSM_DATA &cipherText) argument 372 p12UnwrapKey( CSSM_CSP_HANDLE cspHand, CSSM_DL_DB_HANDLE_PTR dlDbHand, int keyIsPermanent, const CSSM_DATA &shroudedKeyBits, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS encrAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 blockSizeInBytes, CSSM_PADDING padding, CSSM_ENCRYPT_MODE mode, uint32 iterCount, const CSSM_DATA &salt, const CSSM_DATA *pwd, const CSSM_KEY *passKey, SecNssCoder &coder, const CSSM_DATA &labelData, SecAccessRef access, bool noAcl, CSSM_KEYUSE keyUsage, CSSM_KEYATTR_FLAGS keyAttrs, CSSM_KEY_PTR &privKey) argument 544 p12WrapKey( CSSM_CSP_HANDLE cspHand, CSSM_KEY_PTR privKey, const CSSM_ACCESS_CREDENTIALS *privKeyCreds, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS encrAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 blockSizeInBytes, CSSM_PADDING padding, CSSM_ENCRYPT_MODE mode, uint32 iterCount, const CSSM_DATA &salt, const CSSM_DATA *pwd, const CSSM_KEY *passKey, SecNssCoder &coder, CSSM_DATA &shroudedKeyBits) argument [all...] |
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/regressions/ |
H A D | kc-41-sececkey.c | 152 static void testkeygen(size_t keySizeInBits) { argument 154 size_t keySizeInBytes = (keySizeInBits + 7) / 8; 157 kzib = CFNumberCreate(NULL, kCFNumberSInt32Type, &keySizeInBits); 164 "Generate %ld bit (%ld byte) EC keypair", keySizeInBits, 173 is(SecKeyGetSize(pubKey, kSecKeyKeySizeInBits), (size_t) keySizeInBits, "public key size is ok"); 174 is(SecKeyGetSize(privKey, kSecKeyKeySizeInBits), (size_t) keySizeInBits, "private key size is ok"); 224 static void testkeygen2(size_t keySizeInBits) { argument 226 size_t keySizeInBytes = (keySizeInBits + 7) / 8; 245 kzib = CFNumberCreate(NULL, kCFNumberSInt32Type, &keySizeInBits); 256 keySizeInBits, keySizeInByte [all...] |
H A D | kc-40-seckey.c | 195 static void testkeygen(size_t keySizeInBits) { argument 197 size_t keySizeInBytes = (keySizeInBits + 7) / 8; 200 kzib = CFNumberCreate(NULL, kCFNumberSInt32Type, &keySizeInBits); 207 "Generate %ld bit (%ld byte) RSA keypair", keySizeInBits, 216 is(SecKeyGetSize(pubKey, kSecKeyKeySizeInBits), (size_t) keySizeInBits, "public key size is ok"); 217 is(SecKeyGetSize(privKey, kSecKeyKeySizeInBits), (size_t) keySizeInBits, "private key size is ok"); 296 if (keySizeInBits > 224 + pkcs1Overhead) { 307 if (keySizeInBits > 256 + pkcs1Overhead) { 318 if (keySizeInBits > 384 + pkcs1Overhead) { 329 if (keySizeInBits > 51 384 testkeygen2(size_t keySizeInBits) argument [all...] |
/macosx-10.9.5/Security-55471.14.18/sec/Security/Regressions/secitem/ |
H A D | si-41-sececkey.c | 104 static void testkeygen(size_t keySizeInBits) { argument 106 size_t keySizeInBytes = (keySizeInBits + 7) / 8; 108 int32_t keysz32 = (int32_t)keySizeInBits; 117 "Generate %ld bit (%ld byte) EC keypair", keySizeInBits, 126 is(SecKeyGetSize(pubKey, kSecKeyKeySizeInBits), (size_t) keySizeInBits, "public key size is ok"); 127 is(SecKeyGetSize(privKey, kSecKeyKeySizeInBits), (size_t) keySizeInBits, "private key size is ok"); 171 static void testkeygen2(size_t keySizeInBits) { argument 173 size_t keySizeInBytes = (keySizeInBits + 7) / 8; 175 int32_t keysz32 = (int32_t)keySizeInBits; 204 keySizeInBits, keySizeInByte [all...] |
H A D | si-40-seckey.c | 159 static void testkeygen(size_t keySizeInBits) { argument 161 size_t keySizeInBytes = (keySizeInBits + 7) / 8; 164 kzib = CFNumberCreate(NULL, kCFNumberSInt32Type, &keySizeInBits); 171 "Generate %ld bit (%ld byte) RSA keypair", keySizeInBits, 180 is(SecKeyGetSize(pubKey, kSecKeyKeySizeInBits), (size_t) keySizeInBits, "public key size is ok"); 181 is(SecKeyGetSize(privKey, kSecKeyKeySizeInBits), (size_t) keySizeInBits, "private key size is ok"); 247 if (keySizeInBits > 224 + pkcs1Overhead) { 258 if (keySizeInBits > 256 + pkcs1Overhead) { 269 if (keySizeInBits > 384 + pkcs1Overhead) { 280 if (keySizeInBits > 51 328 testkeygen2(size_t keySizeInBits) argument [all...] |
/macosx-10.9.5/Security-55471.14.18/include/security_keychain/ |
H A D | SecKey.cpp | 63 uint32 keySizeInBits, 84 keySizeInBits, 107 uint32 keySizeInBits, 117 OSStatus result = SecKeyCreatePairInternal(keychainRef, algorithm, keySizeInBits, contextHandle, publicKeyUsage, 247 uint32 keySizeInBits, 267 keySizeInBits, 284 uint32 keySizeInBits, 292 keychainRef, algorithm, keySizeInBits, 392 static OSStatus GetKeySize(CFDictionaryRef parameters, CSSM_ALGORITHMS algorithms, uint32 &keySizeInBits) argument 398 keySizeInBits 60 SecKeyCreatePairInternal( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE publicKeyUsage, uint32 publicKeyAttr, CSSM_KEYUSE privateKeyUsage, uint32 privateKeyAttr, SecAccessRef initialAccess, SecKeyRef* publicKeyRef, SecKeyRef* privateKeyRef) argument 104 SecKeyCreatePair( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE publicKeyUsage, uint32 publicKeyAttr, CSSM_KEYUSE privateKeyUsage, uint32 privateKeyAttr, SecAccessRef initialAccess, SecKeyRef* publicKeyRef, SecKeyRef* privateKeyRef) argument 243 SecKeyGenerateWithAttributes( SecKeychainAttributeList* attrList, SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE keyUsage, uint32 keyAttr, SecAccessRef initialAccess, SecKeyRef* keyRef) argument 281 SecKeyGenerate( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE keyUsage, uint32 keyAttr, SecAccessRef initialAccess, SecKeyRef* keyRef) argument 638 MakeKeyGenParametersFromDictionary(CFDictionaryRef parameters, CSSM_ALGORITHMS &algorithms, uint32 &keySizeInBits, CSSM_KEYUSE &publicKeyUse, uint32 &publicKeyAttr, CFTypeRef &publicKeyLabelRef, CFDataRef &publicKeyAttributeTagRef, CSSM_KEYUSE &privateKeyUse, uint32 &privateKeyAttr, CFTypeRef &privateKeyLabelRef, CFDataRef &privateKeyAttributeTagRef, SecAccessRef &initialAccess) argument 774 uint32 keySizeInBits; local 1036 utilGetKeyParametersFromCFDict(CFDictionaryRef parameters, CSSM_ALGORITHMS *algorithm, uint32 *keySizeInBits, CSSM_KEYUSE *keyUsage, CSSM_KEYCLASS *keyClass) argument 1143 uint32 keySizeInBits; local 1266 uint32 keySizeInBits; local [all...] |
H A D | SecImportExportPkcs8.cpp | 78 uint32 keySizeInBits, 149 keySizeInBits, 203 uint32 *keySizeInBits, // IN/OUT (returned if 0 on entry) 214 if(*keySizeInBits == 0) { 215 *keySizeInBits = 3 * 64; 221 if(*keySizeInBits == 0) { 222 *keySizeInBits = 64; 237 uint32 *keySizeInBits, // IN/OUT (returned if 0 on entry) 285 if(*keySizeInBits == 0) { 300 uint32 *keySizeInBits, // I 71 pkcs5_v15_genKey( CSSM_CSP_HANDLE cspHand, SecNssCoder &coder, const SecKeyImportExportParameters *keyParams, const CSSM_DATA ¶mData, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 blockSizeInBytes, impExpKeyUnwrapParams *unwrapParams) argument 198 pkcs5_DES_params( const CSSM_DATA ¶mData, CSSM_OID *encrOid, impExpKeyUnwrapParams *unwrapParams, CSSM_ALGORITHMS *keyAlg, uint32 *keySizeInBits, SecNssCoder &coder) argument 233 pkcs5_RC2_params( const CSSM_DATA ¶mData, impExpKeyUnwrapParams *unwrapParams, CSSM_ALGORITHMS *keyAlg, uint32 *keySizeInBits, SecNssCoder &coder) argument 296 pkcs5_RC5_params( const CSSM_DATA ¶mData, impExpKeyUnwrapParams *unwrapParams, CSSM_ALGORITHMS *keyAlg, uint32 *keySizeInBits, SecNssCoder &coder) argument 352 pbkdf2DeriveKey( CSSM_CSP_HANDLE cspHand, SecNssCoder &coder, CSSM_ALGORITHMS keyAlg, uint32 keySizeInBits, uint32 iterationCount, const CSSM_DATA &salt, const SecKeyImportExportParameters *keyParams, impExpVerifyPhrase verifyPhrase, CSSM_KEY_PTR symKey) argument 506 uint32 keySizeInBits = 0; local 584 pkcs12_genKey( CSSM_CSP_HANDLE cspHand, SecNssCoder &coder, const SecKeyImportExportParameters *keyParams, const CSSM_DATA ¶mData, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 blockSizeInBytes, impExpKeyUnwrapParams *unwrapParams) argument 701 uint32 keySizeInBits; local [all...] |
H A D | SecWrappedKeys.cpp | 97 uint32 &keySizeInBits, 152 keySizeInBits = 64 * 3; 158 keySizeInBits = 64; 207 uint32 keySizeInBits, 242 keySizeInBits, 304 uint32 keySizeInBits; local 315 keySizeInBits, 326 keySizeInBits, 88 opensslPbeParams( CFArrayRef paramLines, SecNssCoder &coder, CSSM_ALGORITHMS &pbeAlg, CSSM_ALGORITHMS &keyAlg, CSSM_ALGORITHMS &encrAlg, CSSM_ENCRYPT_MODE &encrMode, CSSM_PADDING &encrPad, uint32 &keySizeInBits, unsigned &blockSizeInBytes, CSSM_DATA &iv) argument 201 deriveKeyOpensslWrap( const SecKeyImportExportParameters *keyParams, CSSM_CSP_HANDLE cspHand, impExpVerifyPhrase vp, CSSM_ALGORITHMS pbeAlg, CSSM_ALGORITHMS keyAlg, uint32 keySizeInBits, const CSSM_DATA &salt, CSSM_KEY_PTR derivedKey) argument
|
H A D | KeyItem.h | 83 uint32 keySizeInBits, 104 uint32 keySizeInBits, 114 uint32 keySizeInBits,
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/ |
H A D | SecKey.cpp | 63 uint32 keySizeInBits, 84 keySizeInBits, 107 uint32 keySizeInBits, 117 OSStatus result = SecKeyCreatePairInternal(keychainRef, algorithm, keySizeInBits, contextHandle, publicKeyUsage, 247 uint32 keySizeInBits, 267 keySizeInBits, 284 uint32 keySizeInBits, 292 keychainRef, algorithm, keySizeInBits, 392 static OSStatus GetKeySize(CFDictionaryRef parameters, CSSM_ALGORITHMS algorithms, uint32 &keySizeInBits) argument 398 keySizeInBits 60 SecKeyCreatePairInternal( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE publicKeyUsage, uint32 publicKeyAttr, CSSM_KEYUSE privateKeyUsage, uint32 privateKeyAttr, SecAccessRef initialAccess, SecKeyRef* publicKeyRef, SecKeyRef* privateKeyRef) argument 104 SecKeyCreatePair( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE publicKeyUsage, uint32 publicKeyAttr, CSSM_KEYUSE privateKeyUsage, uint32 privateKeyAttr, SecAccessRef initialAccess, SecKeyRef* publicKeyRef, SecKeyRef* privateKeyRef) argument 243 SecKeyGenerateWithAttributes( SecKeychainAttributeList* attrList, SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE keyUsage, uint32 keyAttr, SecAccessRef initialAccess, SecKeyRef* keyRef) argument 281 SecKeyGenerate( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE keyUsage, uint32 keyAttr, SecAccessRef initialAccess, SecKeyRef* keyRef) argument 638 MakeKeyGenParametersFromDictionary(CFDictionaryRef parameters, CSSM_ALGORITHMS &algorithms, uint32 &keySizeInBits, CSSM_KEYUSE &publicKeyUse, uint32 &publicKeyAttr, CFTypeRef &publicKeyLabelRef, CFDataRef &publicKeyAttributeTagRef, CSSM_KEYUSE &privateKeyUse, uint32 &privateKeyAttr, CFTypeRef &privateKeyLabelRef, CFDataRef &privateKeyAttributeTagRef, SecAccessRef &initialAccess) argument 774 uint32 keySizeInBits; local 1036 utilGetKeyParametersFromCFDict(CFDictionaryRef parameters, CSSM_ALGORITHMS *algorithm, uint32 *keySizeInBits, CSSM_KEYUSE *keyUsage, CSSM_KEYCLASS *keyClass) argument 1143 uint32 keySizeInBits; local 1266 uint32 keySizeInBits; local [all...] |
H A D | SecImportExportPkcs8.cpp | 78 uint32 keySizeInBits, 149 keySizeInBits, 203 uint32 *keySizeInBits, // IN/OUT (returned if 0 on entry) 214 if(*keySizeInBits == 0) { 215 *keySizeInBits = 3 * 64; 221 if(*keySizeInBits == 0) { 222 *keySizeInBits = 64; 237 uint32 *keySizeInBits, // IN/OUT (returned if 0 on entry) 285 if(*keySizeInBits == 0) { 300 uint32 *keySizeInBits, // I 71 pkcs5_v15_genKey( CSSM_CSP_HANDLE cspHand, SecNssCoder &coder, const SecKeyImportExportParameters *keyParams, const CSSM_DATA ¶mData, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 blockSizeInBytes, impExpKeyUnwrapParams *unwrapParams) argument 198 pkcs5_DES_params( const CSSM_DATA ¶mData, CSSM_OID *encrOid, impExpKeyUnwrapParams *unwrapParams, CSSM_ALGORITHMS *keyAlg, uint32 *keySizeInBits, SecNssCoder &coder) argument 233 pkcs5_RC2_params( const CSSM_DATA ¶mData, impExpKeyUnwrapParams *unwrapParams, CSSM_ALGORITHMS *keyAlg, uint32 *keySizeInBits, SecNssCoder &coder) argument 296 pkcs5_RC5_params( const CSSM_DATA ¶mData, impExpKeyUnwrapParams *unwrapParams, CSSM_ALGORITHMS *keyAlg, uint32 *keySizeInBits, SecNssCoder &coder) argument 352 pbkdf2DeriveKey( CSSM_CSP_HANDLE cspHand, SecNssCoder &coder, CSSM_ALGORITHMS keyAlg, uint32 keySizeInBits, uint32 iterationCount, const CSSM_DATA &salt, const SecKeyImportExportParameters *keyParams, impExpVerifyPhrase verifyPhrase, CSSM_KEY_PTR symKey) argument 506 uint32 keySizeInBits = 0; local 584 pkcs12_genKey( CSSM_CSP_HANDLE cspHand, SecNssCoder &coder, const SecKeyImportExportParameters *keyParams, const CSSM_DATA ¶mData, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 blockSizeInBytes, impExpKeyUnwrapParams *unwrapParams) argument 701 uint32 keySizeInBits; local [all...] |
H A D | SecWrappedKeys.cpp | 97 uint32 &keySizeInBits, 152 keySizeInBits = 64 * 3; 158 keySizeInBits = 64; 207 uint32 keySizeInBits, 242 keySizeInBits, 304 uint32 keySizeInBits; local 315 keySizeInBits, 326 keySizeInBits, 88 opensslPbeParams( CFArrayRef paramLines, SecNssCoder &coder, CSSM_ALGORITHMS &pbeAlg, CSSM_ALGORITHMS &keyAlg, CSSM_ALGORITHMS &encrAlg, CSSM_ENCRYPT_MODE &encrMode, CSSM_PADDING &encrPad, uint32 &keySizeInBits, unsigned &blockSizeInBytes, CSSM_DATA &iv) argument 201 deriveKeyOpensslWrap( const SecKeyImportExportParameters *keyParams, CSSM_CSP_HANDLE cspHand, impExpVerifyPhrase vp, CSSM_ALGORITHMS pbeAlg, CSSM_ALGORITHMS keyAlg, uint32 keySizeInBits, const CSSM_DATA &salt, CSSM_KEY_PTR derivedKey) argument
|
H A D | KeyItem.h | 83 uint32 keySizeInBits, 104 uint32 keySizeInBits, 114 uint32 keySizeInBits,
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/lib/ |
H A D | SecKey.cpp | 63 uint32 keySizeInBits, 84 keySizeInBits, 107 uint32 keySizeInBits, 117 OSStatus result = SecKeyCreatePairInternal(keychainRef, algorithm, keySizeInBits, contextHandle, publicKeyUsage, 247 uint32 keySizeInBits, 267 keySizeInBits, 284 uint32 keySizeInBits, 292 keychainRef, algorithm, keySizeInBits, 392 static OSStatus GetKeySize(CFDictionaryRef parameters, CSSM_ALGORITHMS algorithms, uint32 &keySizeInBits) argument 398 keySizeInBits 60 SecKeyCreatePairInternal( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE publicKeyUsage, uint32 publicKeyAttr, CSSM_KEYUSE privateKeyUsage, uint32 privateKeyAttr, SecAccessRef initialAccess, SecKeyRef* publicKeyRef, SecKeyRef* privateKeyRef) argument 104 SecKeyCreatePair( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE publicKeyUsage, uint32 publicKeyAttr, CSSM_KEYUSE privateKeyUsage, uint32 privateKeyAttr, SecAccessRef initialAccess, SecKeyRef* publicKeyRef, SecKeyRef* privateKeyRef) argument 243 SecKeyGenerateWithAttributes( SecKeychainAttributeList* attrList, SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE keyUsage, uint32 keyAttr, SecAccessRef initialAccess, SecKeyRef* keyRef) argument 281 SecKeyGenerate( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE keyUsage, uint32 keyAttr, SecAccessRef initialAccess, SecKeyRef* keyRef) argument 638 MakeKeyGenParametersFromDictionary(CFDictionaryRef parameters, CSSM_ALGORITHMS &algorithms, uint32 &keySizeInBits, CSSM_KEYUSE &publicKeyUse, uint32 &publicKeyAttr, CFTypeRef &publicKeyLabelRef, CFDataRef &publicKeyAttributeTagRef, CSSM_KEYUSE &privateKeyUse, uint32 &privateKeyAttr, CFTypeRef &privateKeyLabelRef, CFDataRef &privateKeyAttributeTagRef, SecAccessRef &initialAccess) argument 774 uint32 keySizeInBits; local 1036 utilGetKeyParametersFromCFDict(CFDictionaryRef parameters, CSSM_ALGORITHMS *algorithm, uint32 *keySizeInBits, CSSM_KEYUSE *keyUsage, CSSM_KEYCLASS *keyClass) argument 1143 uint32 keySizeInBits; local 1266 uint32 keySizeInBits; local [all...] |
H A D | SecImportExportPkcs8.cpp | 78 uint32 keySizeInBits, 149 keySizeInBits, 203 uint32 *keySizeInBits, // IN/OUT (returned if 0 on entry) 214 if(*keySizeInBits == 0) { 215 *keySizeInBits = 3 * 64; 221 if(*keySizeInBits == 0) { 222 *keySizeInBits = 64; 237 uint32 *keySizeInBits, // IN/OUT (returned if 0 on entry) 285 if(*keySizeInBits == 0) { 300 uint32 *keySizeInBits, // I 71 pkcs5_v15_genKey( CSSM_CSP_HANDLE cspHand, SecNssCoder &coder, const SecKeyImportExportParameters *keyParams, const CSSM_DATA ¶mData, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 blockSizeInBytes, impExpKeyUnwrapParams *unwrapParams) argument 198 pkcs5_DES_params( const CSSM_DATA ¶mData, CSSM_OID *encrOid, impExpKeyUnwrapParams *unwrapParams, CSSM_ALGORITHMS *keyAlg, uint32 *keySizeInBits, SecNssCoder &coder) argument 233 pkcs5_RC2_params( const CSSM_DATA ¶mData, impExpKeyUnwrapParams *unwrapParams, CSSM_ALGORITHMS *keyAlg, uint32 *keySizeInBits, SecNssCoder &coder) argument 296 pkcs5_RC5_params( const CSSM_DATA ¶mData, impExpKeyUnwrapParams *unwrapParams, CSSM_ALGORITHMS *keyAlg, uint32 *keySizeInBits, SecNssCoder &coder) argument 352 pbkdf2DeriveKey( CSSM_CSP_HANDLE cspHand, SecNssCoder &coder, CSSM_ALGORITHMS keyAlg, uint32 keySizeInBits, uint32 iterationCount, const CSSM_DATA &salt, const SecKeyImportExportParameters *keyParams, impExpVerifyPhrase verifyPhrase, CSSM_KEY_PTR symKey) argument 506 uint32 keySizeInBits = 0; local 584 pkcs12_genKey( CSSM_CSP_HANDLE cspHand, SecNssCoder &coder, const SecKeyImportExportParameters *keyParams, const CSSM_DATA ¶mData, CSSM_ALGORITHMS keyAlg, CSSM_ALGORITHMS pbeHashAlg, uint32 keySizeInBits, uint32 blockSizeInBytes, impExpKeyUnwrapParams *unwrapParams) argument 701 uint32 keySizeInBits; local [all...] |
H A D | SecWrappedKeys.cpp | 97 uint32 &keySizeInBits, 152 keySizeInBits = 64 * 3; 158 keySizeInBits = 64; 207 uint32 keySizeInBits, 242 keySizeInBits, 304 uint32 keySizeInBits; local 315 keySizeInBits, 326 keySizeInBits, 88 opensslPbeParams( CFArrayRef paramLines, SecNssCoder &coder, CSSM_ALGORITHMS &pbeAlg, CSSM_ALGORITHMS &keyAlg, CSSM_ALGORITHMS &encrAlg, CSSM_ENCRYPT_MODE &encrMode, CSSM_PADDING &encrPad, uint32 &keySizeInBits, unsigned &blockSizeInBytes, CSSM_DATA &iv) argument 201 deriveKeyOpensslWrap( const SecKeyImportExportParameters *keyParams, CSSM_CSP_HANDLE cspHand, impExpVerifyPhrase vp, CSSM_ALGORITHMS pbeAlg, CSSM_ALGORITHMS keyAlg, uint32 keySizeInBits, const CSSM_DATA &salt, CSSM_KEY_PTR derivedKey) argument
|
H A D | KeyItem.h | 83 uint32 keySizeInBits, 104 uint32 keySizeInBits, 114 uint32 keySizeInBits,
|
/macosx-10.9.5/SecurityTool-55115/ |
H A D | createFVMaster.c | 68 OSStatus makeMasterPassword(const char *fvmkcName, const char *masterPasswordPassword, uint32 keySizeInBits, SecKeychainRef *keychainRef); 70 OSStatus createPair(CFStringRef hostName,CFStringRef userName,SecKeychainRef keychainRef, uint32 keySizeInBits, CFDataRef *cert); 72 uint32 keySizeInBits, const char *keyLabel, CSSM_KEY_PTR *pubKeyPtr, CSSM_KEY_PTR *privKeyPtr); 80 OSStatus makeMasterPassword(const char *fvmkcName, const char *masterPasswordPassword, uint32 keySizeInBits, SecKeychainRef *keychainRef) argument 118 printf("Generating a %d bit key pair; this may take several minutes\n", keySizeInBits); 119 status = createPair(hostName,userName,*keychainRef,keySizeInBits, &certData); 128 OSStatus createPair(CFStringRef hostName,CFStringRef userName,SecKeychainRef keychainRef, uint32 keySizeInBits, CFDataRef *cert) argument 176 ortn = generateKeyPair(cspHand, dlDbHand, SR_KEY_ALGORITHM, keySizeInBits, 591 uint32 keySizeInBits, 616 keySizeInBits, 587 generateKeyPair( CSSM_CSP_HANDLE cspHand, CSSM_DL_DB_HANDLE dlDbHand, CSSM_ALGORITHMS keyAlg, uint32 keySizeInBits, const char *keyLabel, CSSM_KEY_PTR *pubKeyPtr, CSSM_KEY_PTR *privKeyPtr) argument 668 uint32 keySizeInBits = SR2_KEY_SIZE_IN_BITS; // default local [all...] |
H A D | key_create.c | 44 do_key_create_pair(const char *keychainName, SecAccessRef access, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CFAbsoluteTime from_time, CFAbsoluteTime to_time, Boolean print_hash) argument 68 status = SecKeyCreatePair(keychain, algorithm, keySizeInBits, contextHandle, 175 uint32 keySizeInBits = 512; local 211 keySizeInBits = atoi(optarg); 305 result = do_key_create_pair(keychainName, access, algorithm, keySizeInBits, from_time, to_time, print_hash); 473 uint32 keySizeInBits = 512; 507 keySizeInBits = atoi(optarg); 604 result = do_csr_create(keychainName, access, algorithm, keySizeInBits, from_time, to_time);
|
/macosx-10.9.5/security_certtool-55105/src/ |
H A D | CertUI.h | 89 uint32 &keySizeInBits);
|
H A D | CertUI.cpp | 336 uint32 &keySizeInBits) 369 keySizeInBits = keyInfo->defaultKeySize; 372 keySizeInBits = atoi(resp); 374 if(keyInfo->vfyFcn(keySizeInBits)) { 376 keyInfo->str, (unsigned)keySizeInBits); 384 (unsigned)keySizeInBits, keyInfo->str); 334 getKeyParams( CSSM_ALGORITHMS &keyAlg, uint32 &keySizeInBits) argument
|
/macosx-10.9.5/Security-55471.14.18/include/security_asn1/ |
H A D | osKeyTemplates.h | 78 SecAsn1Item keySizeInBits; member in struct:__anon3574 178 * DSA Private Key, PKCS8/SMIME style. Doesn't have keySizeInBits
|