Searched refs:DhContext (Results 1 - 7 of 7) 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...]
H A DIpSecCryptIo.h649 @param[in, out] DhContext Pointer to the DH context.
665 IN OUT UINT8 **DhContext,
679 @param[in, out] DhContext Pointer to the DH context.
693 IN OUT UINT8 *DhContext,
701 Releases the DH context. If DhContext is NULL, return EFI_INVALID_PARAMETER.
703 @param[in, out] DhContext Pointer to the DH context to be freed.
706 @retval EFI_INVALID_PARAMETER The DhContext is NULL.
711 IN OUT UINT8 **DhContext
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Include/Library/
H A DBaseCryptLib.h1742 If DhContext is NULL, then return FALSE.
1744 @param[in] DhContext Pointer to the DH context to be released.
1750 IN VOID *DhContext
1762 If DhContext is NULL, then return FALSE.
1765 @param[in, out] DhContext Pointer to the DH context.
1778 IN OUT VOID *DhContext,
1790 If DhContext is NULL, then return FALSE.
1793 @param[in, out] DhContext Pointer to the DH context.
1808 IN OUT VOID *DhContext,
1822 If DhContext i
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/Ikev2/
H A DIkev2.h78 UINT8 *DhContext; member in struct:__anon12523
H A DSa.c1383 &IkeKeys->DhBuffer->DhContext,
1435 DhBuffer->DhContext,
H A DUtility.c1033 if (DhBuffer->DhContext != NULL) {
1034 IpSecCryptoIoFreeDh (&DhBuffer->DhContext);

Completed in 59 milliseconds