/external/chromium/crypto/ |
signature_creator_mac.cc | 20 CSSM_RETURN crtn; local 21 crtn = CSSM_CSP_CreateSignatureContext(GetSharedCSPHandle(), 26 if (crtn) { 31 crtn = CSSM_SignDataInit(result->sig_handle_); 32 if (crtn) { 45 CSSM_RETURN crtn; local 47 crtn = CSSM_DeleteContext(sig_handle_); 48 DCHECK(crtn == CSSM_OK); 56 CSSM_RETURN crtn = CSSM_SignDataUpdate(sig_handle_, &data, 1); local 57 DCHECK(crtn == CSSM_OK) 63 CSSM_RETURN crtn = CSSM_SignDataFinal(sig_handle_, sig); local [all...] |
cssm_init.cc | 60 CSSM_RETURN crtn; local 62 crtn = CSSM_Init(&version, CSSM_PRIVILEGE_SCOPE_NONE, &test_guid, 64 if (crtn) { 70 crtn = CSSM_ModuleLoad(&gGuidAppleCSP, CSSM_KEY_HIERARCHY_NONE, NULL, NULL); 71 if (crtn) { 76 crtn = CSSM_ModuleLoad( 78 if (crtn) { 83 crtn = CSSM_ModuleLoad( 85 if (crtn) { 99 crtn = CSSM_ModuleAttach(&gGuidAppleCSP, &version, &cssmMemoryFunctions, 0 114 CSSM_RETURN crtn; local 116 CSSM_RETURN crtn = CSSM_ModuleDetach(csp_handle_); local 120 CSSM_RETURN crtn = CSSM_ModuleDetach(cl_handle_); local 124 CSSM_RETURN crtn = CSSM_ModuleDetach(tp_handle_); local [all...] |
signature_verifier_mac.cc | 45 CSSM_RETURN crtn; local 46 crtn = CSSM_QueryKeySizeInBits(GetSharedCSPHandle(), NULL, 48 if (crtn) { 49 NOTREACHED() << "CSSM_QueryKeySizeInBits failed: " << crtn; 57 crtn = CSSM_CSP_CreateSignatureContext(GetSharedCSPHandle(), sig_alg, NULL, 59 if (crtn) { 63 crtn = CSSM_VerifyDataInit(sig_handle_); 64 if (crtn) { 76 CSSM_RETURN crtn = CSSM_VerifyDataUpdate(sig_handle_, &data, 1); local 77 DCHECK(crtn == CSSM_OK) 84 CSSM_RETURN crtn = CSSM_VerifyDataFinal(sig_handle_, &sig); local 92 CSSM_RETURN crtn; local [all...] |
rsa_private_key_mac.cc | 20 CSSM_RETURN crtn; local 21 crtn = CSSM_CSP_CreateKeyGenContext(GetSharedCSPHandle(), CSSM_ALGID_RSA, 24 if (crtn) { 25 NOTREACHED() << "CSSM_CSP_CreateKeyGenContext failed: " << crtn; 31 crtn = CSSM_GenerateKeyPair(cc_handle, 38 if (crtn) { 39 NOTREACHED() << "CSSM_CSP_CreateKeyGenContext failed: " << crtn; 73 CSSM_RETURN crtn; local 74 crtn = CSSM_QueryKeySizeInBits(GetSharedCSPHandle(), NULL, &key, &key_size); 75 if (crtn) { [all...] |
/external/chromium_org/crypto/ |
cssm_init.cc | 60 CSSM_RETURN crtn; local 62 crtn = CSSM_Init(&version, CSSM_PRIVILEGE_SCOPE_NONE, &test_guid, 64 if (crtn) { 70 crtn = CSSM_ModuleLoad(&gGuidAppleCSP, CSSM_KEY_HIERARCHY_NONE, NULL, NULL); 71 if (crtn) { 76 crtn = CSSM_ModuleLoad( 78 if (crtn) { 83 crtn = CSSM_ModuleLoad( 85 if (crtn) { 99 crtn = CSSM_ModuleAttach(&gGuidAppleCSP, &version, &cssmMemoryFunctions, 0 114 CSSM_RETURN crtn; local 116 CSSM_RETURN crtn = CSSM_ModuleDetach(csp_handle_); local 120 CSSM_RETURN crtn = CSSM_ModuleDetach(cl_handle_); local 124 CSSM_RETURN crtn = CSSM_ModuleDetach(tp_handle_); local [all...] |
/external/chromium/net/base/ |
x509_certificate_mac.cc | 726 CSSM_RETURN crtn = CSSM_TP_SubmitCredRequest(tp_handle, NULL, local 729 if(crtn) { 730 DLOG(ERROR) << "CSSM_TP_SubmitCredRequest failed " << crtn; 736 crtn = CSSM_TP_RetrieveCredResult(tp_handle, &refId, NULL, &estTime, 740 if (crtn) { 741 DLOG(ERROR) << "CSSM_TP_RetrieveCredResult failed " << crtn; [all...] |