Lines Matching refs:src
40 const u8 *src, bool xor);
43 const u8 *src);
48 const u8 *src, bool xor);
51 const u8 *src);
54 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_encrypt() argument
56 camellia_enc_blk(crypto_tfm_ctx(tfm), dst, src); in camellia_encrypt()
59 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_decrypt() argument
61 camellia_dec_blk(crypto_tfm_ctx(tfm), dst, src); in camellia_decrypt()
1282 void camellia_decrypt_cbc_2way(void *ctx, u128 *dst, const u128 *src) in camellia_decrypt_cbc_2way() argument
1284 u128 iv = *src; in camellia_decrypt_cbc_2way()
1286 camellia_dec_blk_2way(ctx, (u8 *)dst, (u8 *)src); in camellia_decrypt_cbc_2way()
1292 void camellia_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_crypt_ctr() argument
1296 if (dst != src) in camellia_crypt_ctr()
1297 *dst = *src; in camellia_crypt_ctr()
1306 void camellia_crypt_ctr_2way(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_crypt_ctr_2way() argument
1310 if (dst != src) { in camellia_crypt_ctr_2way()
1311 dst[0] = src[0]; in camellia_crypt_ctr_2way()
1312 dst[1] = src[1]; in camellia_crypt_ctr_2way()
1377 struct scatterlist *src, unsigned int nbytes) in ecb_encrypt() argument
1379 return glue_ecb_crypt_128bit(&camellia_enc, desc, dst, src, nbytes); in ecb_encrypt()
1383 struct scatterlist *src, unsigned int nbytes) in ecb_decrypt() argument
1385 return glue_ecb_crypt_128bit(&camellia_dec, desc, dst, src, nbytes); in ecb_decrypt()
1389 struct scatterlist *src, unsigned int nbytes) in cbc_encrypt() argument
1392 dst, src, nbytes); in cbc_encrypt()
1396 struct scatterlist *src, unsigned int nbytes) in cbc_decrypt() argument
1398 return glue_cbc_decrypt_128bit(&camellia_dec_cbc, desc, dst, src, in cbc_decrypt()
1403 struct scatterlist *src, unsigned int nbytes) in ctr_crypt() argument
1405 return glue_ctr_crypt_128bit(&camellia_ctr, desc, dst, src, nbytes); in ctr_crypt()
1458 struct scatterlist *src, unsigned int nbytes) in lrw_encrypt() argument
1471 return lrw_crypt(desc, dst, src, nbytes, &req); in lrw_encrypt()
1475 struct scatterlist *src, unsigned int nbytes) in lrw_decrypt() argument
1488 return lrw_crypt(desc, dst, src, nbytes, &req); in lrw_decrypt()
1526 struct scatterlist *src, unsigned int nbytes) in xts_encrypt() argument
1540 return xts_crypt(desc, dst, src, nbytes, &req); in xts_encrypt()
1544 struct scatterlist *src, unsigned int nbytes) in xts_decrypt() argument
1558 return xts_crypt(desc, dst, src, nbytes, &req); in xts_decrypt()