Lines Matching refs:blocklen

225 		kmem_free(cd->block, cd->blocklen);
230 kmem_free(cd->saveblock, cd->blocklen);
460 tmi->enc_data.blocklen,
545 savedbytes = tmi->dec_data.bytes % tmi->dec_data.blocklen;
553 cp = ((tmi->dec_data.blocklen - savedbytes) > len ? len :
554 tmi->dec_data.blocklen - savedbytes);
573 tmi->dec_data.blocklen,
603 if (!(tmi->dec_data.bytes % tmi->dec_data.blocklen)) {
626 tmi->dec_data.blocklen ?
627 tmi->dec_data.blocklen :
808 int blocklen)
817 inblock = kmem_zalloc(blocklen, KM_SLEEP);
819 zeroblock = kmem_zalloc(blocklen, KM_SLEEP);
821 if (constlen == blocklen)
822 bcopy(constdata, inblock, blocklen);
825 blocklen * 8, (uchar_t *)inblock);
848 blocklen, CRYPT_ENCRYPT);
856 if (keybytes - n < blocklen) {
860 bcopy(inblock, rawkey+n, blocklen);
861 n += blocklen;
893 kmem_free(inblock, blocklen);
894 kmem_free(zeroblock, blocklen);
950 enckey->ck_data, keybytes, cdata->blocklen);
963 cdata->blocklen);
1012 encr_mech.cm_param_len = cdata->blocklen;
1081 encr_mech.cm_param_len = cdata->blocklen;
1156 mech.cm_param_len = cdata->blocklen;
1399 bzero(tmi->enc_data.block, tmi->enc_data.blocklen);
1559 bzero(tmi->dec_data.block, tmi->dec_data.blocklen);
2311 bzero(tmi->enc_data.block, tmi->enc_data.blocklen);
2314 tmi->enc_data.blocklen);
2421 bzero(tmi->dec_data.block, tmi->dec_data.blocklen);
2424 tmi->dec_data.blocklen);
2751 if (newblocklen != cd->blocklen) {
2753 kmem_free(cd->block, cd->blocklen);
2758 kmem_free(cd->saveblock, cd->blocklen);
2762 cd->blocklen = newblocklen;
2763 if (cd->blocklen) {
2764 cd->block = (char *)kmem_zalloc((size_t)cd->blocklen,
2769 cd->saveblock = (char *)kmem_zalloc(cd->blocklen,
2799 if (cd->ivlen > cd->blocklen) {
2894 if (cd->block == NULL && cd->blocklen > 0) {
2909 cd->saveblock == NULL && cd->blocklen > 0) {