Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/ccree/
Dcc_cipher.c69 struct cc_cipher_ctx *ctx_p = crypto_tfm_ctx(tfm); in cc_key_type() local
71 return ctx_p->key_type; in cc_key_type()
74 static int validate_keys_sizes(struct cc_cipher_ctx *ctx_p, u32 size) in validate_keys_sizes() argument
76 switch (ctx_p->flow_mode) { in validate_keys_sizes()
81 if (ctx_p->cipher_mode != DRV_CIPHER_XTS && in validate_keys_sizes()
82 ctx_p->cipher_mode != DRV_CIPHER_ESSIV && in validate_keys_sizes()
83 ctx_p->cipher_mode != DRV_CIPHER_BITLOCKER) in validate_keys_sizes()
90 if (ctx_p->cipher_mode == DRV_CIPHER_XTS || in validate_keys_sizes()
91 ctx_p->cipher_mode == DRV_CIPHER_ESSIV || in validate_keys_sizes()
92 ctx_p->cipher_mode == DRV_CIPHER_BITLOCKER) in validate_keys_sizes()
[all …]