pub fn alloc_aligned_shards(
total_shards: usize,
shard_len: usize,
) -> Vec<AlignedShard>Expand description
Allocates total_shards zero-filled AlignedShards of shard_len bytes.
Each shard is exactly shard_len bytes and 64-byte aligned. Suitable for
both LeopardGF8 and LeopardGF16, which share the galois_8::Field byte
layout. To pick a shard_len that Leopard will accept, use
leopard_aligned_shard_len.