java/remoteprovisioning/CryptoUtil.java [145:152]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      byte[] keyMaterial =
          deriveSharedKeyMaterial((ECPrivateKey) keyPair.getPrivate(), otherPub);
      return computeHkdf("HmacSha256", keyMaterial, null /* salt */, context, 32 /* size */);
    } catch (NoSuchAlgorithmException e) {
      throw new CryptoException(
          "Missing ECDH algorithm provider", e, CryptoException.NO_SUCH_ALGORITHM);
    } catch (InvalidKeyException e) {
      throw new CryptoException("Derived ECDH key is malformed", e, CryptoException.MALFORMED_KEY);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java/remoteprovisioning/CryptoUtil.java [197:204]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      byte[] keyMaterial =
          deriveSharedKeyMaterial((ECPrivateKey) keyPair.getPrivate(), otherPub);
      return computeHkdf("HmacSha256", keyMaterial, null /* salt */, context, 32 /* size */);
    } catch (NoSuchAlgorithmException e) {
      throw new CryptoException(
          "Missing ECDH algorithm provider", e, CryptoException.NO_SUCH_ALGORITHM);
    } catch (InvalidKeyException e) {
      throw new CryptoException("Derived ECDH key is malformed", e, CryptoException.MALFORMED_KEY);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



