]>
iEval git - authen-passphrase-scrypt.git/blob - scrypt-1.2.1/libcperciva/crypto/crypto_aes.h
7 /* Opaque structure. */
11 * crypto_aes_key_expand(key, len):
12 * Expand the ${len}-byte AES key ${key} into a structure which can be passed
13 * to crypto_aes_encrypt_block. The length must be 16 or 32.
15 struct crypto_aes_key
* crypto_aes_key_expand(const uint8_t *, size_t);
18 * crypto_aes_encrypt_block(in, out, key):
19 * Using the expanded AES key ${key}, encrypt the block ${in} and write the
20 * resulting ciphertext to ${out}.
22 void crypto_aes_encrypt_block(const uint8_t *, uint8_t *,
23 const struct crypto_aes_key
*);
26 * crypto_aes_key_free(key):
27 * Free the expanded AES key ${key}.
29 void crypto_aes_key_free(struct crypto_aes_key
*);
31 #endif /* !_CRYPTO_AES_H_ */
This page took 0.046608 seconds and 5 git commands to generate.