]> git.proxmox.com Git - efi-boot-shim.git/blob - Cryptlib/OpenSSL/crypto/pkcs7/pk7_enc.c
New upstream version 15+1533136590.3beb971
[efi-boot-shim.git] / Cryptlib / OpenSSL / crypto / pkcs7 / pk7_enc.c
1 /*
2 * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the OpenSSL license (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10 #include <stdio.h>
11 #include "internal/cryptlib.h"
12 #include <openssl/evp.h>
13 #include <openssl/objects.h>
14 #include <openssl/x509.h>
15 #include <openssl/pkcs7.h>
16
17 PKCS7_in_bio(PKCS7 *p7, BIO *in);
18 PKCS7_out_bio(PKCS7 *p7, BIO *out);
19
20 PKCS7_add_signer(PKCS7 *p7, X509 *cert, EVP_PKEY *key);
21 PKCS7_cipher(PKCS7 *p7, EVP_CIPHER *cipher);
22
23 PKCS7_Init(PKCS7 *p7);
24 PKCS7_Update(PKCS7 *p7);
25 PKCS7_Finish(PKCS7 *p7);