Upgraded hash function to SHA-384 and MAC to HMAC-SHA-384.

This matches the security level of AES-256 according to NSA Suite B. To
better comply with Suite B we should replace the combination of CTR mode
and HMAC with GCM, which would reduce the MAC size from 48 to 16 bytes.
This commit is contained in:
akwizgran
2012-02-22 13:17:07 +00:00
parent a9d91beaaa
commit 34cd8cddc3
10 changed files with 19 additions and 15 deletions

View File

@@ -37,7 +37,8 @@ class BluetoothPlugin implements DuplexPlugin {
public static final byte[] TRANSPORT_ID =
StringUtils.fromHexString("d99c9313c04417dcf22fc60d12a187ea"
+ "00a539fd260f08a13a0d8a900cde5e49");
+ "00a539fd260f08a13a0d8a900cde5e49"
+ "1b4df2ffd42e40c408f2db7868f518aa");
private static final TransportId ID = new TransportId(TRANSPORT_ID);
private static final Logger LOG =