Lines Matching refs:ctx
40 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm);
46 ctx->key_len = key_len;
48 camellia_sparc64_key_expand(in_key, &ctx->encrypt_key[0],
49 key_len, &ctx->decrypt_key[0]);
64 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm);
66 camellia_sparc64_crypt(&ctx->encrypt_key[0],
68 (u32 *) dst, ctx->key_len);
73 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm);
75 camellia_sparc64_crypt(&ctx->decrypt_key[0],
77 (u32 *) dst, ctx->key_len);
91 const struct camellia_sparc64_ctx *ctx = crypto_skcipher_ctx(tfm);
99 if (ctx->key_len != 16)
107 key = &ctx->encrypt_key[0];
109 key = &ctx->decrypt_key[0];
110 camellia_sparc64_load_keys(key, ctx->key_len);
141 const struct camellia_sparc64_ctx *ctx = crypto_skcipher_ctx(tfm);
149 if (ctx->key_len != 16)
156 key = &ctx->encrypt_key[0];
157 camellia_sparc64_load_keys(key, ctx->key_len);
170 const struct camellia_sparc64_ctx *ctx = crypto_skcipher_ctx(tfm);
178 if (ctx->key_len != 16)
185 key = &ctx->decrypt_key[0];
186 camellia_sparc64_load_keys(key, ctx->key_len);