Home
last modified time | relevance | path

Searched refs:cleartxt_len (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dloadsave.c687 UINT32 cleartxt_len; in save_public_token_object() local
700 rc = object_flatten(obj, &cleartxt, &cleartxt_len); in save_public_token_object()
718 total_len = cleartxt_len + sizeof (UINT32) + sizeof (CK_BBOOL); in save_public_token_object()
722 (void) fwrite(cleartxt, cleartxt_len, 1, fp); in save_public_token_object()
751 UINT32 cleartxt_len; in save_private_token_object() local
785 cleartxt_len = sizeof (UINT32) + obj_data_len_32 + SHA1_DIGEST_LENGTH; in save_private_token_object()
787 blocks = cleartxt_len / chunksize + ((cleartxt_len % chunksize) > 0); in save_private_token_object()
806 (void) add_pkcs_padding(cleartxt + cleartxt_len, RSA_BLOCK_SIZE, in save_private_token_object()
807 cleartxt_len, padded_len); in save_private_token_object()
810 rc = tpm_encrypt_data(hContext, hPrivateLeafKey, cleartxt, cleartxt_len, in save_private_token_object()
[all …]