Searched refs:algid (Results 1 - 25 of 55) sorted by relevance

123

/macosx-10.9.5/Security-55471.14.18/include/security_smime/
H A Dcmsutil.c144 * algid - algorithmid of algorithm to pick
151 SecCmsAlgArrayGetIndexByAlgID(SECAlgorithmID **algorithmArray, SECAlgorithmID *algid) argument
159 if (SECOID_CompareAlgorithmID(algorithmArray[i], algid) == SECEqual)
184 SECOidData *algid; local
192 algid = SECOID_FindOID(&(algorithmArray[i]->algorithm));
193 if (algid->offset == algtag)
197 algid = SECOID_FindOIDByTag(algtag);
198 if (!algid)
201 if (SECITEM_ItemsAreEqual(&algorithmArray[i]->algorithm, &algid->oid))
213 SecCmsUtilGetHashObjByAlgID(SECAlgorithmID *algid) argument
[all...]
H A Dsecalgid.c151 void SECOID_DestroyAlgorithmID(SECAlgorithmID *algid, Boolean freeit) argument
153 SECITEM_FreeItem(&algid->parameters, PR_FALSE);
154 SECITEM_FreeItem(&algid->algorithm, PR_FALSE);
156 PORT_Free(algid);
H A DSecSMIMEPriv.h119 extern Boolean SecSMIMEDecryptionAllowed(SECAlgorithmID *algid, SecSymmetricKeyRef key);
H A Dcmsencdata.c180 SECAlgorithmID *algid; local
188 algid = SecCmsContentInfoGetContentEncAlg(cinfo);
189 if (algid == NULL)
192 /* this may modify algid (with IVs generated in a token).
193 * it is therefore essential that algid is a pointer to the "real" contentEncAlg,
195 cinfo->ciphcx = SecCmsCipherContextStartEncrypt(encd->cmsg->poolp, bulkkey, algid);
H A Dcmscipher.c160 SecCmsCipherContextStart(PRArenaPool *poolp, SecSymmetricKeyRef key, SECAlgorithmID *algid, Boolean encrypt) argument
185 oidData = SECOID_FindOID(&algid->algorithm);
249 // Put IV into algid.parameters
267 if (!SEC_ASN1EncodeItem(poolp, &algid->parameters,
283 newParams = SEC_ASN1EncodeItem (poolp, &algid->parameters, &rc2,
299 // Extract IV from algid.parameters
300 // Put IV into algid.parameters
320 rv = SEC_ASN1DecodeItem(NULL, &iv, kSecAsn1OctetStringTemplate, &(algid->parameters));
337 &(algid->parameters));
405 SecCmsCipherContextStartDecrypt(SecSymmetricKeyRef key, SECAlgorithmID *algid) argument
502 SecCmsCipherContextStartEncrypt(PRArenaPool *poolp, SecSymmetricKeyRef key, SECAlgorithmID *algid) argument
[all...]
H A DSecCmsContentInfo.h187 SECAlgorithmID *algid, int keysize);
H A Dcmsenvdata.c274 SECAlgorithmID *algid; local
282 algid = SecCmsContentInfoGetContentEncAlg(cinfo);
283 if (algid == NULL)
286 /* this may modify algid (with IVs generated in a token).
287 * it is essential that algid is a pointer to the contentEncAlg data, not a
289 cinfo->ciphcx = SecCmsCipherContextStartEncrypt(envd->cmsg->poolp, bulkkey, algid);
H A Dcmsrecinfo.c78 const SECAlgorithmID *algid; local
95 rv = SecCertificateGetAlgorithmID(cert,&algid);
98 rv = SecKeyGetAlgorithmID(pubKey,&algid);
101 certalgtag = SECOID_GetAlgorithmTag(algid);
458 const SECAlgorithmID *algid; local
470 rv = SecCertificateGetAlgorithmID(cert,&algid);
473 certalgtag = SECOID_GetAlgorithmTag(algid);
482 rv = SecKeyGetAlgorithmID(extra->pubKey,&algid);
485 certalgtag = SECOID_GetAlgorithmTag(algid);
494 certalgtag = SECOID_GetAlgorithmTag(algid);
[all...]
H A Dcmslocal.h65 SecCmsCipherContextStartDecrypt(SecSymmetricKeyRef key, SECAlgorithmID *algid);
73 SecCmsCipherContextStartEncrypt(PRArenaPool *poolp, SecSymmetricKeyRef key, SECAlgorithmID *algid);
H A Dcmspriv.h75 * algid - algorithmid of algorithm to pick
82 SecCmsAlgArrayGetIndexByAlgID(SECAlgorithmID **algorithmArray, SECAlgorithmID *algid);
99 SecCmsUtilGetHashObjByAlgID(SECAlgorithmID *algid);
H A Dsmimeutil.c235 nss_smime_get_cipher_for_alg_and_key(SECAlgorithmID *algid, SecSymmetricKeyRef key, unsigned long *cipher) argument
241 algtag = SECOID_GetAlgorithmTag(algid);
244 if (SecKeyGetStrengthInBits(key, algid, &keylen_bits))
291 SecSMIMEDecryptionAllowed(SECAlgorithmID *algid, SecSymmetricKeyRef key) argument
295 if (nss_smime_get_cipher_for_alg_and_key(algid, key, &which) != SECSuccess)
/macosx-10.9.5/Security-55471.14.18/libsecurity_smime/lib/
H A Dcmsutil.c144 * algid - algorithmid of algorithm to pick
151 SecCmsAlgArrayGetIndexByAlgID(SECAlgorithmID **algorithmArray, SECAlgorithmID *algid) argument
159 if (SECOID_CompareAlgorithmID(algorithmArray[i], algid) == SECEqual)
184 SECOidData *algid; local
192 algid = SECOID_FindOID(&(algorithmArray[i]->algorithm));
193 if (algid->offset == algtag)
197 algid = SECOID_FindOIDByTag(algtag);
198 if (!algid)
201 if (SECITEM_ItemsAreEqual(&algorithmArray[i]->algorithm, &algid->oid))
213 SecCmsUtilGetHashObjByAlgID(SECAlgorithmID *algid) argument
[all...]
H A Dsecalgid.c151 void SECOID_DestroyAlgorithmID(SECAlgorithmID *algid, Boolean freeit) argument
153 SECITEM_FreeItem(&algid->parameters, PR_FALSE);
154 SECITEM_FreeItem(&algid->algorithm, PR_FALSE);
156 PORT_Free(algid);
H A DSecSMIMEPriv.h119 extern Boolean SecSMIMEDecryptionAllowed(SECAlgorithmID *algid, SecSymmetricKeyRef key);
H A Dcmsencdata.c180 SECAlgorithmID *algid; local
188 algid = SecCmsContentInfoGetContentEncAlg(cinfo);
189 if (algid == NULL)
192 /* this may modify algid (with IVs generated in a token).
193 * it is therefore essential that algid is a pointer to the "real" contentEncAlg,
195 cinfo->ciphcx = SecCmsCipherContextStartEncrypt(encd->cmsg->poolp, bulkkey, algid);
H A Dcmscipher.c160 SecCmsCipherContextStart(PRArenaPool *poolp, SecSymmetricKeyRef key, SECAlgorithmID *algid, Boolean encrypt) argument
185 oidData = SECOID_FindOID(&algid->algorithm);
249 // Put IV into algid.parameters
267 if (!SEC_ASN1EncodeItem(poolp, &algid->parameters,
283 newParams = SEC_ASN1EncodeItem (poolp, &algid->parameters, &rc2,
299 // Extract IV from algid.parameters
300 // Put IV into algid.parameters
320 rv = SEC_ASN1DecodeItem(NULL, &iv, kSecAsn1OctetStringTemplate, &(algid->parameters));
337 &(algid->parameters));
405 SecCmsCipherContextStartDecrypt(SecSymmetricKeyRef key, SECAlgorithmID *algid) argument
502 SecCmsCipherContextStartEncrypt(PRArenaPool *poolp, SecSymmetricKeyRef key, SECAlgorithmID *algid) argument
[all...]
H A DSecCmsContentInfo.h187 SECAlgorithmID *algid, int keysize);
H A Dcmsenvdata.c274 SECAlgorithmID *algid; local
282 algid = SecCmsContentInfoGetContentEncAlg(cinfo);
283 if (algid == NULL)
286 /* this may modify algid (with IVs generated in a token).
287 * it is essential that algid is a pointer to the contentEncAlg data, not a
289 cinfo->ciphcx = SecCmsCipherContextStartEncrypt(envd->cmsg->poolp, bulkkey, algid);
H A Dcmsrecinfo.c78 const SECAlgorithmID *algid; local
95 rv = SecCertificateGetAlgorithmID(cert,&algid);
98 rv = SecKeyGetAlgorithmID(pubKey,&algid);
101 certalgtag = SECOID_GetAlgorithmTag(algid);
458 const SECAlgorithmID *algid; local
470 rv = SecCertificateGetAlgorithmID(cert,&algid);
473 certalgtag = SECOID_GetAlgorithmTag(algid);
482 rv = SecKeyGetAlgorithmID(extra->pubKey,&algid);
485 certalgtag = SECOID_GetAlgorithmTag(algid);
494 certalgtag = SECOID_GetAlgorithmTag(algid);
[all...]
H A Dcmslocal.h65 SecCmsCipherContextStartDecrypt(SecSymmetricKeyRef key, SECAlgorithmID *algid);
73 SecCmsCipherContextStartEncrypt(PRArenaPool *poolp, SecSymmetricKeyRef key, SECAlgorithmID *algid);
H A Dcmspriv.h75 * algid - algorithmid of algorithm to pick
82 SecCmsAlgArrayGetIndexByAlgID(SECAlgorithmID **algorithmArray, SECAlgorithmID *algid);
99 SecCmsUtilGetHashObjByAlgID(SECAlgorithmID *algid);
/macosx-10.9.5/securityd-55199.3/src/
H A Ddbcrypto.h89 CSSM_ALGORITHMS algid, CSSM_KEYUSE usage);
/macosx-10.9.5/Security-55471.14.18/include/security_keychain/
H A DKeyItem.h72 unsigned int strengthInBits(const CSSM_X509_ALGORITHM_IDENTIFIER *algid);
133 const CSSM_X509_ALGORITHM_IDENTIFIER *algid; member in class:Security::KeychainCore::KeyItem
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/
H A DKeyItem.h72 unsigned int strengthInBits(const CSSM_X509_ALGORITHM_IDENTIFIER *algid);
133 const CSSM_X509_ALGORITHM_IDENTIFIER *algid; member in class:Security::KeychainCore::KeyItem
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/lib/
H A DKeyItem.h72 unsigned int strengthInBits(const CSSM_X509_ALGORITHM_IDENTIFIER *algid);
133 const CSSM_X509_ALGORITHM_IDENTIFIER *algid; member in class:Security::KeychainCore::KeyItem

Completed in 215 milliseconds

123