TransformFinalBlock

Transforms a final block of data based on a symmetric cryptography algorithm.

                                    
                                    HRESULT
                                
                                    
                                    __stdcall TransformFinalBlock(
                                
                                    
                                                           __in PINFORMATIONCARD_CRYPTO_HANDLE  hCrypto,
                                
                                    
                                                           __in DWORD                    cbInData,
                                
                                    
                                                           __in_bcount( cbInData ) PBYTE   pInData,
                                
                                    
                                                           __out DWORD*                  pcbOutData,
                                
                                    
                                                           __out_bcount( *pcbOutData ) PBYTE* ppOutData );
                                

Parameters

Parameter Description

hCrypto

Handle to the cryptography object returned from a call to GetCryptoTransform.

cbInData

The length, in bytes, of the input buffer.

pInData

The data to be transformed.

pcbOutData

The length of the transformed data.

ppOutData

Pointer to the buffer that contains the transformed data. Free the memory associated with this pointer using the GlobalFree function.

Property Value/Return Value

HRESULT: If any of the parameters are NULL or contain 0, E_INVALIDARG is returned.

See Also

Reference

TransformBlock

Concepts

HRESULTS Returned

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.