Searched refs:ciphcx (Results 1 - 12 of 12) sorted by relevance

/macosx-10.9.5/Security-55471.14.18/include/security_smime/
H A Dcmsencdata.c195 cinfo->ciphcx = SecCmsCipherContextStartEncrypt(encd->cmsg->poolp, bulkkey, algid);
197 if (cinfo->ciphcx == NULL)
209 if (encd->contentInfo.ciphcx) {
210 SecCmsCipherContextDestroy(encd->contentInfo.ciphcx);
211 encd->contentInfo.ciphcx = NULL;
244 cinfo->ciphcx = SecCmsCipherContextStartDecrypt(bulkkey, bulkalg);
245 if (cinfo->ciphcx == NULL)
278 if (encd->contentInfo.ciphcx) {
279 SecCmsCipherContextDestroy(encd->contentInfo.ciphcx);
280 encd->contentInfo.ciphcx
[all...]
H A Dcmsenvdata.c289 cinfo->ciphcx = SecCmsCipherContextStartEncrypt(envd->cmsg->poolp, bulkkey, algid);
291 if (cinfo->ciphcx == NULL)
303 if (envd->contentInfo.ciphcx) {
304 SecCmsCipherContextDestroy(envd->contentInfo.ciphcx);
305 envd->contentInfo.ciphcx = NULL;
388 cinfo->ciphcx = SecCmsCipherContextStartDecrypt(bulkkey, bulkalg);
389 if (cinfo->ciphcx == NULL)
423 if (envd && envd->contentInfo.ciphcx) {
424 SecCmsCipherContextDestroy(envd->contentInfo.ciphcx);
425 envd->contentInfo.ciphcx
[all...]
H A Dcmscinfo.c98 if (cinfo->ciphcx) {
99 SecCmsCipherContextDestroy(cinfo->ciphcx);
100 cinfo->ciphcx = NULL;
H A Dcmsencode.c438 if (cinfo->ciphcx != NULL) {
444 buflen = SecCmsCipherContextEncryptLength(cinfo->ciphcx, inlen, final);
450 rv = SecCmsCipherContextEncrypt(cinfo->ciphcx, NULL, NULL, 0,
467 rv = SecCmsCipherContextEncrypt(cinfo->ciphcx, buf, &outlen, buflen,
488 if (cinfo->ciphcx != NULL) {
H A Dcmsdecode.c442 if (cinfo->ciphcx != NULL) {
456 buflen = SecCmsCipherContextDecryptLength(cinfo->ciphcx, len, final);
487 rv = SecCmsCipherContextDecrypt(cinfo->ciphcx, buf, &outlen, buflen,
H A Dcmstpriv.h132 SecCmsCipherContextRef ciphcx; /* context for en/decryption going on */ member in struct:SecCmsContentInfoStr
/macosx-10.9.5/Security-55471.14.18/libsecurity_smime/lib/
H A Dcmsencdata.c195 cinfo->ciphcx = SecCmsCipherContextStartEncrypt(encd->cmsg->poolp, bulkkey, algid);
197 if (cinfo->ciphcx == NULL)
209 if (encd->contentInfo.ciphcx) {
210 SecCmsCipherContextDestroy(encd->contentInfo.ciphcx);
211 encd->contentInfo.ciphcx = NULL;
244 cinfo->ciphcx = SecCmsCipherContextStartDecrypt(bulkkey, bulkalg);
245 if (cinfo->ciphcx == NULL)
278 if (encd->contentInfo.ciphcx) {
279 SecCmsCipherContextDestroy(encd->contentInfo.ciphcx);
280 encd->contentInfo.ciphcx
[all...]
H A Dcmsenvdata.c289 cinfo->ciphcx = SecCmsCipherContextStartEncrypt(envd->cmsg->poolp, bulkkey, algid);
291 if (cinfo->ciphcx == NULL)
303 if (envd->contentInfo.ciphcx) {
304 SecCmsCipherContextDestroy(envd->contentInfo.ciphcx);
305 envd->contentInfo.ciphcx = NULL;
388 cinfo->ciphcx = SecCmsCipherContextStartDecrypt(bulkkey, bulkalg);
389 if (cinfo->ciphcx == NULL)
423 if (envd && envd->contentInfo.ciphcx) {
424 SecCmsCipherContextDestroy(envd->contentInfo.ciphcx);
425 envd->contentInfo.ciphcx
[all...]
H A Dcmscinfo.c98 if (cinfo->ciphcx) {
99 SecCmsCipherContextDestroy(cinfo->ciphcx);
100 cinfo->ciphcx = NULL;
H A Dcmsencode.c438 if (cinfo->ciphcx != NULL) {
444 buflen = SecCmsCipherContextEncryptLength(cinfo->ciphcx, inlen, final);
450 rv = SecCmsCipherContextEncrypt(cinfo->ciphcx, NULL, NULL, 0,
467 rv = SecCmsCipherContextEncrypt(cinfo->ciphcx, buf, &outlen, buflen,
488 if (cinfo->ciphcx != NULL) {
H A Dcmsdecode.c442 if (cinfo->ciphcx != NULL) {
456 buflen = SecCmsCipherContextDecryptLength(cinfo->ciphcx, len, final);
487 rv = SecCmsCipherContextDecrypt(cinfo->ciphcx, buf, &outlen, buflen,
H A Dcmstpriv.h132 SecCmsCipherContextRef ciphcx; /* context for en/decryption going on */ member in struct:SecCmsContentInfoStr

Completed in 87 milliseconds