java/remoteprovisioning/CryptoUtil.java [121:128]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      byte[] keyMaterial =
          deriveSharedKeyMaterial((X25519PrivateKeyParameters) 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 [178:185]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      byte[] keyMaterial =
          deriveSharedKeyMaterial((X25519PrivateKeyParameters) 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);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



