Home
last modified time | relevance | path

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

/linux-4.4.14/crypto/
Dcamellia_generic.c984 struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_set_key() local
993 cctx->key_length = key_len; in camellia_set_key()
997 camellia_setup128(key, cctx->key_table); in camellia_set_key()
1000 camellia_setup192(key, cctx->key_table); in camellia_set_key()
1003 camellia_setup256(key, cctx->key_table); in camellia_set_key()
1012 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_encrypt() local
1024 if (cctx->key_length == 16) in camellia_encrypt()
1029 camellia_do_encrypt(cctx->key_table, tmp, max); in camellia_encrypt()
1040 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_decrypt() local
1052 if (cctx->key_length == 16) in camellia_decrypt()
[all …]
/linux-4.4.14/arch/x86/crypto/
Dcamellia_glue.c1249 int __camellia_setkey(struct camellia_ctx *cctx, const unsigned char *key, in __camellia_setkey() argument
1257 cctx->key_length = key_len; in __camellia_setkey()
1261 camellia_setup128(key, cctx->key_table); in __camellia_setkey()
1264 camellia_setup192(key, cctx->key_table); in __camellia_setkey()
1267 camellia_setup256(key, cctx->key_table); in __camellia_setkey()
/linux-4.4.14/arch/x86/include/asm/crypto/
Dcamellia.h28 extern int __camellia_setkey(struct camellia_ctx *cctx,
/linux-4.4.14/arch/sparc/mm/
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);