Lines Matching defs:ed
358 EnvelopedData ed;
370 memset(&ed, 0, sizeof(ed));
378 ret = decode_EnvelopedData(data, length, &ed, &size);
385 if (ed.recipientInfos.len == 0) {
392 enccontent = ed.encryptedContentInfo.encryptedContent;
409 for (i = 0; i < ed.recipientInfos.len; i++) {
414 ri = &ed.recipientInfos.val[i];
455 ret = der_copy_oid(&ed.encryptedContentInfo.contentType, contentType);
462 ai = &ed.encryptedContentInfo.contentEncryptionAlgorithm;
512 free_EnvelopedData(&ed);
565 EnvelopedData ed;
570 memset(&ed, 0, sizeof(ed));
607 &ed.encryptedContentInfo.encryptedContent);
616 enc_alg = &ed.encryptedContentInfo.contentEncryptionAlgorithm;
642 ALLOC_SEQ(&ed.recipientInfos, 1);
643 if (ed.recipientInfos.val == NULL) {
651 ri = &ed.recipientInfos.val[0];
684 ed.version = 0;
685 ed.originatorInfo = NULL;
687 ret = der_copy_oid(contentType, &ed.encryptedContentInfo.contentType);
695 ed.unprotectedAttrs = NULL;
698 &ed, &size, ret);
714 free_EnvelopedData(&ed);
1594 CMSEncryptedData ed;
1601 ret = decode_CMSEncryptedData(data, length, &ed, NULL);
1608 if (ed.encryptedContentInfo.encryptedContent == NULL) {
1615 ret = der_copy_oid(&ed.encryptedContentInfo.contentType, contentType);
1621 ai = &ed.encryptedContentInfo.contentEncryptionAlgorithm;
1631 ed.encryptedContentInfo.encryptedContent,
1643 free_CMSEncryptedData(&ed);