Lines Matching full:operation
45 * ccp_enqueue_cmd - queue an operation for processing by the CCP
61 * the result of the operation.
105 * ccp_aes_mode - AES operation mode
129 * ccp_aes_mode - AES operation mode
131 * @CCP_AES_ACTION_DECRYPT: AES decrypt operation
132 * @CCP_AES_ACTION_ENCRYPT: AES encrypt operation
144 * struct ccp_aes_engine - CCP AES operation
145 * @type: AES operation key size
146 * @mode: AES operation mode
147 * @action: AES operation (decrypt/encrypt)
148 * @key: key to be used for this AES operation
150 * @iv: IV to be used for this AES operation
152 * @src: data to be used for this operation
153 * @dst: data produced by this operation
154 * @src_len: length in bytes of data used for this operation
155 * @cmac_final: indicates final operation when running in CMAC mode
156 * @cmac_key: K1/K2 key used in final CMAC operation
166 * AES operation the new IV overwrites the old IV.
212 * struct ccp_xts_aes_engine - CCP XTS AES operation
213 * @action: AES operation (decrypt/encrypt)
214 * @unit_size: unit size of the XTS operation
215 * @key: key to be used for this XTS AES operation
217 * @iv: IV to be used for this XTS AES operation
219 * @src: data to be used for this operation
220 * @dst: data produced by this operation
221 * @src_len: length in bytes of data used for this operation
222 * @final: indicates final XTS operation
228 * AES operation the new IV overwrites the old IV.
249 * ccp_sha_type - type of SHA operation
251 * @CCP_SHA_TYPE_1: SHA-1 operation
252 * @CCP_SHA_TYPE_224: SHA-224 operation
253 * @CCP_SHA_TYPE_256: SHA-256 operation
265 * struct ccp_sha_engine - CCP SHA operation
266 * @type: Type of SHA operation
269 * @src: data to be used for this operation
270 * @src_len: length in bytes of data used for this operation
271 * @opad: data to be used for final HMAC operation
272 * @opad_len: length in bytes of data used for final HMAC operation
273 * @first: indicates first SHA operation
274 * @final: indicates final SHA operation
275 * @msg_bits: total length of the message in bits used in final SHA operation
282 * SHA operation the new hash value overwrites the old hash value.
322 * struct ccp_des3_engine - CCP SHA operation
323 * @type: Type of 3DES operation
325 * @action: 3DES operation (decrypt/encrypt)
326 * @key: key to be used for this 3DES operation
328 * @iv: IV to be used for this AES operation
330 * @src: input data to be used for this operation
331 * @src_len: length of input data used for this operation (in bytes)
332 * @dst: output data produced by this operation
339 * 3DES operation the new IV overwrites the old IV.
358 * struct ccp_rsa_engine - CCP RSA operation
364 * @src: data to be used for this operation
365 * @dst: data produced by this operation
366 * @src_len: length in bytes of data used for this operation
386 * ccp_passthru_bitwise - type of bitwise passthru operation
388 * @CCP_PASSTHRU_BITWISE_NOOP: no bitwise operation performed
404 * ccp_passthru_byteswap - type of byteswap passthru operation
418 * struct ccp_passthru_engine - CCP pass-through operation
419 * @bit_mod: bitwise operation to perform
420 * @byte_swap: byteswap operation to perform
423 * @src: data to be used for this operation
424 * @dst: data produced by this operation
425 * @src_len: length in bytes of data used for this operation
426 * @final: indicate final pass-through operation
446 * struct ccp_passthru_nomap_engine - CCP pass-through operation
448 * @bit_mod: bitwise operation to perform
449 * @byte_swap: byteswap operation to perform
452 * @src: data to be used for this operation
453 * @dst: data produced by this operation
454 * @src_len: length in bytes of data used for this operation
455 * @final: indicate final pass-through operation
500 * @operand_1: first operand for the modular math operation
502 * @operand_2: second operand for the modular math operation
506 * @result: result of the modular math operation
537 * @point_1: the first point of the ECC point math operation
538 * @point_2: the second point of the ECC point math operation
542 * @scalar: the scalar parameter for the point match operation
546 * @result: the point resulting from the point math operation
562 * struct ccp_ecc_engine - CCP ECC operation
568 * @ecc_result: result of the ECC operation
591 * ccp_engine - CCP operation identifiers
593 * @CCP_ENGINE_AES: AES operation
594 * @CCP_ENGINE_XTS_AES: 128-bit XTS AES operation
596 * @CCP_ENGINE_SHA: SHA operation
597 * @CCP_ENGINE_RSA: RSA operation
598 * @CCP_ENGINE_PASSTHRU: pass-through operation
600 * @CCP_ENGINE_ECC: ECC operation
619 * struct ccp_cmd - CCP operation request
623 * @ret: operation return code (ccp driver use only)
625 * @engine: CCP operation to perform
628 * @callback: operation completion callback function
633 * - See the operation structures below for what is required for each
634 * operation.