Lines Matching refs:hash_parms

947 			struct spu_hash_parms *hash_parms,  in spu2_create_request()  argument
964 hash_parms->prebuf_len + data_size + hash_parms->pad_len - in spu2_create_request()
966 hash_parms->digestsize : 0); in spu2_create_request()
975 hash_parms->prebuf_len, in spu2_create_request()
979 hash_parms->pad_len); in spu2_create_request()
1008 hash_parms->alg, hash_parms->mode, hash_parms->type); in spu2_create_request()
1009 flow_log(" digestsize: %u\n", hash_parms->digestsize); in spu2_create_request()
1010 flow_log(" authkey: %d\n", hash_parms->key_len); in spu2_create_request()
1011 flow_dump(" authkey: ", hash_parms->key_buf, hash_parms->key_len); in spu2_create_request()
1013 flow_log(" prebuf_len:%u\n", hash_parms->prebuf_len); in spu2_create_request()
1015 flow_log(" hash_pad_len:%u\n", hash_parms->pad_len); in spu2_create_request()
1037 hash_parms->key_len = cipher_parms->key_len; in spu2_create_request()
1038 memcpy(hash_parms->key_buf, cipher_parms->key_buf, in spu2_create_request()
1057 err = spu2_hash_xlate(hash_parms->alg, hash_parms->mode, in spu2_create_request()
1058 hash_parms->type, in spu2_create_request()
1075 hash_parms->key_len, cipher_parms->key_len, in spu2_create_request()
1079 cipher_parms->iv_len, hash_parms->digestsize, in spu2_create_request()
1082 spu2_fmd_ctrl2_write(fmd, cipher_offset, hash_parms->key_len, 0, in spu2_create_request()
1091 if (hash_parms->key_len) { in spu2_create_request()
1092 memcpy(ptr, hash_parms->key_buf, hash_parms->key_len); in spu2_create_request()
1093 ptr += hash_parms->key_len; in spu2_create_request()
1094 buf_len += hash_parms->key_len; in spu2_create_request()