Searched refs:chunk (Results 1 – 2 of 2) sorted by relevance
| /crypto/ |
| A D | lskcipher.c | 97 unsigned chunk = min((unsigned)PAGE_SIZE, len); in crypto_lskcipher_crypt_unaligned() local 100 if (chunk > cs) in crypto_lskcipher_crypt_unaligned() 101 chunk &= ~(cs - 1); in crypto_lskcipher_crypt_unaligned() 103 memcpy(p, src, chunk); in crypto_lskcipher_crypt_unaligned() 104 err = crypt(tfm, p, p, chunk, tiv, CRYPTO_LSKCIPHER_FLAG_FINAL); in crypto_lskcipher_crypt_unaligned() 108 memcpy(dst, p, chunk); in crypto_lskcipher_crypt_unaligned() 109 src += chunk; in crypto_lskcipher_crypt_unaligned() 110 dst += chunk; in crypto_lskcipher_crypt_unaligned() 111 len -= chunk; in crypto_lskcipher_crypt_unaligned()
|
| A D | drbg.c | 1510 unsigned int chunk = 0; in drbg_generate_long() local 1512 chunk = slice ? drbg_max_request_bytes(drbg) : (buflen - len); in drbg_generate_long() 1514 err = drbg_generate(drbg, buf + len, chunk, addtl); in drbg_generate_long() 1518 len += chunk; in drbg_generate_long()
|
Completed in 9 milliseconds