Lines Matching full:crtn
20 CSSM_RETURN crtn;
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;
74 crtn = CSSM_QueryKeySizeInBits(GetSharedCSPHandle(), NULL, &key, &key_size);
75 if (crtn) {
76 NOTREACHED() << "CSSM_QueryKeySizeInBits failed: " << crtn;
86 crtn = CSSM_CSP_CreateSymmetricContext(GetSharedCSPHandle(), CSSM_ALGID_NONE,
88 if (crtn) {
89 NOTREACHED() << "CSSM_CSP_CreateSymmetricContext failed: " << crtn;
96 crtn = CSSM_UnwrapKey(cc_handle, NULL, &key, CSSM_KEYUSE_ANY,
99 if (crtn) {
100 NOTREACHED() << "CSSM_UnwrapKey failed: " << crtn;
136 crtn = CSSM_QueryKeySizeInBits(GetSharedCSPHandle(), NULL, public_key,
138 if (crtn) {
139 DLOG(ERROR) << "CSSM_QueryKeySizeInBits failed " << crtn;