Lines Matching refs:key_len
1000 flow_log(" key: %d\n", cipher_parms->key_len);
1001 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len);
1007 flow_log(" authkey: %d\n", hash_parms->key_len);
1008 flow_dump(" authkey: ", hash_parms->key_buf, hash_parms->key_len);
1034 hash_parms->key_len = cipher_parms->key_len;
1036 cipher_parms->key_len);
1037 cipher_parms->key_len = 0;
1072 hash_parms->key_len, cipher_parms->key_len,
1079 spu2_fmd_ctrl2_write(fmd, cipher_offset, hash_parms->key_len, 0,
1080 cipher_parms->key_len, cipher_parms->iv_len);
1088 if (hash_parms->key_len) {
1089 memcpy(ptr, hash_parms->key_buf, hash_parms->key_len);
1090 ptr += hash_parms->key_len;
1091 buf_len += hash_parms->key_len;
1093 if (cipher_parms->key_len) {
1094 memcpy(ptr, cipher_parms->key_buf, cipher_parms->key_len);
1095 ptr += cipher_parms->key_len;
1096 buf_len += cipher_parms->key_len;
1135 flow_log(" key: %d\n", cipher_parms->key_len);
1136 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len);
1150 err = spu2_fmd_init(fmd, spu2_type, spu2_mode, cipher_parms->key_len,
1157 if (cipher_parms->key_buf && cipher_parms->key_len)
1158 memcpy(omd, cipher_parms->key_buf, cipher_parms->key_len);
1161 FMD_SIZE + cipher_parms->key_len + cipher_parms->iv_len);
1163 return FMD_SIZE + cipher_parms->key_len + cipher_parms->iv_len;
1214 memcpy(omd + cipher_parms->key_len, cipher_parms->iv_buf,