Implementing the Algorithm for Deriving Password and encrypting Connection String in MS-RAIOP
In Microsoft Open Protocol documents, there are many algorithms that involve with crypto operations in some particular ways. Sometimes the protocol documents also provide specific protocol examples that include the initial input, the intermediate results and the final result for each step of the algorithm. The correctness of the result is very crucial for the implementers to validate their implementation step by step. Occasionally there may be some steps missing or wrong information included. The best way to verify if the examples are right is to have a sample implementation that is only based on the algorithm documented. One of the examples is the operation of deriving a password and encrypting a connection string used in Remote Assistance Initiation over PNRP Protocol ( MS-RAIOP ). An example is provided at the section 4.1 of the document. It requires many steps of buffer manipulation, hashing, cipher key derivation and encryption. The documentation of some steps was not very accurate or clear initially. Some readers had problems to implement the operation correctly. We have to develop a sample implementation to verify the existing documentation and then fix the problems found. This blog will provide the sample implementation for each step and point out the document problems corrected. As an attachment, the complete source file will be attached for any implementer to use with the protocol document
Go here to see the original:
Implementing the Algorithm for Deriving Password and encrypting Connection String in MS-RAIOP


