public kirk_decrypt_keys ( byte keys, byte inbuff ) : int | ||
keys | byte | |
inbuff | byte | |
return | int |
public int kirk_decrypt_keys(byte* keys, byte* inbuff)
{
fixed (Crypto.AES_ctx* aes_kirk1_ptr = &_aes_kirk1)
{
Crypto.AES_cbc_decrypt(aes_kirk1_ptr, inbuff, (byte*)keys, 16 * 2); //decrypt AES & CMAC key to temp buffer
return 0;
}
}