Lines Matching full:cipher

89  * Convert from a software cipher mode value to the corresponding value
127 * spu2_cipher_xlate() - Convert a cipher {alg/mode/type} triple to a SPU2
128 * cipher type and mode.
129 * @cipher_alg: [in] cipher algorithm value from software enumeration
130 * @cipher_mode: [in] cipher mode value from software enumeration
131 * @cipher_type: [in] cipher type value from software enumeration
132 * @spu2_type: [out] cipher type value used by spu2 hardware
133 * @spu2_mode: [out] cipher mode value used by spu2 hardware
147 flow_log("Invalid cipher mode %d\n", cipher_mode); in spu2_cipher_xlate()
188 flow_log("Invalid cipher alg %d or type %d\n", in spu2_cipher_xlate()
228 * @ciph_type: [in] cipher type value from software enumeration
330 packet_log(" Cipher type: %s\n", ciph_name); in spu2_dump_fmd_ctrl0()
335 packet_log(" Cipher mode: %s\n", ciph_mode_name); in spu2_dump_fmd_ctrl0()
347 packet_log(" cipher first\n"); in spu2_dump_fmd_ctrl0()
363 packet_log(" Cipher pad: %#2llx\n", in spu2_dump_fmd_ctrl0()
400 packet_log(" Cipher key len %u\n", ciph_key_len); in spu2_dump_fmd_ctrl1()
491 packet_log(" Cipher Key Length %u bytes\n", ciph_key_len); in spu2_dump_omd()
503 packet_log(" Cipher IV Length %u bytes\n", ciph_iv_len); in spu2_dump_omd()
504 packet_dump(" cipher IV: ", ptr, ciph_iv_len); in spu2_dump_omd()
548 * @spu2_type: Cipher algorithm
549 * @spu2_mode: Cipher mode
550 * @cipher_key_len: Length of cipher key, in bytes
551 * @cipher_iv_len: Length of cipher initialization vector, in bytes
605 * @cipher_type: cipher algorithm
606 * @cipher_mode: cipher mode
648 * @cipher_key_len: Length of cipher key, in bytes
654 * @cipher_iv_len: Length of input cipher IV, in bytes
730 * @cipher_key_len: Length of cipher key, in bytes
731 * @cipher_iv_len: Length of cipher IV, in bytes
772 * SPU message for a given cipher and hash alg context.
773 * @cipher_alg: The cipher algorithm
774 * @cipher_mode: The cipher mode
868 * @cipher_mode: cipher mode
890 * @cipher_mode: cipher mode
934 * @cipher_parms: Parameters related to cipher algorithm
987 * On SPU 2, aes gcm cipher first on encrypt, auth first on in spu2_create_request()
1001 flow_log(" cipher alg:%u mode:%u type %u\n", cipher_parms->alg, in spu2_create_request()
1022 /* Convert to spu2 values for cipher alg, hash alg */ in spu2_create_request()
1029 * need to configure hardware to use hash key rather than cipher key in spu2_create_request()
1031 * GCM cipher with 0 size payload is not permitted. in spu2_create_request()
1054 flow_log("spu2 cipher type %s, cipher mode %s\n", in spu2_create_request()
1117 * @cipher_parms: Parameters describing cipher request
1136 flow_log(" cipher alg:%u mode:%u type %u\n", cipher_parms->alg, in spu2_cipher_req_init()
1148 flow_log("spu2 cipher type %s, cipher mode %s\n", in spu2_cipher_req_init()
1159 /* Write cipher key to OMD */ in spu2_cipher_req_init()
1172 * block cipher request.
1176 * @cipher_parms: Parameters describing cipher operation to be performed
1196 flow_log(" cipher alg: %u, cipher_type: %u\n", cipher_parms->alg, in spu2_cipher_req_finish()
1217 /* cipher iv provided so put it in here */ in spu2_cipher_req_finish()
1345 * @cipher_parms: (pointer to) cipher parmaeters, includes IV buf & IV len