Lines Matching full:count
49 * (i.e. off != 0 or count < key blob size) -EINVAL is returned.
52 loff_t off, size_t count) in pkey_protkey_aes_attr_read() argument
58 if (off != 0 || count < sizeof(protkeytoken)) in pkey_protkey_aes_attr_read()
61 if (count < 2 * sizeof(protkeytoken)) in pkey_protkey_aes_attr_read()
106 * (i.e. off != 0 or count < key blob size) -EINVAL is returned.
109 loff_t off, size_t count) in pkey_protkey_aes_xts_attr_read() argument
126 if (off != 0 || count < sizeof(*t) + protlen) in pkey_protkey_aes_xts_attr_read()
148 * (i.e. off != 0 or count < key blob size) -EINVAL is returned.
151 loff_t off, size_t count) in pkey_protkey_hmac_attr_read() argument
168 if (off != 0 || count < sizeof(*t) + protlen) in pkey_protkey_hmac_attr_read()
190 size_t count) in protkey_aes_128_read() argument
193 off, count); in protkey_aes_128_read()
200 size_t count) in protkey_aes_192_read() argument
203 off, count); in protkey_aes_192_read()
210 size_t count) in protkey_aes_256_read() argument
213 off, count); in protkey_aes_256_read()
220 size_t count) in protkey_aes_128_xts_read() argument
223 off, count); in protkey_aes_128_xts_read()
230 size_t count) in protkey_aes_256_xts_read() argument
233 off, count); in protkey_aes_256_xts_read()
240 size_t count) in protkey_aes_xts_128_read() argument
243 buf, off, count); in protkey_aes_xts_128_read()
250 size_t count) in protkey_aes_xts_256_read() argument
253 buf, off, count); in protkey_aes_xts_256_read()
260 size_t count) in protkey_hmac_512_read() argument
263 buf, off, count); in protkey_hmac_512_read()
270 size_t count) in protkey_hmac_1024_read() argument
273 buf, off, count); in protkey_hmac_1024_read()
308 * (i.e. off != 0 or count < key blob size) -EINVAL is returned.
311 loff_t off, size_t count) in pkey_ccadata_aes_attr_read() argument
317 if (off != 0 || count < sizeof(struct secaeskeytoken)) in pkey_ccadata_aes_attr_read()
320 if (count < 2 * sizeof(struct secaeskeytoken)) in pkey_ccadata_aes_attr_read()
347 size_t count) in ccadata_aes_128_read() argument
350 off, count); in ccadata_aes_128_read()
357 size_t count) in ccadata_aes_192_read() argument
360 off, count); in ccadata_aes_192_read()
367 size_t count) in ccadata_aes_256_read() argument
370 off, count); in ccadata_aes_256_read()
377 size_t count) in ccadata_aes_128_xts_read() argument
380 off, count); in ccadata_aes_128_xts_read()
387 size_t count) in ccadata_aes_256_xts_read() argument
390 off, count); in ccadata_aes_256_xts_read()
419 * (i.e. off != 0 or count < key blob size) -EINVAL is returned.
423 size_t count) in pkey_ccacipher_aes_attr_read() argument
428 if (off != 0 || count < CCACIPHERTOKENSIZE) in pkey_ccacipher_aes_attr_read()
431 if (count < 2 * CCACIPHERTOKENSIZE) in pkey_ccacipher_aes_attr_read()
461 size_t count) in ccacipher_aes_128_read() argument
464 off, count); in ccacipher_aes_128_read()
471 size_t count) in ccacipher_aes_192_read() argument
474 off, count); in ccacipher_aes_192_read()
481 size_t count) in ccacipher_aes_256_read() argument
484 off, count); in ccacipher_aes_256_read()
491 size_t count) in ccacipher_aes_128_xts_read() argument
494 off, count); in ccacipher_aes_128_xts_read()
501 size_t count) in ccacipher_aes_256_xts_read() argument
504 off, count); in ccacipher_aes_256_xts_read()
531 * (i.e. off != 0 or count < key blob size) -EINVAL is returned.
538 size_t count) in pkey_ep11_aes_attr_read() argument
543 if (off != 0 || count < MAXEP11AESKEYBLOBSIZE) in pkey_ep11_aes_attr_read()
546 if (count < 2 * MAXEP11AESKEYBLOBSIZE) in pkey_ep11_aes_attr_read()
576 size_t count) in ep11_aes_128_read() argument
579 off, count); in ep11_aes_128_read()
586 size_t count) in ep11_aes_192_read() argument
589 off, count); in ep11_aes_192_read()
596 size_t count) in ep11_aes_256_read() argument
599 off, count); in ep11_aes_256_read()
606 size_t count) in ep11_aes_128_xts_read() argument
609 off, count); in ep11_aes_128_xts_read()
616 size_t count) in ep11_aes_256_xts_read() argument
619 off, count); in ep11_aes_256_xts_read()