Lines Matching +full:hardware +full:- +full:protected
1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2024-2025 NXP
25 * struct caam_pkey_info - information for CAAM protected key
26 * @is_pkey: flag to identify, if the key is protected.
42 * struct caam_blob_info - information for CAAM blobbing
43 * @pkey_info: pointer to keep protected key information
66 * caam_blob_gen_init - initialize blob generation
68 * and ``ERR_PTR(-ENODEV)`` if CAAM has no hardware blobbing support
74 * caam_blob_gen_exit - free blob generation resources
80 * caam_process_blob - encapsulate or decapsulate blob
86 * Return: %0 and sets ``info->output_len`` on success and a negative
93 * caam_encap_blob - encapsulate blob
98 * Return: %0 and sets ``info->output_len`` on success and
104 if (info->output_len < info->input_len + CAAM_BLOB_OVERHEAD) in caam_encap_blob()
105 return -EINVAL; in caam_encap_blob()
111 * caam_decap_blob - decapsulate blob
116 * Return: %0 and sets ``info->output_len`` on success and
122 if (info->input_len < CAAM_BLOB_OVERHEAD || in caam_decap_blob()
123 info->output_len < info->input_len - CAAM_BLOB_OVERHEAD) in caam_decap_blob()
124 return -EINVAL; in caam_decap_blob()