Searched refs:ulEncryptedLen (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDESCrypt.c472 * ulEncryptedLen: length of the input data
492 CK_ULONG ulEncryptedLen, CK_BYTE_PTR pData,
522 if ((ulEncryptedLen % DES_BLOCK_LEN) != 0) {
532 *pulDataLen = ulEncryptedLen;
538 if (*pulDataLen < ulEncryptedLen) {
539 *pulDataLen = ulEncryptedLen;
544 out_len = ulEncryptedLen;
551 if (*pulDataLen < (ulEncryptedLen - DES_BLOCK_LEN)) {
552 *pulDataLen = ulEncryptedLen - DES_BLOCK_LEN;
555 out_len = ulEncryptedLen
491 soft_des_decrypt_common(soft_session_t *session_p, CK_BYTE_PTR pEncrypted, CK_ULONG ulEncryptedLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen, boolean_t update) argument
922 CK_ULONG ulEncryptedLen = 0; local
1078 CK_ULONG ulEncryptedLen; local
[all...]
H A DsoftBlowfishCrypt.c318 CK_ULONG ulEncryptedLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen,
340 if ((ulEncryptedLen % BLOWFISH_BLOCK_LEN) != 0) {
350 *pulDataLen = ulEncryptedLen;
355 if (*pulDataLen < ulEncryptedLen) {
356 *pulDataLen = ulEncryptedLen;
359 out_len = ulEncryptedLen;
369 total_len = soft_blowfish_ctx->remain_len + ulEncryptedLen;
375 pEncrypted, ulEncryptedLen);
377 soft_blowfish_ctx->remain_len += ulEncryptedLen;
453 pEncrypted + (ulEncryptedLen
317 soft_blowfish_decrypt_common(soft_session_t *session_p, CK_BYTE_PTR pEncrypted, CK_ULONG ulEncryptedLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen, boolean_t update) argument
[all...]
H A DsoftAESCrypt.c473 * ulEncryptedLen: length of the input data
493 CK_ULONG ulEncryptedLen, CK_BYTE_PTR pData,
523 if ((ulEncryptedLen % AES_BLOCK_LEN) != 0) {
533 *pulDataLen = ulEncryptedLen;
539 if (*pulDataLen < ulEncryptedLen) {
540 *pulDataLen = ulEncryptedLen;
543 out_len = ulEncryptedLen;
550 if (*pulDataLen < (ulEncryptedLen - AES_BLOCK_LEN)) {
551 *pulDataLen = ulEncryptedLen - AES_BLOCK_LEN;
554 out_len = ulEncryptedLen
492 soft_aes_decrypt_common(soft_session_t *session_p, CK_BYTE_PTR pEncrypted, CK_ULONG ulEncryptedLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen, boolean_t update) argument
[all...]
H A DsoftDecryptUtil.c338 * ulEncryptedLen: length of the input data
353 CK_ULONG ulEncryptedLen, CK_BYTE_PTR pData,
366 if (ulEncryptedLen == 0) {
376 ulEncryptedLen, pData, pulDataLen, Update));
382 if (ulEncryptedLen == 0) {
391 ulEncryptedLen, pData, pulDataLen, Update));
395 if (ulEncryptedLen == 0) {
401 ulEncryptedLen, pData, pulDataLen, Update));
405 if (ulEncryptedLen == 0) {
412 ulEncryptedLen, pDat
352 soft_decrypt_common(soft_session_t *session_p, CK_BYTE_PTR pEncrypted, CK_ULONG ulEncryptedLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen, boolean_t Update) argument
[all...]
H A DsoftRSA.c331 CK_ULONG ulEncryptedLen, CK_BYTE_PTR pData,
347 if (ulEncryptedLen != (CK_ULONG)modulus_len) {
385 if (ulEncryptedLen - num_padding > *pulDataLen) {
330 soft_rsa_decrypt_common(soft_session_t *session_p, CK_BYTE_PTR pEncrypted, CK_ULONG ulEncryptedLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen, CK_MECHANISM_TYPE mechanism) argument

Completed in 75 milliseconds