Home
last modified time | relevance | path

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

/linux/security/keys/trusted-keys/
H A Dtrusted_caam.c32 static inline void dump_options(const struct caam_pkey_info *pkey_info) in dump_options() argument
34 pr_info("key encryption algo %d\n", pkey_info->key_enc_algo); in dump_options()
37 static inline void dump_options(const struct caam_pkey_info *pkey_info) in dump_options() argument
43 struct caam_pkey_info *pkey_info) in get_pkey_options() argument
67 pkey_info->key_enc_algo = key_enc_algo; in get_pkey_options()
106 info.pkey_info.plain_key_sz = p->key_len; in trusted_caam_seal()
107 info.pkey_info.is_pkey = 1; in trusted_caam_seal()
108 ret = get_pkey_options(datablob, &info.pkey_info); in trusted_caam_seal()
111 dump_options(&info.pkey_info); in trusted_caam_seal()
119 if (info.pkey_info.is_pkey) { in trusted_caam_seal()
[all …]
/linux/drivers/crypto/caam/
H A Dblob_gen.c98 if (encap && info->pkey_info.is_pkey) { in caam_process_blob()
100 if (info->pkey_info.key_enc_algo == CAAM_ENC_ALGO_CCM) { in caam_process_blob()
146 if (encap && info->pkey_info.is_pkey) { in caam_process_blob()
153 if (info->pkey_info.key_enc_algo == CAAM_ENC_ALGO_CCM) { in caam_process_blob()
H A Dcaamalg.c790 struct caam_pkey_info *pkey_info = (struct caam_pkey_info *)key; in paes_skcipher_setkey() local
800 ctx->cdata.plain_keylen = pkey_info->plain_key_sz; in paes_skcipher_setkey()
806 ctx->cdata.key_virt = pkey_info->key_buf; in paes_skcipher_setkey()
819 if (pkey_info->key_enc_algo == CAAM_ENC_ALGO_CCM) in paes_skcipher_setkey()
826 if (pkey_info->key_enc_algo == CAAM_ENC_ALGO_CCM) in paes_skcipher_setkey()
/linux/include/soc/fsl/
H A Dcaam-blob.h53 struct caam_pkey_info pkey_info; member