예제 #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;
}