File: aes.h

package info (click to toggle)
apfsprogs 0.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,112 kB
  • sloc: ansic: 16,034; makefile: 175; sh: 57
file content (9 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#ifndef _AES_H
#define _AES_H

#include <apfs/types.h>

int aes_unwrap(const u8 *kek, int n, const u8 *cipher, u8 *plain);
int aes_xts_decrypt(const u8 *key1, const u8 *key2, u64 tweak, const u8 *cipher, int len, u8 *plain);

#endif /* _AES_H */