Based on Nekogram. Key additions: - Rebrand to FoxiGram (app name, APK name, applicationId com.foxigram.app) - Embedded Xray (VLESS+Reality) proxy client via JNI libxray.so - Bundled hidden one-tap proxies (LTE + WiFi), read-only in UI - Auto-restore proxy on restart, rebind to active network (LTE/WiFi) - Server credentials externalized to git-ignored XrayServers.java (+ template) - libxray Go source included; compiled .so, keystore, google-services.json ignored
25 lines
623 B
C++
25 lines
623 B
C++
// Copyright (c) 2019 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef BASE_HASH_MD5_BORINGSSL_H_
|
|
#define BASE_HASH_MD5_BORINGSSL_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "third_party/boringssl/src/include/openssl/md5.h"
|
|
|
|
namespace base {
|
|
|
|
// The output of an MD5 operation.
|
|
struct MD5Digest {
|
|
uint8_t a[MD5_DIGEST_LENGTH];
|
|
};
|
|
|
|
// Used for storing intermediate data during an MD5 computation. Callers
|
|
// should not access the data.
|
|
typedef MD5_CTX MD5Context;
|
|
|
|
} // namespace base
|
|
|
|
#endif // BASE_HASH_MD5_BORINGSSL_H_
|