Free context after decrypting and don't use obsoleted calls.

Signed-off-by: Joy Latten <latten@linux.vnet.ibm.com>
Reviewed-by: Marcelo Cerri
Reviewed-by: Debora Babb
Add get attribute value (CSFPGAV) to the icsf layer.

Signed-off-by: Joy Latten <latten@linux.vnet.ibm.com>
Reviewed-by: Marcelo Cerri
Reviewed-by: Debora Babb
Add token specific get attribute value call to ock and icsf.

Signed-off-by: Joy Latten <latten@linux.vnet.ibm.com>
Reviewed-by: Marcelo Cerri
Reviewed-by: Debora Babb
Remove reference to session_object in icsf.

Signed-off-by: Joy Latten <latten@linux.vnet.ibm.com>
Reviewed-by: Marcelo Cerri
Reviewed-by: Debora Babb
Let calling program determine if it wants a sequence of a sequence when
ber encoding attributes.

Signed-off-by: Joy Latten <latten@linux.vnet.ibm.com>
Reviewed-by: Marcelo Cerri
Reviewed-by: Debora Babb
Add set attribute value to the icsf layer.

Signed-off-by: Joy Latten <latten@linux.vnet.ibm.com>
Reviewed-by: Marcelo Cerri
Reviewed-by: Debora Babb
Add token specific set attribute value to ock and icsf.

Signed-off-by: Joy Latten <latten@linux.vnet.ibm.com>
Reviewed-by: Marcelo Cerri
Reviewed-by: Debora Babb
Add a pkcs11 tescase to test get and set attribute values.

Note: expand and add more tests later.

Signed-off-by: Joy Latten <latten@linux.vnet.ibm.com>
Reviewed-by: Marcelo Cerri
Reviewed-by: Debora Babb
Removed rule_array since it is not needed when getting an attribute value.

Signed-off-by: Joy Latten <latten@linux.vnet.ibm.com>
Reviewed-by: Marcelo Cerri
Reviewed-by: Debora Babb