Denis Vlasenko wrote:
> Patch replaces numerous be<->cpu and le<->cpu
> conversions in crypto. Per lkml comments,
> it is done with macros:
>
> block[i] = load_be64(ptr,i);
> store_be64(out,i, block[i]);
>
> where i is an index: load_be64 will load i'th
> big-endian value pointed by ptr
Patch replaces numerous be<->cpu and le<->cpu
conversions in crypto. Per lkml comments,
it is done with macros:
block[i] = load_be64(ptr,i);
store_be64(out,i, block[i]);
where i is an index: load_be64 will load i'th
big-endian value pointed by ptr (typically a char*).
Same for store.
This
Patch replaces numerous be-cpu and le-cpu
conversions in crypto. Per lkml comments,
it is done with macros:
block[i] = load_be64(ptr,i);
store_be64(out,i, block[i]);
where i is an index: load_be64 will load i'th
big-endian value pointed by ptr (typically a char*).
Same for store.
This results
Denis Vlasenko wrote:
Patch replaces numerous be-cpu and le-cpu
conversions in crypto. Per lkml comments,
it is done with macros:
block[i] = load_be64(ptr,i);
store_be64(out,i, block[i]);
where i is an index: load_be64 will load i'th
big-endian value pointed by ptr (typically a char*).
4 matches
Mail list logo