Lines Matching refs:key_len
1003 flow_log(" key: %d\n", cipher_parms->key_len);
1004 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len);
1010 flow_log(" authkey: %d\n", hash_parms->key_len);
1011 flow_dump(" authkey: ", hash_parms->key_buf, hash_parms->key_len);
1037 hash_parms->key_len = cipher_parms->key_len;
1039 cipher_parms->key_len);
1040 cipher_parms->key_len = 0;
1075 hash_parms->key_len, cipher_parms->key_len,
1082 spu2_fmd_ctrl2_write(fmd, cipher_offset, hash_parms->key_len, 0,
1083 cipher_parms->key_len, cipher_parms->iv_len);
1091 if (hash_parms->key_len) {
1092 memcpy(ptr, hash_parms->key_buf, hash_parms->key_len);
1093 ptr += hash_parms->key_len;
1094 buf_len += hash_parms->key_len;
1096 if (cipher_parms->key_len) {
1097 memcpy(ptr, cipher_parms->key_buf, cipher_parms->key_len);
1098 ptr += cipher_parms->key_len;
1099 buf_len += cipher_parms->key_len;
1138 flow_log(" key: %d\n", cipher_parms->key_len);
1139 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len);
1153 err = spu2_fmd_init(fmd, spu2_type, spu2_mode, cipher_parms->key_len,
1160 if (cipher_parms->key_buf && cipher_parms->key_len)
1161 memcpy(omd, cipher_parms->key_buf, cipher_parms->key_len);
1164 FMD_SIZE + cipher_parms->key_len + cipher_parms->iv_len);
1166 return FMD_SIZE + cipher_parms->key_len + cipher_parms->iv_len;
1217 memcpy(omd + cipher_parms->key_len, cipher_parms->iv_buf,