Home
last modified time | relevance | path

Searched refs:rbuf_len (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/security/integrity/ima/
Dima_crypto.c64 int rbuf_len; in ima_calc_hash() local
66 rbuf_len = kernel_read(file, offset, rbuf, PAGE_SIZE); in ima_calc_hash()
67 if (rbuf_len < 0) { in ima_calc_hash()
68 rc = rbuf_len; in ima_calc_hash()
71 if (rbuf_len == 0) in ima_calc_hash()
73 offset += rbuf_len; in ima_calc_hash()
74 sg_init_one(sg, rbuf, rbuf_len); in ima_calc_hash()
76 rc = crypto_hash_update(&desc, sg, rbuf_len); in ima_calc_hash()