Lines Matching refs:req_data
879 struct aesni_hash_subkey_req_data *req_data; in rfc4106_set_hash_subkey() local
896 req_data = kmalloc(sizeof(*req_data), GFP_KERNEL); in rfc4106_set_hash_subkey()
897 if (!req_data) in rfc4106_set_hash_subkey()
900 memset(req_data->iv, 0, sizeof(req_data->iv)); in rfc4106_set_hash_subkey()
906 init_completion(&req_data->result.completion); in rfc4106_set_hash_subkey()
907 sg_init_one(&req_data->sg, hash_subkey, RFC4106_HASH_SUBKEY_SIZE); in rfc4106_set_hash_subkey()
912 &req_data->result); in rfc4106_set_hash_subkey()
914 ablkcipher_request_set_crypt(req, &req_data->sg, in rfc4106_set_hash_subkey()
915 &req_data->sg, RFC4106_HASH_SUBKEY_SIZE, req_data->iv); in rfc4106_set_hash_subkey()
920 (&req_data->result.completion); in rfc4106_set_hash_subkey()
922 ret = req_data->result.err; in rfc4106_set_hash_subkey()
924 kfree(req_data); in rfc4106_set_hash_subkey()