Home
last modified time | relevance | path

Searched refs:skcipher_walk_done (Results 1 – 25 of 55) sorted by relevance

123

/openbmc/linux/arch/arm/crypto/
H A Daes-ce-glue.c182 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); in ecb_encrypt()
202 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); in ecb_decrypt()
221 err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE); in cbc_encrypt_walk()
251 err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE); in cbc_decrypt_walk()
322 return skcipher_walk_done(&walk, 0); in cts_cbc_encrypt()
380 return skcipher_walk_done(&walk, 0); in cts_cbc_decrypt()
398 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); in ctr_encrypt()
416 err = skcipher_walk_done(&walk, 0); in ctr_encrypt()
490 err = skcipher_walk_done(&walk, walk.nbytes - nbytes); in xts_encrypt()
513 return skcipher_walk_done(&walk, 0); in xts_encrypt()
[all …]
H A Daes-neonbs-glue.c110 err = skcipher_walk_done(&walk, in __ecb_crypt()
185 err = skcipher_walk_done(&walk, in cbc_decrypt()
264 err = skcipher_walk_done(&walk, walk.nbytes - bytes); in ctr_encrypt()
382 err = skcipher_walk_done(&walk, in __xts_crypt()
/openbmc/linux/arch/arm64/crypto/
H A Dsm4-neon-glue.c60 err = skcipher_walk_done(&walk, nbytes % SM4_BLOCK_SIZE); in sm4_ecb_do_crypt()
108 err = skcipher_walk_done(&walk, nbytes); in sm4_cbc_encrypt()
139 err = skcipher_walk_done(&walk, nbytes % SM4_BLOCK_SIZE); in sm4_cbc_decrypt()
179 err = skcipher_walk_done(&walk, nbytes); in sm4_cfb_encrypt()
223 err = skcipher_walk_done(&walk, nbytes); in sm4_cfb_decrypt()
268 err = skcipher_walk_done(&walk, nbytes); in sm4_ctr_crypt()
H A Daes-glue.c194 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); in ecb_encrypt()
214 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); in ecb_decrypt()
232 err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE); in cbc_encrypt_walk()
261 err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE); in cbc_decrypt_walk()
331 return skcipher_walk_done(&walk, 0); in cts_cbc_encrypt()
388 return skcipher_walk_done(&walk, 0); in cts_cbc_decrypt()
424 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); in essiv_cbc_encrypt()
446 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); in essiv_cbc_decrypt()
491 err = skcipher_walk_done(&walk, walk.nbytes - nbytes); in xctr_encrypt()
535 err = skcipher_walk_done(&walk, walk.nbytes - nbytes); in ctr_encrypt()
[all …]
H A Daes-neonbs-glue.c116 err = skcipher_walk_done(&walk, in __ecb_crypt()
174 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); in cbc_encrypt()
200 err = skcipher_walk_done(&walk, in cbc_decrypt()
246 err = skcipher_walk_done(&walk, nbytes); in ctr_encrypt()
348 err = skcipher_walk_done(&walk, nbytes); in __xts_crypt()
379 return skcipher_walk_done(&walk, 0); in __xts_crypt()
H A Dsm4-ce-glue.c137 err = skcipher_walk_done(&walk, nbytes); in sm4_ecb_do_crypt()
189 err = skcipher_walk_done(&walk, nbytes % SM4_BLOCK_SIZE); in sm4_cbc_crypt()
270 return skcipher_walk_done(&walk, 0); in sm4_cbc_cts_crypt()
319 err = skcipher_walk_done(&walk, nbytes); in sm4_cfb_encrypt()
361 err = skcipher_walk_done(&walk, nbytes); in sm4_cfb_decrypt()
404 err = skcipher_walk_done(&walk, nbytes); in sm4_ctr_crypt()
468 err = skcipher_walk_done(&walk, walk.nbytes - nbytes); in sm4_xts_crypt()
502 return skcipher_walk_done(&walk, 0); in sm4_xts_crypt()
/openbmc/linux/crypto/
H A Dcfb.c117 err = skcipher_walk_done(&walk, err); in crypto_cfb_encrypt()
122 err = skcipher_walk_done(&walk, 0); in crypto_cfb_encrypt()
190 err = skcipher_walk_done(&walk, err); in crypto_cfb_decrypt()
195 err = skcipher_walk_done(&walk, 0); in crypto_cfb_decrypt()
H A Dofb.c41 err = skcipher_walk_done(&walk, nbytes); in crypto_ofb_crypt()
48 err = skcipher_walk_done(&walk, 0); in crypto_ofb_crypt()
H A Dxctr.c120 err = skcipher_walk_done(&walk, nbytes); in crypto_xctr_crypt()
125 err = skcipher_walk_done(&walk, 0); in crypto_xctr_crypt()
H A Dpcbc.c81 err = skcipher_walk_done(&walk, nbytes); in crypto_pcbc_encrypt()
148 err = skcipher_walk_done(&walk, nbytes); in crypto_pcbc_decrypt()
H A Dcbc.c86 err = skcipher_walk_done(&walk, err); in crypto_cbc_encrypt()
168 err = skcipher_walk_done(&walk, err); in crypto_cbc_decrypt()
H A Darc4.c38 err = skcipher_walk_done(&walk, 0); in crypto_arc4_crypt()
/openbmc/linux/arch/s390/crypto/
H A Dpaes_s390.c237 ret = skcipher_walk_done(&walk, nbytes - k); in ecb_paes_crypt()
240 return skcipher_walk_done(&walk, -EIO); in ecb_paes_crypt()
355 ret = skcipher_walk_done(&walk, nbytes - k); in cbc_paes_crypt()
359 return skcipher_walk_done(&walk, -EIO); in cbc_paes_crypt()
534 ret = skcipher_walk_done(&walk, nbytes - k); in xts_paes_crypt()
537 return skcipher_walk_done(&walk, -EIO); in xts_paes_crypt()
677 ret = skcipher_walk_done(&walk, nbytes - k); in ctr_paes_crypt()
683 return skcipher_walk_done(&walk, -EIO); in ctr_paes_crypt()
704 return skcipher_walk_done(&walk, -EIO); in ctr_paes_crypt()
711 ret = skcipher_walk_done(&walk, nbytes); in ctr_paes_crypt()
H A Ddes_s390.c103 ret = skcipher_walk_done(&walk, nbytes - n); in ecb_desall_crypt()
131 ret = skcipher_walk_done(&walk, nbytes - n); in cbc_desall_crypt()
341 ret = skcipher_walk_done(&walk, nbytes - n); in ctr_desall_crypt()
351 ret = skcipher_walk_done(&walk, 0); in ctr_desall_crypt()
/openbmc/linux/arch/x86/crypto/
H A Dsm4_aesni_avx_glue.c69 err = skcipher_walk_done(&walk, nbytes); in ecb_do_crypt()
119 err = skcipher_walk_done(&walk, nbytes); in sm4_cbc_encrypt()
178 err = skcipher_walk_done(&walk, nbytes); in sm4_avx_cbc_decrypt()
225 err = skcipher_walk_done(&walk, nbytes); in sm4_cfb_encrypt()
288 err = skcipher_walk_done(&walk, nbytes); in sm4_avx_cfb_decrypt()
362 err = skcipher_walk_done(&walk, nbytes); in sm4_avx_ctr_crypt()
H A Daesni-intel_glue.c307 err = skcipher_walk_done(&walk, nbytes); in ecb_encrypt()
329 err = skcipher_walk_done(&walk, nbytes); in ecb_decrypt()
351 err = skcipher_walk_done(&walk, nbytes); in cbc_encrypt()
373 err = skcipher_walk_done(&walk, nbytes); in cbc_decrypt()
432 return skcipher_walk_done(&walk, 0); in cts_cbc_encrypt()
488 return skcipher_walk_done(&walk, 0); in cts_cbc_decrypt()
538 err = skcipher_walk_done(&walk, nbytes); in ctr_crypt()
591 err = skcipher_walk_done(&walk, nbytes); in xctr_crypt()
759 err = skcipher_walk_done(&walk, 0); in gcmaes_crypt_by_sg()
960 err = skcipher_walk_done(&walk, walk.nbytes - nbytes); in xts_crypt()
[all …]
H A Ddes3_ede_glue.c104 err = skcipher_walk_done(&walk, nbytes); in ecb_crypt()
161 err = skcipher_walk_done(&walk, nbytes); in cbc_encrypt()
240 err = skcipher_walk_done(&walk, nbytes); in cbc_decrypt()
/openbmc/linux/arch/sparc/crypto/
H A Daes_glue.c236 err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); in ecb_encrypt()
261 err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); in ecb_decrypt()
286 err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); in cbc_encrypt()
312 err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); in cbc_decrypt()
352 err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); in ctr_crypt()
356 err = skcipher_walk_done(&walk, 0); in ctr_crypt()
H A Dcamellia_glue.c114 err = skcipher_walk_done(&walk, nbytes % CAMELLIA_BLOCK_SIZE); in __ecb_crypt()
161 err = skcipher_walk_done(&walk, nbytes % CAMELLIA_BLOCK_SIZE); in cbc_encrypt()
190 err = skcipher_walk_done(&walk, nbytes % CAMELLIA_BLOCK_SIZE); in cbc_decrypt()
H A Ddes_glue.c114 err = skcipher_walk_done(&walk, nbytes % DES_BLOCK_SIZE); in __ecb_crypt()
165 err = skcipher_walk_done(&walk, nbytes % DES_BLOCK_SIZE); in __cbc_crypt()
266 err = skcipher_walk_done(&walk, nbytes % DES_BLOCK_SIZE); in __ecb3_crypt()
321 err = skcipher_walk_done(&walk, nbytes % DES_BLOCK_SIZE); in __cbc3_crypt()
/openbmc/linux/drivers/crypto/vmx/
H A Daes_ctr.c123 ret = skcipher_walk_done(&walk, nbytes); in p8_aes_ctr_crypt()
127 ret = skcipher_walk_done(&walk, 0); in p8_aes_ctr_crypt()
/openbmc/linux/include/crypto/internal/
H A Dskcipher.h147 int skcipher_walk_done(struct skcipher_walk *walk, int err);
161 skcipher_walk_done(walk, -ECANCELED); in skcipher_walk_abort()
/openbmc/linux/drivers/crypto/
H A Dpadlock-aes.c361 err = skcipher_walk_done(&walk, nbytes); in ecb_aes_encrypt()
386 err = skcipher_walk_done(&walk, nbytes); in ecb_aes_decrypt()
428 err = skcipher_walk_done(&walk, nbytes); in cbc_aes_encrypt()
453 err = skcipher_walk_done(&walk, nbytes); in cbc_aes_decrypt()
/openbmc/linux/arch/powerpc/crypto/
H A Daes-spe-glue.c203 err = skcipher_walk_done(&walk, walk.nbytes - nbytes); in ppc_ecb_crypt()
244 err = skcipher_walk_done(&walk, walk.nbytes - nbytes); in ppc_cbc_crypt()
280 err = skcipher_walk_done(&walk, walk.nbytes - nbytes); in ppc_ctr_crypt()
314 err = skcipher_walk_done(&walk, walk.nbytes - nbytes); in ppc_xts_crypt()
/openbmc/linux/include/crypto/
H A Dctr.h60 err = skcipher_walk_done(&walk, tail); in crypto_ctr_encrypt_walk()

123