Lines Matching refs:len

70 	struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len,  in crypto_lskcipher_crypt_unaligned()  argument
72 u8 *dst, unsigned len, u8 *iv, u32 flags)) in crypto_lskcipher_crypt_unaligned()
96 while (len >= bs) { in crypto_lskcipher_crypt_unaligned()
97 unsigned chunk = min((unsigned)PAGE_SIZE, len); in crypto_lskcipher_crypt_unaligned()
111 len -= chunk; in crypto_lskcipher_crypt_unaligned()
114 err = len ? -EINVAL : 0; in crypto_lskcipher_crypt_unaligned()
124 u8 *dst, unsigned len, u8 *iv, in crypto_lskcipher_crypt() argument
127 unsigned len, u8 *iv, in crypto_lskcipher_crypt()
134 return crypto_lskcipher_crypt_unaligned(tfm, src, dst, len, iv, in crypto_lskcipher_crypt()
137 return crypt(tfm, src, dst, len, iv, CRYPTO_LSKCIPHER_FLAG_FINAL); in crypto_lskcipher_crypt()
141 u8 *dst, unsigned len, u8 *iv) in crypto_lskcipher_encrypt() argument
145 return crypto_lskcipher_crypt(tfm, src, dst, len, iv, alg->encrypt); in crypto_lskcipher_encrypt()
150 u8 *dst, unsigned len, u8 *iv) in crypto_lskcipher_decrypt() argument
154 return crypto_lskcipher_crypt(tfm, src, dst, len, iv, alg->decrypt); in crypto_lskcipher_decrypt()
161 unsigned len, u8 *ivs, in crypto_lskcipher_crypt_sg() argument
534 int len; in lskcipher_alloc_instance_simple() local
537 len = strscpy(ecb_name, &cipher_alg->co.base.cra_name[4], in lskcipher_alloc_instance_simple()
539 if (len < 2) in lskcipher_alloc_instance_simple()
542 if (ecb_name[len - 1] != ')') in lskcipher_alloc_instance_simple()
545 ecb_name[len - 1] = 0; in lskcipher_alloc_instance_simple()