/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | IvParameters.java | 81 long cbbRef = 0; in engineGetEncoded() local 83 cbbRef = NativeCrypto.asn1_write_init(); in engineGetEncoded() 84 NativeCrypto.asn1_write_octetstring(cbbRef, this.iv); in engineGetEncoded() 85 return NativeCrypto.asn1_write_finish(cbbRef); in engineGetEncoded() 87 NativeCrypto.asn1_write_cleanup(cbbRef); in engineGetEncoded() 90 NativeCrypto.asn1_write_free(cbbRef); in engineGetEncoded()
|
D | GCMParameters.java | 121 long cbbRef = 0; in engineGetEncoded() local 124 cbbRef = NativeCrypto.asn1_write_init(); in engineGetEncoded() 125 seqRef = NativeCrypto.asn1_write_sequence(cbbRef); in engineGetEncoded() 130 return NativeCrypto.asn1_write_finish(cbbRef); in engineGetEncoded() 132 NativeCrypto.asn1_write_cleanup(cbbRef); in engineGetEncoded() 136 NativeCrypto.asn1_write_free(cbbRef); in engineGetEncoded()
|
D | PSSParameters.java | 115 long cbbRef = 0; in engineGetEncoded() local 118 cbbRef = NativeCrypto.asn1_write_init(); in engineGetEncoded() 119 seqRef = NativeCrypto.asn1_write_sequence(cbbRef); in engineGetEncoded() 134 return NativeCrypto.asn1_write_finish(cbbRef); in engineGetEncoded() 136 NativeCrypto.asn1_write_cleanup(cbbRef); in engineGetEncoded() 140 NativeCrypto.asn1_write_free(cbbRef); in engineGetEncoded()
|
D | OAEPParameters.java | 187 long cbbRef = 0; in engineGetEncoded() local 190 cbbRef = NativeCrypto.asn1_write_init(); in engineGetEncoded() 191 seqRef = NativeCrypto.asn1_write_sequence(cbbRef); in engineGetEncoded() 209 return NativeCrypto.asn1_write_finish(cbbRef); in engineGetEncoded() 211 NativeCrypto.asn1_write_cleanup(cbbRef); in engineGetEncoded() 215 NativeCrypto.asn1_write_free(cbbRef); in engineGetEncoded()
|
D | NativeCrypto.java | 637 static native long asn1_write_sequence(long cbbRef) throws IOException; in asn1_write_sequence() argument 646 static native long asn1_write_tag(long cbbRef, int tag) throws IOException; in asn1_write_tag() argument 651 static native void asn1_write_octetstring(long cbbRef, byte[] data) throws IOException; in asn1_write_octetstring() argument 656 static native void asn1_write_uint64(long cbbRef, long value) throws IOException; in asn1_write_uint64() argument 661 static native void asn1_write_null(long cbbRef) throws IOException; in asn1_write_null() argument 666 static native void asn1_write_oid(long cbbRef, String oid) throws IOException; in asn1_write_oid() argument 674 static native void asn1_write_flush(long cbbRef) throws IOException; in asn1_write_flush() argument 681 static native byte[] asn1_write_finish(long cbbRef) throws IOException; in asn1_write_finish() argument 687 static native void asn1_write_cleanup(long cbbRef); in asn1_write_cleanup() argument 694 static native void asn1_write_free(long cbbRef); in asn1_write_free() argument
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | IvParameters.java | 87 long cbbRef = 0; in engineGetEncoded() local 89 cbbRef = NativeCrypto.asn1_write_init(); in engineGetEncoded() 90 NativeCrypto.asn1_write_octetstring(cbbRef, this.iv); in engineGetEncoded() 91 return NativeCrypto.asn1_write_finish(cbbRef); in engineGetEncoded() 93 NativeCrypto.asn1_write_cleanup(cbbRef); in engineGetEncoded() 96 NativeCrypto.asn1_write_free(cbbRef); in engineGetEncoded()
|
D | GCMParameters.java | 125 long cbbRef = 0; in engineGetEncoded() local 128 cbbRef = NativeCrypto.asn1_write_init(); in engineGetEncoded() 129 seqRef = NativeCrypto.asn1_write_sequence(cbbRef); in engineGetEncoded() 134 return NativeCrypto.asn1_write_finish(cbbRef); in engineGetEncoded() 136 NativeCrypto.asn1_write_cleanup(cbbRef); in engineGetEncoded() 140 NativeCrypto.asn1_write_free(cbbRef); in engineGetEncoded()
|
D | PSSParameters.java | 119 long cbbRef = 0; in engineGetEncoded() local 122 cbbRef = NativeCrypto.asn1_write_init(); in engineGetEncoded() 123 seqRef = NativeCrypto.asn1_write_sequence(cbbRef); in engineGetEncoded() 138 return NativeCrypto.asn1_write_finish(cbbRef); in engineGetEncoded() 140 NativeCrypto.asn1_write_cleanup(cbbRef); in engineGetEncoded() 144 NativeCrypto.asn1_write_free(cbbRef); in engineGetEncoded()
|
D | OAEPParameters.java | 191 long cbbRef = 0; in engineGetEncoded() local 194 cbbRef = NativeCrypto.asn1_write_init(); in engineGetEncoded() 195 seqRef = NativeCrypto.asn1_write_sequence(cbbRef); in engineGetEncoded() 213 return NativeCrypto.asn1_write_finish(cbbRef); in engineGetEncoded() 215 NativeCrypto.asn1_write_cleanup(cbbRef); in engineGetEncoded() 219 NativeCrypto.asn1_write_free(cbbRef); in engineGetEncoded()
|
D | NativeCrypto.java | 673 static native long asn1_write_sequence(long cbbRef) throws IOException; in asn1_write_sequence() argument 682 static native long asn1_write_tag(long cbbRef, int tag) throws IOException; in asn1_write_tag() argument 687 static native void asn1_write_octetstring(long cbbRef, byte[] data) throws IOException; in asn1_write_octetstring() argument 692 static native void asn1_write_uint64(long cbbRef, long value) throws IOException; in asn1_write_uint64() argument 697 static native void asn1_write_null(long cbbRef) throws IOException; in asn1_write_null() argument 702 static native void asn1_write_oid(long cbbRef, String oid) throws IOException; in asn1_write_oid() argument 710 static native void asn1_write_flush(long cbbRef) throws IOException; in asn1_write_flush() argument 717 static native byte[] asn1_write_finish(long cbbRef) throws IOException; in asn1_write_finish() argument 723 static native void asn1_write_cleanup(long cbbRef); in asn1_write_cleanup() argument 730 static native void asn1_write_free(long cbbRef); in asn1_write_free() argument
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 4890 static jlong NativeCrypto_asn1_write_sequence(JNIEnv* env, jclass, jlong cbbRef) { in NativeCrypto_asn1_write_sequence() argument 4892 CBB* cbb = reinterpret_cast<CBB*>(static_cast<uintptr_t>(cbbRef)); in NativeCrypto_asn1_write_sequence() 4904 static jlong NativeCrypto_asn1_write_tag(JNIEnv* env, jclass, jlong cbbRef, jint tag) { in NativeCrypto_asn1_write_tag() argument 4906 CBB* cbb = reinterpret_cast<CBB*>(static_cast<uintptr_t>(cbbRef)); in NativeCrypto_asn1_write_tag() 4919 static void NativeCrypto_asn1_write_octetstring(JNIEnv* env, jclass, jlong cbbRef, in NativeCrypto_asn1_write_octetstring() argument 4922 CBB* cbb = reinterpret_cast<CBB*>(static_cast<uintptr_t>(cbbRef)); in NativeCrypto_asn1_write_octetstring() 4947 static void NativeCrypto_asn1_write_uint64(JNIEnv* env, jclass, jlong cbbRef, jlong data) { in NativeCrypto_asn1_write_uint64() argument 4949 CBB* cbb = reinterpret_cast<CBB*>(static_cast<uintptr_t>(cbbRef)); in NativeCrypto_asn1_write_uint64() 4958 static void NativeCrypto_asn1_write_null(JNIEnv* env, jclass, jlong cbbRef) { in NativeCrypto_asn1_write_null() argument 4960 CBB* cbb = reinterpret_cast<CBB*>(static_cast<uintptr_t>(cbbRef)); in NativeCrypto_asn1_write_null() [all …]
|