• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/Security-55471.14.18/include/security_pkcs12/

Lines Matching defs:?f

6  * This file contains Original Code and/or Modifications of Original Code
9 * compliance with the License. Please obtain a copy of the License at
43 /* malloc a NULL-ed array of pointers of size num+1 */
54 /* CSSM_DATA --> uint32. Returns true if OK. */
59 if((cdata.Length == 0) || (cdata.Data == NULL)) {
65 if(len > sizeof(uint32)) {
86 if(num < 0x100) {
89 else if(num < 0x10000) {
92 else if(num < 0x1000000) {
114 CFDataRef cf,
118 coder.allocCopyItem(CFDataGetBytePtr(cf),
119 CFDataGetLength(cf), c);
126 * No guarantee that this conversion works. If it doesn't we return
133 if(cfStr == NULL) {
137 if(strLen == 0) {
142 if(!CFStringGetCString(cfStr, (char *)rtn->Data,strLen + 1,
155 * Each type of attribute has a name/value pair in a table of these:
162 /* declare one entry in a table of p12NameValuePair */
197 if(table->value == type) {
370 /* finally one for PKCS5 v2.0, which has its own means of
385 /* returns false if OID not found */
388 * NOTE: as of March 8 2004 this is also used by the SecImportExport
406 if(nssCompareCssmData(oid, info->oid)) {
432 if(pfx.macData == NULL) {
439 if(!cssmOidToAlg(&algOid, &macAlg)) {
444 if(!p12DataToInt(citer, iterCount)) {
447 if(iterCount == 0) {
456 * an SHA-1 HMAC is computed on the BER-encoding of the contents
457 * of the content field of the authSafe field in the PFX PDU.
464 if(crtn) {
467 if(nssCompareCssmData(&genMac, &digestInfo.digest)) {
475 /* we generate 8 random bytes of salt */
530 if(crtn) {
540 * hash of the associated public key.
544 * Detection of a duplicate key when updating the key's attributes
545 * results in a lookup of the original key and returning it in
593 if(newPrintName) {
609 if(crtn != CSSM_OK) {
615 if(keyData.Data == NULL) {
628 if(crtn) {
636 if(crtn) {
651 if(newPrintName) {
657 if(newPrintName) {
682 if(drtn) {
702 if(drtn) {
716 if(resultHand) {
719 if(record) {
722 if(ccHand) {
725 if(privKey) {
730 if(keyDigest) {
755 if(crtn) {
799 if(crtn) {
806 if(crtn) {
816 /* convert App passphrase to array of chars used in P12 PBE */
824 if(cfData == NULL) {