Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftBlowfishCrypt.c194 total_len = soft_blowfish_ctx->remain_len + ulDataLen; in soft_blowfish_encrypt_common()
209 soft_blowfish_ctx->remain_len, pData, in soft_blowfish_encrypt_common()
211 soft_blowfish_ctx->remain_len += ulDataLen; in soft_blowfish_encrypt_common()
243 if (soft_blowfish_ctx->remain_len != 0) { in soft_blowfish_encrypt_common()
249 soft_blowfish_ctx->remain_len, in soft_blowfish_encrypt_common()
250 pData, out_len - soft_blowfish_ctx->remain_len); in soft_blowfish_encrypt_common()
252 soft_blowfish_ctx->remain_len); in soft_blowfish_encrypt_common()
254 soft_blowfish_ctx->remain_len); in soft_blowfish_encrypt_common()
289 soft_blowfish_ctx->remain_len = remain; in soft_blowfish_encrypt_common()
366 total_len = soft_blowfish_ctx->remain_len + ulEncryptedLen; in soft_blowfish_decrypt_common()
[all …]
H A DsoftDESCrypt.c263 total_len = soft_des_ctx->remain_len + ulDataLen; in soft_des_encrypt_common()
280 soft_des_ctx->remain_len, pData, ulDataLen); in soft_des_encrypt_common()
281 soft_des_ctx->remain_len += ulDataLen; in soft_des_encrypt_common()
313 if (soft_des_ctx->remain_len != 0) { in soft_des_encrypt_common()
318 (void) memmove(pEncrypted + soft_des_ctx->remain_len, in soft_des_encrypt_common()
319 pData, out_len - soft_des_ctx->remain_len); in soft_des_encrypt_common()
321 soft_des_ctx->remain_len); in soft_des_encrypt_common()
322 bzero(soft_des_ctx->data, soft_des_ctx->remain_len); in soft_des_encrypt_common()
366 soft_des_ctx->remain_len = remain; in soft_des_encrypt_common()
402 soft_des_ctx->remain_len = remain; in soft_des_encrypt_common()
[all …]
H A DsoftEncryptUtil.c495 if (soft_des_ctx->remain_len == DES_BLOCK_LEN) in soft_encrypt_final()
512 soft_des_ctx->remain_len); in soft_encrypt_final()
518 soft_des_ctx->remain_len, DES_BLOCK_LEN, in soft_encrypt_final()
519 soft_des_ctx->remain_len); in soft_encrypt_final()
562 if (soft_des_ctx->remain_len != 0) { in soft_encrypt_final()
599 if (soft_blowfish_ctx->remain_len != 0) in soft_encrypt_final()
H A DsoftCrypt.h50 size_t remain_len; /* for use by update */ member
61 size_t remain_len; /* for use by update */ member
H A DsoftDecryptUtil.c469 if (soft_des_ctx->remain_len != DES_BLOCK_LEN) { in soft_decrypt_final()
550 if (soft_des_ctx->remain_len != 0) { in soft_decrypt_final()
583 if (soft_blowfish_ctx->remain_len != 0) in soft_decrypt_final()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c6887 u16 remain_len = len; in elink_get_ext_phy_fw_version() local
6899 &remain_len); in elink_get_ext_phy_fw_version()
6900 ver_p += (len - remain_len); in elink_get_ext_phy_fw_version()
6908 remain_len--; in elink_get_ext_phy_fw_version()
6912 &remain_len); in elink_get_ext_phy_fw_version()
6913 ver_p = version + (len - remain_len); in elink_get_ext_phy_fw_version()