Lines Matching defs:ed
353 EnvelopedData ed;
364 memset(&ed, 0, sizeof(ed));
372 ret = decode_EnvelopedData(data, length, &ed, &size);
379 if (ed.recipientInfos.len == 0) {
386 enccontent = ed.encryptedContentInfo.encryptedContent;
403 for (i = 0; i < ed.recipientInfos.len; i++) {
408 ri = &ed.recipientInfos.val[i];
448 ret = der_copy_oid(&ed.encryptedContentInfo.contentType, contentType);
455 ai = &ed.encryptedContentInfo.contentEncryptionAlgorithm;
502 free_EnvelopedData(&ed);
551 EnvelopedData ed;
557 memset(&ed, 0, sizeof(ed));
589 &ed.encryptedContentInfo.encryptedContent);
598 enc_alg = &ed.encryptedContentInfo.contentEncryptionAlgorithm;
624 ALLOC_SEQ(&ed.recipientInfos, 1);
625 if (ed.recipientInfos.val == NULL) {
633 ri = &ed.recipientInfos.val[0];
659 ed.version = 0;
660 ed.originatorInfo = NULL;
662 ret = der_copy_oid(contentType, &ed.encryptedContentInfo.contentType);
670 ed.unprotectedAttrs = NULL;
673 &ed, &size, ret);
689 free_EnvelopedData(&ed);
1375 CMSEncryptedData ed;
1382 ret = decode_CMSEncryptedData(data, length, &ed, NULL);
1389 if (ed.encryptedContentInfo.encryptedContent == NULL) {
1396 ret = der_copy_oid(&ed.encryptedContentInfo.contentType, contentType);
1402 ai = &ed.encryptedContentInfo.contentEncryptionAlgorithm;
1412 ed.encryptedContentInfo.encryptedContent,
1424 free_CMSEncryptedData(&ed);