Searched refs:pkey_info (Results 1 – 4 of 4) sorted by relevance
32 static inline void dump_options(const struct caam_pkey_info *pkey_info) in dump_options() argument34 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() argument43 struct caam_pkey_info *pkey_info) in get_pkey_options() argument67 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 …]
98 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()
790 struct caam_pkey_info *pkey_info = (struct caam_pkey_info *)key; in paes_skcipher_setkey() local800 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()
53 struct caam_pkey_info pkey_info; member