Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftBlowfishCrypt.c193 total_len = soft_blowfish_ctx->remain_len + ulDataLen; in soft_blowfish_encrypt_common()
208 soft_blowfish_ctx->remain_len, pData, in soft_blowfish_encrypt_common()
210 soft_blowfish_ctx->remain_len += ulDataLen; in soft_blowfish_encrypt_common()
242 if (soft_blowfish_ctx->remain_len != 0) { in soft_blowfish_encrypt_common()
248 soft_blowfish_ctx->remain_len, in soft_blowfish_encrypt_common()
249 pData, out_len - soft_blowfish_ctx->remain_len); in soft_blowfish_encrypt_common()
251 soft_blowfish_ctx->remain_len); in soft_blowfish_encrypt_common()
253 soft_blowfish_ctx->remain_len); in soft_blowfish_encrypt_common()
288 soft_blowfish_ctx->remain_len = remain; in soft_blowfish_encrypt_common()
369 total_len = soft_blowfish_ctx->remain_len + ulEncryptedLen; in soft_blowfish_decrypt_common()
[all …]
H A DsoftAESCrypt.c241 total_len = soft_aes_ctx->remain_len + ulDataLen; in soft_aes_encrypt_common()
259 soft_aes_ctx->remain_len, pData, ulDataLen); in soft_aes_encrypt_common()
260 soft_aes_ctx->remain_len += ulDataLen; in soft_aes_encrypt_common()
292 if (soft_aes_ctx->remain_len != 0) { in soft_aes_encrypt_common()
297 (void) memmove(pEncrypted + soft_aes_ctx->remain_len, in soft_aes_encrypt_common()
298 pData, out_len - soft_aes_ctx->remain_len); in soft_aes_encrypt_common()
300 soft_aes_ctx->remain_len); in soft_aes_encrypt_common()
301 bzero(soft_aes_ctx->data, soft_aes_ctx->remain_len); in soft_aes_encrypt_common()
339 soft_aes_ctx->remain_len = remain; in soft_aes_encrypt_common()
374 soft_aes_ctx->remain_len = remain; in soft_aes_encrypt_common()
[all …]
H A DsoftDESCrypt.c262 total_len = soft_des_ctx->remain_len + ulDataLen; in soft_des_encrypt_common()
279 soft_des_ctx->remain_len, pData, ulDataLen); in soft_des_encrypt_common()
280 soft_des_ctx->remain_len += ulDataLen; in soft_des_encrypt_common()
312 if (soft_des_ctx->remain_len != 0) { in soft_des_encrypt_common()
317 (void) memmove(pEncrypted + soft_des_ctx->remain_len, in soft_des_encrypt_common()
318 pData, out_len - soft_des_ctx->remain_len); in soft_des_encrypt_common()
320 soft_des_ctx->remain_len); in soft_des_encrypt_common()
321 bzero(soft_des_ctx->data, soft_des_ctx->remain_len); in soft_des_encrypt_common()
365 soft_des_ctx->remain_len = remain; in soft_des_encrypt_common()
401 soft_des_ctx->remain_len = remain; in soft_des_encrypt_common()
[all …]
H A DsoftEncryptUtil.c572 if (soft_des_ctx->remain_len == DES_BLOCK_LEN) in soft_encrypt_final()
589 soft_des_ctx->remain_len); in soft_encrypt_final()
595 soft_des_ctx->remain_len, DES_BLOCK_LEN, in soft_encrypt_final()
596 soft_des_ctx->remain_len); in soft_encrypt_final()
640 if (soft_des_ctx->remain_len != 0) { in soft_encrypt_final()
667 if (soft_aes_ctx->remain_len == AES_BLOCK_LEN) in soft_encrypt_final()
684 soft_aes_ctx->remain_len); in soft_encrypt_final()
690 soft_aes_ctx->remain_len, AES_BLOCK_LEN, in soft_encrypt_final()
691 soft_aes_ctx->remain_len); in soft_encrypt_final()
732 if (soft_aes_ctx->remain_len != 0) { in soft_encrypt_final()
[all …]
H A DsoftCrypt.h49 size_t remain_len; /* for use by update */ member
60 size_t remain_len; /* for use by update */ member
69 size_t remain_len; /* for use by update */ member
H A DsoftDecryptUtil.c552 if (soft_des_ctx->remain_len != DES_BLOCK_LEN) { in soft_decrypt_final()
635 if (soft_des_ctx->remain_len != 0) { in soft_decrypt_final()
661 if (soft_aes_ctx->remain_len != AES_BLOCK_LEN) { in soft_decrypt_final()
741 if (soft_aes_ctx->remain_len != 0) { in soft_decrypt_final()
800 if (soft_blowfish_ctx->remain_len != 0) in soft_decrypt_final()
/titanic_44/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c6882 u16 remain_len = len; in elink_get_ext_phy_fw_version() local
6894 &remain_len); in elink_get_ext_phy_fw_version()
6895 ver_p += (len - remain_len); in elink_get_ext_phy_fw_version()
6903 remain_len--; in elink_get_ext_phy_fw_version()
6907 &remain_len); in elink_get_ext_phy_fw_version()
6908 ver_p = version + (len - remain_len); in elink_get_ext_phy_fw_version()