8042332: Enhance thread contexts in security libraries

Modified to use ManagedLocalsThread wherever applicable.

Reviewed-by: xuelei, skoivu
1 file changed