Searched defs:blocksize (Results 1 - 3 of 3) sorted by relevance

/net/sunrpc/auth_gss/
H A Dgss_krb5_keys.c156 size_t blocksize, keybytes, keylength, n; local
162 blocksize = gk5e->blocksize;
179 inblockdata = kmalloc(blocksize, gfp_mask);
183 outblockdata = kmalloc(blocksize, gfp_mask);
192 inblock.len = blocksize;
195 outblock.len = blocksize;
244 memset(outblockdata, 0, blocksize);
247 memset(inblockdata, 0, blocksize);
H A Dgss_krb5_wrap.c43 gss_krb5_padding(int blocksize, int length) argument
45 return blocksize - (length % blocksize);
49 gss_krb5_add_padding(struct xdr_buf *buf, int offset, int blocksize) argument
51 int padding = gss_krb5_padding(blocksize, buf->len - offset);
66 gss_krb5_remove_padding(struct xdr_buf *buf, int blocksize) argument
107 if (pad > blocksize)
164 int blocksize = 0, plainlen; local
177 blocksize = crypto_blkcipher_blocksize(kctx->enc);
178 gss_krb5_add_padding(buf, offset, blocksize);
274 int blocksize; local
437 int blocksize; local
[all...]
H A Dgss_krb5_crypto.c651 int blocksize; local
669 blocksize = crypto_blkcipher_blocksize(cipher);
719 nblocks = (nbytes + blocksize - 1) / blocksize;
722 cbcbytes = (nblocks - 2) * blocksize;
775 int nblocks, blocksize, cbcbytes; local
790 blocksize = crypto_blkcipher_blocksize(cipher);
798 nblocks = (subbuf.len + blocksize - 1) / blocksize;
802 cbcbytes = (nblocks - 2) * blocksize;
[all...]

Completed in 347 milliseconds