Lines Matching full:operation
46 * ccp_enqueue_cmd - queue an operation for processing by the CCP
62 * the result of the operation.
106 * ccp_aes_mode - AES operation mode
130 * ccp_aes_mode - AES operation mode
132 * @CCP_AES_ACTION_DECRYPT: AES decrypt operation
133 * @CCP_AES_ACTION_ENCRYPT: AES encrypt operation
145 * struct ccp_aes_engine - CCP AES operation
146 * @type: AES operation key size
147 * @mode: AES operation mode
148 * @action: AES operation (decrypt/encrypt)
149 * @key: key to be used for this AES operation
151 * @iv: IV to be used for this AES operation
153 * @src: data to be used for this operation
154 * @dst: data produced by this operation
155 * @src_len: length in bytes of data used for this operation
156 * @cmac_final: indicates final operation when running in CMAC mode
157 * @cmac_key: K1/K2 key used in final CMAC operation
167 * AES operation the new IV overwrites the old IV.
213 * struct ccp_xts_aes_engine - CCP XTS AES operation
214 * @action: AES operation (decrypt/encrypt)
215 * @unit_size: unit size of the XTS operation
216 * @key: key to be used for this XTS AES operation
218 * @iv: IV to be used for this XTS AES operation
220 * @src: data to be used for this operation
221 * @dst: data produced by this operation
222 * @src_len: length in bytes of data used for this operation
223 * @final: indicates final XTS operation
229 * AES operation the new IV overwrites the old IV.
250 * ccp_sha_type - type of SHA operation
252 * @CCP_SHA_TYPE_1: SHA-1 operation
253 * @CCP_SHA_TYPE_224: SHA-224 operation
254 * @CCP_SHA_TYPE_256: SHA-256 operation
266 * struct ccp_sha_engine - CCP SHA operation
267 * @type: Type of SHA operation
270 * @src: data to be used for this operation
271 * @src_len: length in bytes of data used for this operation
272 * @opad: data to be used for final HMAC operation
273 * @opad_len: length in bytes of data used for final HMAC operation
274 * @first: indicates first SHA operation
275 * @final: indicates final SHA operation
276 * @msg_bits: total length of the message in bits used in final SHA operation
283 * SHA operation the new hash value overwrites the old hash value.
323 * struct ccp_des3_engine - CCP SHA operation
324 * @type: Type of 3DES operation
326 * @action: 3DES operation (decrypt/encrypt)
327 * @key: key to be used for this 3DES operation
329 * @iv: IV to be used for this AES operation
331 * @src: input data to be used for this operation
332 * @src_len: length of input data used for this operation (in bytes)
333 * @dst: output data produced by this operation
340 * 3DES operation the new IV overwrites the old IV.
359 * struct ccp_rsa_engine - CCP RSA operation
365 * @src: data to be used for this operation
366 * @dst: data produced by this operation
367 * @src_len: length in bytes of data used for this operation
387 * ccp_passthru_bitwise - type of bitwise passthru operation
389 * @CCP_PASSTHRU_BITWISE_NOOP: no bitwise operation performed
405 * ccp_passthru_byteswap - type of byteswap passthru operation
419 * struct ccp_passthru_engine - CCP pass-through operation
420 * @bit_mod: bitwise operation to perform
421 * @byte_swap: byteswap operation to perform
424 * @src: data to be used for this operation
425 * @dst: data produced by this operation
426 * @src_len: length in bytes of data used for this operation
427 * @final: indicate final pass-through operation
447 * struct ccp_passthru_nomap_engine - CCP pass-through operation
449 * @bit_mod: bitwise operation to perform
450 * @byte_swap: byteswap operation to perform
453 * @src: data to be used for this operation
454 * @dst: data produced by this operation
455 * @src_len: length in bytes of data used for this operation
456 * @final: indicate final pass-through operation
501 * @operand_1: first operand for the modular math operation
503 * @operand_2: second operand for the modular math operation
507 * @result: result of the modular math operation
538 * @point_1: the first point of the ECC point math operation
539 * @point_2: the second point of the ECC point math operation
543 * @scalar: the scalar parameter for the point match operation
547 * @result: the point resulting from the point math operation
563 * struct ccp_ecc_engine - CCP ECC operation
569 * @ecc_result: result of the ECC operation
592 * ccp_engine - CCP operation identifiers
594 * @CCP_ENGINE_AES: AES operation
595 * @CCP_ENGINE_XTS_AES: 128-bit XTS AES operation
597 * @CCP_ENGINE_SHA: SHA operation
598 * @CCP_ENGINE_RSA: RSA operation
599 * @CCP_ENGINE_PASSTHRU: pass-through operation
601 * @CCP_ENGINE_ECC: ECC operation
620 * struct ccp_cmd - CCP operation request
624 * @ret: operation return code (ccp driver use only)
626 * @engine: CCP operation to perform
629 * @callback: operation completion callback function
634 * - See the operation structures below for what is required for each
635 * operation.