Searched defs:DhContext (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Library/BaseCryptLib/Pk/
H A DCryptDh.c41 If DhContext is NULL, then return FALSE.
43 @param[in] DhContext Pointer to the DH context to be released.
49 IN VOID *DhContext
55 DH_free ((DH *)DhContext);
67 If DhContext is NULL, then return FALSE.
70 @param[in, out] DhContext Pointer to the DH context.
83 IN OUT VOID *DhContext,
94 if (DhContext == NULL || Prime == NULL) {
102 RetVal = (BOOLEAN) DH_generate_parameters_ex (DhContext, (UINT32) PrimeLength, (UINT32) Generator, NULL);
107 BN_bn2bin (((DH *) DhContext)
82 DhGenerateParameter( IN OUT VOID *DhContext, IN UINTN Generator, IN UINTN PrimeLength, OUT UINT8 *Prime ) argument
135 DhSetParameter( IN OUT VOID *DhContext, IN UINTN Generator, IN UINTN PrimeLength, IN CONST UINT8 *Prime ) argument
189 DhGenerateKey( IN OUT VOID *DhContext, OUT UINT8 *PublicKey, IN OUT UINTN *PublicKeySize ) argument
246 DhComputeKey( IN OUT VOID *DhContext, IN CONST UINT8 *PeerPublicKey, IN UINTN PeerPublicKeySize, OUT UINT8 *Key, IN OUT UINTN *KeySize ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/
H A DIpSecCryptIo.c666 @param[in, out] DhContext Pointer to the DH context.
682 IN OUT UINT8 **DhContext,
692 *DhContext = DhNew ();
693 ASSERT (*DhContext != NULL);
694 if (!DhSetParameter (*DhContext, Generator, PrimeLength, Prime)) {
699 if (!DhGenerateKey (*DhContext, PublicKey, PublicKeySize)) {
706 if (*DhContext != NULL) {
707 DhFree (*DhContext);
708 DhContext = NULL;
720 @param[in, out] DhContext Pointe
681 IpSecCryptoIoDhGetPublicKey( IN OUT UINT8 **DhContext, IN UINTN Generator, IN UINTN PrimeLength, IN CONST UINT8 *Prime, OUT UINT8 *PublicKey, IN OUT UINTN *PublicKeySize ) argument
733 IpSecCryptoIoDhComputeKey( IN OUT UINT8 *DhContext, IN CONST UINT8 *PeerPublicKey, IN UINTN PeerPublicKeySize, OUT UINT8 *Key, IN OUT UINTN *KeySize ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/Ikev2/
H A DIkev2.h78 UINT8 *DhContext; member in struct:__anon12523

Completed in 453 milliseconds