TianoCore EDK2 master
Loading...
Searching...
No Matches
TlsConfigNull.c
Go to the documentation of this file.
1
10#include "InternalTlsLib.h"
11
27EFIAPI
29 IN VOID *Tls,
30 IN UINT8 MajorVer,
31 IN UINT8 MinorVer
32 )
33{
34 ASSERT (FALSE);
35 return EFI_UNSUPPORTED;
36}
37
52EFIAPI
54 IN VOID *Tls,
55 IN BOOLEAN IsServer
56 )
57{
58 ASSERT (FALSE);
59 return EFI_UNSUPPORTED;
60}
61
81EFIAPI
83 IN VOID *Tls,
84 IN UINT16 *CipherId,
85 IN UINTN CipherNum
86 )
87{
88 ASSERT (FALSE);
89 return EFI_UNSUPPORTED;
90}
91
105EFIAPI
107 IN UINT8 CompMethod
108 )
109{
110 ASSERT (FALSE);
111 return EFI_UNSUPPORTED;
112}
113
123VOID
124EFIAPI
126 IN VOID *Tls,
127 IN UINT32 VerifyMode
128 )
129{
130 ASSERT (FALSE);
131}
132
146EFIAPI
148 IN VOID *Tls,
149 IN UINT32 Flags,
150 IN CHAR8 *HostName
151 )
152{
153 ASSERT (FALSE);
154 return EFI_UNSUPPORTED;
155}
156
173EFIAPI
175 IN VOID *Tls,
176 IN UINT8 *SessionId,
177 IN UINT16 SessionIdLen
178 )
179{
180 ASSERT (FALSE);
181 return EFI_UNSUPPORTED;
182}
183
202EFIAPI
204 IN VOID *Tls,
205 IN VOID *Data,
206 IN UINTN DataSize
207 )
208{
209 ASSERT (FALSE);
210 return EFI_UNSUPPORTED;
211}
212
231EFIAPI
233 IN VOID *Tls,
234 IN VOID *Data,
235 IN UINTN DataSize
236 )
237{
238 ASSERT (FALSE);
239 return EFI_UNSUPPORTED;
240}
241
261EFIAPI
263 IN VOID *Tls,
264 IN VOID *Data,
265 IN UINTN DataSize,
266 IN VOID *Password OPTIONAL
267 )
268{
269 ASSERT (FALSE);
270 return EFI_UNSUPPORTED;
271}
272
290EFIAPI
292 IN VOID *Tls,
293 IN VOID *Data,
294 IN UINTN DataSize
295 )
296{
297 ASSERT (FALSE);
298 return EFI_UNSUPPORTED;
299}
300
316EFIAPI
318 IN VOID *Data,
319 IN UINTN DataSize
320 )
321{
322 ASSERT (FALSE);
323 return EFI_UNSUPPORTED;
324}
325
344EFIAPI
346 IN VOID *Tls,
347 IN UINT8 *Data,
348 IN UINTN DataSize
349 )
350{
351 ASSERT (FALSE);
352 return EFI_UNSUPPORTED;
353}
354
370EFIAPI
372 IN VOID *Tls,
373 IN UINT8 *Data,
374 IN UINTN DataSize
375 )
376{
377 ASSERT (FALSE);
378 return EFI_UNSUPPORTED;
379}
380
394UINT16
395EFIAPI
397 IN VOID *Tls
398 )
399{
400 ASSERT (FALSE);
401 return 0;
402}
403
417UINT8
418EFIAPI
420 IN VOID *Tls
421 )
422{
423 ASSERT (FALSE);
424 return 0;
425}
426
442EFIAPI
444 IN VOID *Tls,
445 IN OUT UINT16 *CipherId
446 )
447{
448 ASSERT (FALSE);
449 return EFI_UNSUPPORTED;
450}
451
469EFIAPI
471 IN VOID *Tls,
472 IN OUT UINT8 *CompressionId
473 )
474{
475 ASSERT (FALSE);
476 return EFI_UNSUPPORTED;
477}
478
492UINT32
493EFIAPI
495 IN VOID *Tls
496 )
497{
498 ASSERT (FALSE);
499 return 0;
500}
501
518EFIAPI
520 IN VOID *Tls,
521 IN OUT UINT8 *SessionId,
522 IN OUT UINT16 *SessionIdLen
523 )
524{
525 ASSERT (FALSE);
526 return EFI_UNSUPPORTED;
527}
528
540VOID
541EFIAPI
543 IN VOID *Tls,
544 IN OUT UINT8 *ClientRandom
545 )
546{
547 ASSERT (FALSE);
548}
549
561VOID
562EFIAPI
564 IN VOID *Tls,
565 IN OUT UINT8 *ServerRandom
566 )
567{
568 ASSERT (FALSE);
569}
570
586EFIAPI
588 IN VOID *Tls,
589 IN OUT UINT8 *KeyMaterial
590 )
591{
592 ASSERT (FALSE);
593 return EFI_UNSUPPORTED;
594}
595
613EFIAPI
615 IN VOID *Tls,
616 OUT VOID *Data,
617 IN OUT UINTN *DataSize
618 )
619{
620 ASSERT (FALSE);
621 return EFI_UNSUPPORTED;
622}
623
642EFIAPI
644 IN VOID *Tls,
645 OUT VOID *Data,
646 IN OUT UINTN *DataSize
647 )
648{
649 ASSERT (FALSE);
650 return EFI_UNSUPPORTED;
651}
652
670EFIAPI
672 IN VOID *Tls,
673 OUT VOID *Data,
674 IN OUT UINTN *DataSize
675 )
676{
677 ASSERT (FALSE);
678 return EFI_UNSUPPORTED;
679}
680
697EFIAPI
699 OUT VOID *Data,
700 IN OUT UINTN *DataSize
701 )
702{
703 ASSERT (FALSE);
704 return EFI_UNSUPPORTED;
705}
706
726EFIAPI
728 IN VOID *Tls,
729 IN CONST VOID *Label,
730 IN CONST VOID *Context,
731 IN UINTN ContextLen,
732 OUT VOID *KeyBuffer,
733 IN UINTN KeyBufferLen
734 )
735{
736 ASSERT (FALSE);
737 return EFI_UNSUPPORTED;
738}
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
VOID EFIAPI TlsGetServerRandom(IN VOID *Tls, IN OUT UINT8 *ServerRandom)
EFI_STATUS EFIAPI TlsGetHostPublicCert(IN VOID *Tls, OUT VOID *Data, IN OUT UINTN *DataSize)
EFI_STATUS EFIAPI TlsSetVerifyHost(IN VOID *Tls, IN UINT32 Flags, IN CHAR8 *HostName)
EFI_STATUS EFIAPI TlsGetKeyMaterial(IN VOID *Tls, IN OUT UINT8 *KeyMaterial)
UINT32 EFIAPI TlsGetVerify(IN VOID *Tls)
EFI_STATUS EFIAPI TlsGetCurrentCipher(IN VOID *Tls, IN OUT UINT16 *CipherId)
EFI_STATUS EFIAPI TlsSetCertRevocationList(IN VOID *Data, IN UINTN DataSize)
EFI_STATUS EFIAPI TlsGetCertRevocationList(OUT VOID *Data, IN OUT UINTN *DataSize)
EFI_STATUS EFIAPI TlsSetCompressionMethod(IN UINT8 CompMethod)
EFI_STATUS EFIAPI TlsSetCaCertificate(IN VOID *Tls, IN VOID *Data, IN UINTN DataSize)
EFI_STATUS EFIAPI TlsSetCipherList(IN VOID *Tls, IN UINT16 *CipherId, IN UINTN CipherNum)
Definition: TlsConfigNull.c:82
EFI_STATUS EFIAPI TlsGetCurrentCompressionId(IN VOID *Tls, IN OUT UINT8 *CompressionId)
EFI_STATUS EFIAPI TlsSetConnectionEnd(IN VOID *Tls, IN BOOLEAN IsServer)
Definition: TlsConfigNull.c:53
EFI_STATUS EFIAPI TlsSetSessionId(IN VOID *Tls, IN UINT8 *SessionId, IN UINT16 SessionIdLen)
EFI_STATUS EFIAPI TlsSetHostPrivateKey(IN VOID *Tls, IN VOID *Data, IN UINTN DataSize)
EFI_STATUS EFIAPI TlsSetHostPublicCert(IN VOID *Tls, IN VOID *Data, IN UINTN DataSize)
UINT8 EFIAPI TlsGetConnectionEnd(IN VOID *Tls)
VOID EFIAPI TlsSetVerify(IN VOID *Tls, IN UINT32 VerifyMode)
VOID EFIAPI TlsGetClientRandom(IN VOID *Tls, IN OUT UINT8 *ClientRandom)
EFI_STATUS EFIAPI TlsSetVersion(IN VOID *Tls, IN UINT8 MajorVer, IN UINT8 MinorVer)
Definition: TlsConfigNull.c:28
EFI_STATUS EFIAPI TlsSetHostPrivateKeyEx(IN VOID *Tls, IN VOID *Data, IN UINTN DataSize, IN VOID *Password OPTIONAL)
EFI_STATUS EFIAPI TlsGetSessionId(IN VOID *Tls, IN OUT UINT8 *SessionId, IN OUT UINT16 *SessionIdLen)
UINT16 EFIAPI TlsGetVersion(IN VOID *Tls)
EFI_STATUS EFIAPI TlsSetEcCurve(IN VOID *Tls, IN UINT8 *Data, IN UINTN DataSize)
EFI_STATUS EFIAPI TlsGetExportKey(IN VOID *Tls, IN CONST VOID *Label, IN CONST VOID *Context, IN UINTN ContextLen, OUT VOID *KeyBuffer, IN UINTN KeyBufferLen)
EFI_STATUS EFIAPI TlsGetCaCertificate(IN VOID *Tls, OUT VOID *Data, IN OUT UINTN *DataSize)
EFI_STATUS EFIAPI TlsGetHostPrivateKey(IN VOID *Tls, OUT VOID *Data, IN OUT UINTN *DataSize)
EFI_STATUS EFIAPI TlsSetSignatureAlgoList(IN VOID *Tls, IN UINT8 *Data, IN UINTN DataSize)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29