xecrypt 0.1.0

Xbox 360 cryptographic primitives (AES, SHA-1, RSA signature verification)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use thiserror::Error;

use crate::ConsoleKind;
use crate::RsaKeyKind;

#[derive(Debug, Error)]
pub enum Error {
	#[error("No private key exists for key kind {0:?} and console kind {1:?}")]
	NoPrivateKey(RsaKeyKind, ConsoleKind),
	#[error("RSA operation failed")]
	RsaError(#[from] rsa::Error),
}