diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-04-08 17:28:37 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-04-08 17:28:37 -0400 |
commit | 099f53cb50e45ef617a9f1d63ceec799e489418b (patch) | |
tree | fd57f259f58bcf615fe2b17734ed0cbec612782d /Documentation/crypto | |
parent | fd74ea65883c7e6903e9b652795f72b723a2be69 (diff) |
async_tx: rename zero_sum to val
'zero_sum' does not properly describe the operation of generating parity
and checking that it validates against an existing buffer. Change the
name of the operation to 'val' (for 'validate'). This is in
anticipation of the p+q case where it is a requirement to identify the
target parity buffers separately from the source buffers, because the
target parity buffers will not have corresponding pq coefficients.
Reviewed-by: Andre Noll <maan@systemlinux.org>
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'Documentation/crypto')
-rw-r--r-- | Documentation/crypto/async-tx-api.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Documentation/crypto/async-tx-api.txt b/Documentation/crypto/async-tx-api.txt index 9f59fcbf5d82..4af12180d191 100644 --- a/Documentation/crypto/async-tx-api.txt +++ b/Documentation/crypto/async-tx-api.txt | |||
@@ -61,13 +61,13 @@ async_<operation>(<op specific parameters>, | |||
61 | void *callback_parameter); | 61 | void *callback_parameter); |
62 | 62 | ||
63 | 3.2 Supported operations: | 63 | 3.2 Supported operations: |
64 | memcpy - memory copy between a source and a destination buffer | 64 | memcpy - memory copy between a source and a destination buffer |
65 | memset - fill a destination buffer with a byte value | 65 | memset - fill a destination buffer with a byte value |
66 | xor - xor a series of source buffers and write the result to a | 66 | xor - xor a series of source buffers and write the result to a |
67 | destination buffer | 67 | destination buffer |
68 | xor_zero_sum - xor a series of source buffers and set a flag if the | 68 | xor_val - xor a series of source buffers and set a flag if the |
69 | result is zero. The implementation attempts to prevent | 69 | result is zero. The implementation attempts to prevent |
70 | writes to memory | 70 | writes to memory |
71 | 71 | ||
72 | 3.3 Descriptor management: | 72 | 3.3 Descriptor management: |
73 | The return value is non-NULL and points to a 'descriptor' when the operation | 73 | The return value is non-NULL and points to a 'descriptor' when the operation |