Searched refs:padded_len (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeysUtil.c | 1416 CK_ULONG padded_len = 0; local 1480 padded_len = plain_len; 1514 if ((padded_len % wkey_blksz) != 0) { 1515 padded_len += (wkey_blksz - (plain_len % wkey_blksz)); 1516 if ((padded_data = malloc(padded_len)) == NULL) { 1520 (void) memset(padded_data, 0x0, padded_len); 1532 rv = soft_encrypt(session_p, padded_data, padded_len, 1536 if (padded_data != NULL && padded_len != plain_len) { 1538 (void) memset(padded_data, 0x0, padded_len);
|
H A D | softDecryptUtil.c | 44 soft_remove_pkcs7_padding(CK_BYTE *pData, CK_ULONG padded_len, argument 50 if ((rv = pkcs7_decode(pData, (&padded_len))) != CKR_OK) 52 if ((rv = pkcs7_decode(pData, (size_t *)(&padded_len))) != CKR_OK) 56 *pulDataLen = padded_len;
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | loadsave.c | 752 UINT32 padded_len; local 788 padded_len = RSA_BLOCK_SIZE * blocks; 790 cleartxt = (CK_BYTE *)malloc(padded_len); 791 ciphertxt = (CK_BYTE *)malloc(padded_len); 797 ciphertxt_len = padded_len; 807 cleartxt_len, padded_len);
|
Completed in 49 milliseconds