コード例 #1
0
ファイル: Crypto.c プロジェクト: janethan/VeraCrypt
int CipherGetKeyScheduleSize (int cipherId)
{
#ifdef TC_WINDOWS_BOOT
	return CipherGet (cipherId) -> KeyScheduleSize;
#else
   Cipher* pCipher = CipherGet (cipherId);
   return pCipher? pCipher -> KeyScheduleSize : 0;
#endif
}
コード例 #2
0
ファイル: Crypto.c プロジェクト: janethan/VeraCrypt
int CipherGetBlockSize (int cipherId)
{
#ifdef TC_WINDOWS_BOOT
	return CipherGet (cipherId) -> BlockSize;
#else
   Cipher* pCipher = CipherGet (cipherId);
   return pCipher? pCipher -> BlockSize : 0;
#endif
}
コード例 #3
0
ファイル: Crypto.c プロジェクト: janethan/VeraCrypt
const
#endif
char *CipherGetName (int cipherId)
{
#ifdef TC_WINDOWS_BOOT
	return CipherGet (cipherId) -> Name;
#else
   Cipher* pCipher = CipherGet (cipherId);
   return  pCipher? pCipher -> Name : "";
#endif
}
コード例 #4
0
int CipherGetKeyScheduleSize (int cipherId)
{
	return CipherGet (cipherId) -> KeyScheduleSize;
}
コード例 #5
0
int CipherGetBlockSize (int cipherId)
{
	return CipherGet (cipherId) -> BlockSize;
}
コード例 #6
0
char *CipherGetName (int cipherId)
{
	return CipherGet (cipherId) -> Name;
}