Searched refs:keySizeInBytes (Results 1 – 5 of 5) sorted by relevance
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | CryptUtil.c | 1577 UINT16 keySizeInBytes; in CryptValidateKeys() local 1598 keySizeInBytes = BITS_TO_BYTES(params->rsaDetail.keyBits); in CryptValidateKeys() 1607 if((unique->rsa.t.size != keySizeInBytes) in CryptValidateKeys() 1617 if(((sensitive->sensitive.rsa.t.size * 2) != keySizeInBytes) in CryptValidateKeys() 1628 keySizeInBytes = BITS_TO_BYTES(CryptEccGetKeySizeForCurve(curveId)); in CryptValidateKeys() 1632 if(unique->ecc.x.t.size != keySizeInBytes in CryptValidateKeys() 1633 || unique->ecc.y.t.size != keySizeInBytes) in CryptValidateKeys()
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | CipherOutputStreamTest.java | 42 static SecretKeySpec randomKey(String algorithm, int keySizeInBytes) { in randomKey() argument 43 return new SecretKeySpec(randomBytes(keySizeInBytes), "AES"); in randomKey()
|
D | CipherInputStreamTest.java | 43 static SecretKeySpec randomKey(String algorithm, int keySizeInBytes) { in randomKey() argument 44 return new SecretKeySpec(randomBytes(keySizeInBytes), "AES"); in randomKey()
|
/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/testcases/ |
D | CipherOutputStreamTest.java | 74 static SecretKey randomKey(String algorithm, String alias, int keySizeInBytes, in randomKey() argument 76 SecretKeySpec keySpec = new SecretKeySpec(randomBytes(keySizeInBytes), "AES"); in randomKey()
|
D | CipherInputStreamTest.java | 74 static SecretKey randomKey(String algorithm, String alias, int keySizeInBytes, in randomKey() argument 76 SecretKeySpec keySpec = new SecretKeySpec(randomBytes(keySizeInBytes), "AES"); in randomKey()
|