/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/ |
CryptDh.c | 42 If DhContext is NULL, then return FALSE.
44 @param[in] DhContext Pointer to the DH context to be released.
50 IN VOID *DhContext
56 DH_free ((DH *) DhContext);
68 If DhContext is NULL, then return FALSE.
71 @param[in, out] DhContext Pointer to the DH context.
84 IN OUT VOID *DhContext,
95 if (DhContext == NULL || Prime == NULL || PrimeLength > INT_MAX) {
103 RetVal = (BOOLEAN) DH_generate_parameters_ex (DhContext, (UINT32) PrimeLength, (UINT32) Generator, NULL);
108 BN_bn2bin (((DH *) DhContext)->p, Prime); [all...] |
CryptDhNull.c | 40 @param[in] DhContext Pointer to the DH context to be released.
46 IN VOID *DhContext
57 @param[in, out] DhContext Pointer to the DH context.
68 IN OUT VOID *DhContext,
83 @param[in, out] DhContext Pointer to the DH context.
94 IN OUT VOID *DhContext,
109 @param[in, out] DhContext Pointer to the DH context.
120 IN OUT VOID *DhContext,
134 @param[in, out] DhContext Pointer to the DH context.
147 IN OUT VOID *DhContext,
[all...] |
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/ |
CryptDhNull.c | 40 @param[in] DhContext Pointer to the DH context to be released.
46 IN VOID *DhContext
57 @param[in, out] DhContext Pointer to the DH context.
68 IN OUT VOID *DhContext,
83 @param[in, out] DhContext Pointer to the DH context.
94 IN OUT VOID *DhContext,
109 @param[in, out] DhContext Pointer to the DH context.
120 IN OUT VOID *DhContext,
134 @param[in, out] DhContext Pointer to the DH context.
147 IN OUT VOID *DhContext,
[all...] |
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/ |
IpSecCryptIo.c | 659 This function first initiate a DHContext, then call the DhSetParameter() to set
666 @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; [all...] |
IpSecCryptIo.h | 642 This function first initiate a DHContext, then call the DhSetParameter() to set
649 @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
|
/device/linaro/bootloader/edk2/CryptoPkg/Include/Library/ |
BaseCryptLib.h | [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/ |
Ikev2.h | 78 UINT8 *DhContext;
|
Sa.c | [all...] |
Utility.c | 1031 if (DhBuffer->DhContext != NULL) {
1032 IpSecCryptoIoFreeDh (&DhBuffer->DhContext);
[all...] |