aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/c.zig
diff options
context:
space:
mode:
authorFrank Denis <github@pureftpd.org>2020-10-05 23:50:38 +0200
committerFrank Denis <github@pureftpd.org>2020-10-05 23:50:38 +0200
commitd343b75e7fa11d94e9668fb306b9e6b2ba68a0da (patch)
tree01171c58d9aec7ec9e7e314f8bef4a1b630fe734 /src/codegen/c.zig
parent7f7e2d608adb81cd00e54fd7fe5e7035a890565f (diff)
downloadzig-d343b75e7fa11d94e9668fb306b9e6b2ba68a0da.tar.gz
zig-d343b75e7fa11d94e9668fb306b9e6b2ba68a0da.zip
ghash & poly1305: fix handling of partial blocks and add pad()
pad() aligns the next input to the first byte of a block, which is useful to implement the IETF version of ChaCha20Poly1305 and AES-GCM.
Diffstat (limited to 'src/codegen/c.zig')
0 files changed, 0 insertions, 0 deletions