Home | History | Annotate | Download | only in IpSecDxe

Lines Matching defs:Context

281   UINT8         *Context;

300 // Get Context Size
303 Context = AllocateZeroPool (ContextSize);
305 if (Context == NULL) {
309 // Initiate Context
311 if (mIpsecEncryptAlgorithmList[Index].CipherInitiate (Context, Key, KeyBits)) {
312 if (mIpsecEncryptAlgorithmList[Index].CipherEncrypt (Context, InData, InDataLength, Ivec, OutData)) {
323 if (Context != NULL) {
324 FreePool (Context);
367 UINT8 *Context;
387 // Get Context Size
390 Context = AllocateZeroPool (ContextSize);
391 if (Context == NULL) {
396 // Initiate Context
398 if (mIpsecEncryptAlgorithmList[Index].CipherInitiate (Context, Key, KeyBits)) {
399 if (mIpsecEncryptAlgorithmList[Index].CipherDecrypt (Context, InData, InDataLength, Ivec, OutData)) {
409 if (Context != NULL) {
410 FreePool (Context);
488 // Get Context Size
499 // Initiate HMAC context and hash the input data.
606 // Get Context Size
616 // Initiate Hash context and hash the input data.
662 PublicKey and PublicKeySize. DH context is updated accordingly. If the PublicKey
666 @param[in, out] DhContext Pointer to the DH context.
718 on its own context including value of prime modulus and random secret exponent.
720 @param[in, out] DhContext Pointer to the DH context.
749 Releases the DH context. If DhContext is NULL, return EFI_INVALID_PARAMETER.
751 @param[in, out] DhContext Pointer to the DH context to be freed.
878 @retval FALSE Invalid signature or invalid RSA context.
897 // Create the RSA Context
954 // Create the RSA Context