hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit c56eabe64f2fdf006dc4fe48bbb34ceaf7a9c89f
parent 635e5d0bbed73cd819675c6a9ad926bc5e03352e
Author: Armin Preiml <apreiml@strohwolke.at>
Date:   Mon,  9 May 2022 21:20:37 +0200

crypto::aes: make internal x86ni functions private

Signed-off-by: Armin Preiml <apreiml@strohwolke.at>

Diffstat:
Mcrypto/aes/+x86_64/ni.ha | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/crypto/aes/+x86_64/ni.ha b/crypto/aes/+x86_64/ni.ha @@ -60,7 +60,7 @@ fn x86ni_finish(block: *cipher::block) void = { }; // Expands encryption and decryption key and returns the size of the round keys. -export fn x86ni_keyexp(key: []u8, enc_rk: []u8, dec_rk: []u8) u8; -export fn x86ni_asencrypt(key_exp: []u8, dest: []u8, src: []u8) void; -export fn x86ni_asdecrypt(key_exp: []u8, dest: []u8, src: []u8) void; +fn x86ni_keyexp(key: []u8, enc_rk: []u8, dec_rk: []u8) u8; +fn x86ni_asencrypt(key_exp: []u8, dest: []u8, src: []u8) void; +fn x86ni_asdecrypt(key_exp: []u8, dest: []u8, src: []u8) void;