Skip to content

Use fast natives in Conscrypt.#1339

Merged
miguelaranda0 merged 7 commits into
google:masterfrom
miguelaranda0:trefast
Jun 10, 2025
Merged

Use fast natives in Conscrypt.#1339
miguelaranda0 merged 7 commits into
google:masterfrom
miguelaranda0:trefast

Conversation

@miguelaranda0

Copy link
Copy Markdown
Collaborator

Adds @fastNative and @CriticalNative annotations to conscrypt's jni calls within NativeCrypto.java. Adds a macro for conditionally changing some native method signatures on android for CriticalNatives. Adds stubs for the annotations for the unrepackaged code.

Test: presubmits and atest NativeCryptoArgTest
Change-Id: Id74f960804dbdcd799e41409c7ab447b57352772

Adds @fastNative and @CriticalNative annotations to conscrypt's jni calls within NativeCrypto.java. Adds a macro for conditionally changing some native method signatures on android for CriticalNatives. Adds stubs for the annotations for the unrepackaged code.

Test: presubmits and atest NativeCryptoArgTest
Change-Id: Id74f960804dbdcd799e41409c7ab447b57352772
miguelaranda0 and others added 6 commits May 22, 2025 14:32
Adds @fastNative and @CriticalNative annotations to conscrypt's jni calls within NativeCrypto.java. Adds a macro for conditionally changing some native method signatures on android for CriticalNatives. Adds stubs for the annotations for the unrepackaged code.

Test: presubmits and atest NativeCryptoArgTest
Change-Id: Id74f960804dbdcd799e41409c7ab447b57352772
Adds @fastNative and @CriticalNative annotations to conscrypt's jni calls within NativeCrypto.java. Adds a macro for conditionally changing some native method signatures on android for CriticalNatives. Adds stubs for the annotations for the unrepackaged code.

Test: presubmits and atest NativeCryptoArgTest
Change-Id: Id74f960804dbdcd799e41409c7ab447b57352772
Adds @fastNative and @CriticalNative annotations to conscrypt's jni calls within NativeCrypto.java. Adds a macro for conditionally changing some native method signatures on android for CriticalNatives. Adds stubs for the annotations for the unrepackaged code.

Test: presubmits and atest NativeCryptoArgTest
Change-Id: Id74f960804dbdcd799e41409c7ab447b57352772
@miguelaranda0
miguelaranda0 merged commit 0fb0ec2 into google:master Jun 10, 2025
38 checks passed
@miguelaranda0
miguelaranda0 deleted the trefast branch June 23, 2025 10:11
miguelaranda0 added a commit that referenced this pull request Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants