Lines Matching defs:blocksize
40 dk_encrypt) assume the confounder is always the blocksize, and the
41 padding is always zero bytes up to the blocksize. If these
50 size_t blocksize, hashsize;
52 blocksize = enc->block_size;
54 *length = krb5_roundup(blocksize+inputlen, blocksize) + hashsize;
65 size_t blocksize, plainlen, enclen;
87 blocksize = enc->block_size;
88 plainlen = krb5_roundup(blocksize+input->length, blocksize);
100 d1.length = blocksize;
106 (void) memcpy(plaintext+blocksize, input->data, input->length);
108 (void) memset(plaintext+blocksize+input->length, 0,
109 plainlen - (blocksize+input->length));
125 if (ivec != NULL && ivec->length == blocksize)
126 cn = (unsigned char *) d2.data + d2.length - blocksize;
152 (void) memcpy(ivec->data, cn, blocksize);
173 size_t blocksize, hashsize;
175 blocksize = enc->block_size;
180 *length = blocksize+inputlen + hashsize;
229 size_t blocksize, plainlen, enclen;
249 blocksize = enc->block_size;
250 plainlen = blocksize+input->length;
262 d1.length = blocksize;
268 (void) memcpy(plaintext+blocksize, input->data, input->length);
271 if (plainlen != blocksize + input->length) {
287 if (ivec != NULL && ivec->length == blocksize) {
288 int nblocks = (d2.length + blocksize - 1) / blocksize;
289 cn = (uchar_t *) d2.data + blocksize * (nblocks - 2);
309 (void) memcpy(ivec->data, cn, blocksize);