diff options
| author | Marvin W <git@larma.de> | 2026-08-22 19:03:26 +0200 |
|---|---|---|
| committer | Marvin W <git@larma.de> | 2026-10-23 16:58:30 +0200 |
| commit | b0456e13ed35e6ebf684b3a7f4d1cb4b6ec352cc (patch) | |
| tree | 5ecd70a986a08c1cf9984bdda97a9cc8c05255af /crypto-vala/src/cipher.vala | |
| parent | 76a91fca2fc7dd5975e8ff0e6695f27c98539dba (diff) | |
Move crypto-vala inside libdino
Diffstat (limited to 'crypto-vala/src/cipher.vala')
| -rw-r--r-- | crypto-vala/src/cipher.vala | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/crypto-vala/src/cipher.vala b/crypto-vala/src/cipher.vala deleted file mode 100644 index f7aee100..00000000 --- a/crypto-vala/src/cipher.vala +++ /dev/null @@ -1,19 +0,0 @@ -namespace Crypto { - -public interface SymmetricCipher { - public abstract void set_key(uint8[] key) throws Error; - public abstract void set_iv(uint8[] iv) throws Error; - public abstract void reset() throws Error; -} - -public interface SymmetricCipherEncryption : SymmetricCipher, Object { - public abstract int encrypt(uint8[] output, uint8[] input) throws Error; - public abstract uint8[] get_tag(size_t taglen) throws Error; -} - -public interface SymmetricCipherDecryption : SymmetricCipher, Object { - public abstract int decrypt(uint8[] output, uint8[] input) throws Error; - public abstract void check_tag(uint8[] tag) throws Error; -} - -} |
