Searched defs:pad_value (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsAESCrypt.c43 CK_BYTE pad_value; local
46 pad_value = (CK_BYTE)pad_len;
49 buf[i] = pad_value;
60 CK_BYTE pad_value; local
63 pad_value = pData[padded_len - 1];
67 if ((pad_value == 0) || (pad_value > block_size))
70 for (i = padded_len - pad_value; i < padded_len; i++)
71 if (pad_value != pData[i])
74 *pulDataLen = padded_len - pad_value;
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dutility.c531 CK_BYTE pad_value; local
534 pad_value = (CK_BYTE)pad_len;
540 ptr[i] = pad_value;
551 CK_BYTE pad_value; local
553 pad_value = ptr[total_len - 1];
555 /* We have 'pad_value' bytes of 'pad_value' appended to the end */
556 *data_len = total_len - pad_value;

Completed in 21 milliseconds