Attached please find comments to the functions.

Christina

On 03/11/2014 07:13 PM, Christina Fu wrote:
This is a request for review for the attached patch.
The patch is the first part for https://fedorahosted.org/pki/ticket/888 - TPS rewrite: provide remote authority functions

This patch provides functions for TKS:
  - computeSessionKey
  - createKeySetData
  - encryptData
  - computeRandomData

Two things to note:
* Because of code not yet available, only computeRandomData() was tested.  Other functions can be tested/adusted when the needed info are available.
* Because we don't know where the tps profile name will be at this point, computeSessionKey currently has a hard-coded entry in there. It is noted in a TODO comment.  Again, this will be adjusted when it's more clear where it comes from.

thanks,
Christina


_______________________________________________
Pki-devel mailing list
Pki-devel@redhat.com
https://www.redhat.com/mailman/listinfo/pki-devel