summaryrefslogtreecommitdiff
path: root/CryptoPkg/Library/OpensslLib/OpensslStub/Pkcs12Null.c
blob: 0fb49496d3154cdc398e9b2ebd23e195b5084373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
/** @file
  Null implementation of PKCS12 and PKCS8 functions called by BaseCryptLib.

  Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
  SPDX-License-Identifier: BSD-2-Clause-Patent

**/

#include <openssl/pkcs12.h>

int
PKCS12_PBE_keyivgen_ex (
  EVP_CIPHER_CTX    *ctx,
  const char        *pass,
  int               passlen,
  ASN1_TYPE         *param,
  const EVP_CIPHER  *cipher,
  const EVP_MD      *md,
  int               en_de,
  OSSL_LIB_CTX      *libctx,
  const char        *propq
  )
{
  return -1;
}

int
PKCS12_PBE_keyivgen (
  EVP_CIPHER_CTX    *ctx,
  const char        *pass,
  int               passlen,
  ASN1_TYPE         *param,
  const EVP_CIPHER  *cipher,
  const EVP_MD      *md,
  int               en_de
  )
{
  return -1;
}

X509_SIG *
PKCS8_encrypt (
  int                  pbe_nid,
  const EVP_CIPHER     *cipher,
  const char           *pass,
  int                  passlen,
  unsigned char        *salt,
  int                  saltlen,
  int                  iter,
  PKCS8_PRIV_KEY_INFO  *p8inf
  )
{
  return NULL;
}

PKCS8_PRIV_KEY_INFO *
PKCS8_decrypt (
  const X509_SIG  *p8,
  const char      *pass,
  int             passlen
  )
{
  return NULL;
}

unsigned char *
PKCS12_pbe_crypt_ex (
  const X509_ALGOR     *algor,
  const char           *pass,
  int                  passlen,
  const unsigned char  *in,
  int                  inlen,
  unsigned char        **data,
  int                  *datalen,
  int                  en_de,
  OSSL_LIB_CTX         *libctx,
  const char           *propq
  )
{
  return NULL;
}

X509_SIG *
PKCS8_encrypt_ex (
  int                  pbe_nid,
  const EVP_CIPHER     *cipher,
  const char           *pass,
  int                  passlen,
  unsigned char        *salt,
  int                  saltlen,
  int                  iter,
  PKCS8_PRIV_KEY_INFO  *p8inf,
  OSSL_LIB_CTX         *libctx,
  const char           *propq
  )
{
  return NULL;
}

const ASN1_ITEM *
PKCS12_it (
  void
  )
{
  return NULL;
}

const ASN1_ITEM *
PKCS12_MAC_DATA_it (
  void
  )
{
  return NULL;
}

const ASN1_ITEM *
PKCS12_SAFEBAG_it (
  void
  )
{
  return NULL;
}

const ASN1_ITEM *
PKCS12_BAGS_it (
  void
  )
{
  return NULL;
}

const ASN1_ITEM *
PKCS12_AUTHSAFES_it (
  void
  )
{
  return NULL;
}

const ASN1_ITEM *
PKCS12_SAFEBAGS_it (
  void
  )
{
  return NULL;
}