Lines Matching defs:ed
360 EnvelopedData ed;
371 memset(&ed, 0, sizeof(ed));
379 ret = decode_EnvelopedData(data, length, &ed, &size);
386 if (ed.recipientInfos.len == 0) {
393 enccontent = ed.encryptedContentInfo.encryptedContent;
410 for (i = 0; i < ed.recipientInfos.len; i++) {
415 ri = &ed.recipientInfos.val[i];
456 ret = der_copy_oid(&ed.encryptedContentInfo.contentType, contentType);
463 ai = &ed.encryptedContentInfo.contentEncryptionAlgorithm;
513 free_EnvelopedData(&ed);
566 EnvelopedData ed;
571 memset(&ed, 0, sizeof(ed));
608 &ed.encryptedContentInfo.encryptedContent);
617 enc_alg = &ed.encryptedContentInfo.contentEncryptionAlgorithm;
643 ALLOC_SEQ(&ed.recipientInfos, 1);
644 if (ed.recipientInfos.val == NULL) {
652 ri = &ed.recipientInfos.val[0];
685 ed.version = 0;
686 ed.originatorInfo = NULL;
688 ret = der_copy_oid(contentType, &ed.encryptedContentInfo.contentType);
696 ed.unprotectedAttrs = NULL;
699 &ed, &size, ret);
715 free_EnvelopedData(&ed);
1586 CMSEncryptedData ed;
1593 ret = decode_CMSEncryptedData(data, length, &ed, NULL);
1600 if (ed.encryptedContentInfo.encryptedContent == NULL) {
1607 ret = der_copy_oid(&ed.encryptedContentInfo.contentType, contentType);
1613 ai = &ed.encryptedContentInfo.contentEncryptionAlgorithm;
1623 ed.encryptedContentInfo.encryptedContent,
1635 free_CMSEncryptedData(&ed);