Searched refs:cctx (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/crypto/
H A Dcamellia_generic.c984 struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); camellia_set_key() local
993 cctx->key_length = key_len; camellia_set_key()
997 camellia_setup128(key, cctx->key_table); camellia_set_key()
1000 camellia_setup192(key, cctx->key_table); camellia_set_key()
1003 camellia_setup256(key, cctx->key_table); camellia_set_key()
1012 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); camellia_encrypt() local
1024 if (cctx->key_length == 16) camellia_encrypt()
1029 camellia_do_encrypt(cctx->key_table, tmp, max); camellia_encrypt()
1040 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); camellia_decrypt() local
1052 if (cctx->key_length == 16) camellia_decrypt()
1057 camellia_do_decrypt(cctx->key_table, tmp, max); camellia_decrypt()
/linux-4.1.27/arch/x86/include/asm/crypto/
H A Dcamellia.h28 extern int __camellia_setkey(struct camellia_ctx *cctx,
/linux-4.1.27/arch/sparc/mm/
H A Dsrmmu.c574 int cctx, ctx1;
578 cctx = srmmu_get_context();
580 if (cctx != ctx1) {
581 printk("flush ctx %02x curr %02x\n", ctx1, cctx);
586 srmmu_set_context(cctx);
/linux-4.1.27/arch/x86/crypto/
H A Dcamellia_glue.c1249 int __camellia_setkey(struct camellia_ctx *cctx, const unsigned char *key, __camellia_setkey() argument
1257 cctx->key_length = key_len; __camellia_setkey()
1261 camellia_setup128(key, cctx->key_table); __camellia_setkey()
1264 camellia_setup192(key, cctx->key_table); __camellia_setkey()
1267 camellia_setup256(key, cctx->key_table); __camellia_setkey()

Completed in 108 milliseconds