Lines Matching refs:blocksize
265 static void n_fold(unsigned char *block, unsigned int blocksize, in n_fold() argument
271 if (constant_len == blocksize) { in n_fold()
277 gcd = blocksize; in n_fold()
286 lcm = blocksize * constant_len / gcd; in n_fold()
289 memset(block, 0, blocksize); in n_fold()
297 b = l % blocksize; in n_fold()
319 for (b = blocksize - 1; b >= 0 && carry != 0; b--) { in n_fold()
363 size_t blocksize; in KRB5KDF() local
396 blocksize = EVP_CIPHER_CTX_get_block_size(ctx); in KRB5KDF()
398 if (constant_len > blocksize) { in KRB5KDF()
404 n_fold(block, blocksize, constant, constant_len); in KRB5KDF()
412 plainblock, blocksize); in KRB5KDF()