Commit 67f1f552 authored by gates's avatar gates
Browse files

cosmetics

parent 5a8ab7b2
#include <string.h>
#include <openssl/bn.h>
#include <openssl/evp.h>
......
#ifndef CRYPTO_H_
#define CRYPTO_H_
#include <stdint.h>
void crypto_aesg3(const uint8_t *D, uint8_t *lsubk, uint8_t* rsubk, uint8_t *pk); // returns left, centre, right keys
void crypto_aacs_sign(const uint8_t *c, const uint8_t *pubk, uint8_t *sig, uint8_t *n, const uint8_t *dhp);
void crypto_aesg3(const uint8_t *D, uint8_t *lsubk, uint8_t* rsubk,
uint8_t *pk); // returns left, centre, right keys
void crypto_aacs_sign(const uint8_t *c, const uint8_t *pubk, uint8_t *sig,
uint8_t *n, const uint8_t *dhp);
void crypto_aacs_title_hash(const uint8_t *ukf, uint64_t len, uint8_t *hash);
#endif /* CRYPTO_H_ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment