Searched refs:blocklen (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/common/net/wanboot/crypt/
H A Dcbc.c73 if (!IS_P2ALIGNED(datalen, ch->blocklen)) {
80 for (i = 0; i < datalen; i += ch->blocklen) {
81 cbc_xorblock(lastp, thisp, ch->blocklen);
85 thisp += ch->blocklen;
88 bcopy(lastp, IV, ch->blocklen);
101 if (!IS_P2ALIGNED(datalen, ch->blocklen)) {
108 for (i = 0; i < datalen; i += ch->blocklen) {
111 bcopy(thisp, cbcblock, ch->blocklen);
116 cbc_xorblock(lastp, thisp, ch->blocklen);
119 bcopy(cbcblock, lastp, ch->blocklen);
[all...]
H A Dcbc.h40 uint32_t blocklen; member in struct:cbc_handle_s
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/encr/
H A Dencr.c140 if (wbio_nread_rand(iv, ch->blocklen) != 0) {
148 if (wbio_nwrite(STDOUT_FILENO, iv, ch->blocklen) != 0) {
157 read_size = ENCR_BUF_LEN / ch->blocklen * ch->blocklen;
164 if ((j = i % ch->blocklen) != 0) {
170 j = ch->blocklen - j;
188 i = (i + ch->blocklen) - (i % ch->blocklen);
/illumos-gate/usr/src/tools/cscope-fast/
H A Dconstants.h53 #define setmark(c) (blockmark = c, block[blocklen] = blockmark)
H A Dfind.c55 int blocklen; /* length of disk block read */ variable
1205 blocklen = read(symrefs, block, BUFSIZ);
1209 block[blocklen] = blockmark;
1210 block[blocklen + 1] = '\0';
1213 if (blocklen == 0) {
H A Dglobal.h153 extern int blocklen; /* length of disk block read */
/illumos-gate/usr/src/uts/common/io/
H A Dcryptmod.c225 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
806 derive_key(struct cipher_data_t *cdata, uchar_t *constdata, int constlen, char *dkey, int keybytes, int blocklen) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dcryptmod.h190 crkeylen_t blocklen; member in struct:cipher_data_t
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeysUtil.c1172 CK_BYTE *blockdata, CK_ULONG blocklen)
1218 local_min(blocklen, hmac_outlen));
1227 for (j = 0; j < hmac_outlen && j < blocklen; j++)
1168 do_prf(soft_session_t *session_p, CK_PKCS5_PBKD2_PARAMS_PTR params, soft_object_t *hmac_key, CK_BYTE *newsalt, CK_ULONG saltlen, CK_BYTE *blockdata, CK_ULONG blocklen) argument
/illumos-gate/usr/src/uts/intel/io/dnet/
H A Ddnet.c4171 int blocklen = *vi++ & 0x7f; local
4305 vi += blocklen;

Completed in 81 milliseconds