Home
last modified time | relevance | path

Searched refs:cbbRef (Results 1 – 3 of 3) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DGCMParameters.java123 long cbbRef = 0; in engineGetEncoded() local
126 cbbRef = NativeCrypto.asn1_write_init(); in engineGetEncoded()
127 seqRef = NativeCrypto.asn1_write_sequence(cbbRef); in engineGetEncoded()
132 return NativeCrypto.asn1_write_finish(cbbRef); in engineGetEncoded()
134 NativeCrypto.asn1_write_cleanup(cbbRef); in engineGetEncoded()
138 NativeCrypto.asn1_write_free(cbbRef); in engineGetEncoded()
DNativeCrypto.java575 static native long asn1_write_sequence(long cbbRef) throws IOException; in asn1_write_sequence() argument
580 static native void asn1_write_octetstring(long cbbRef, byte[] data) throws IOException; in asn1_write_octetstring() argument
585 static native void asn1_write_uint64(long cbbRef, long value) throws IOException; in asn1_write_uint64() argument
592 static native byte[] asn1_write_finish(long cbbRef) throws IOException; in asn1_write_finish() argument
598 static native void asn1_write_cleanup(long cbbRef); in asn1_write_cleanup() argument
605 static native void asn1_write_free(long cbbRef); in asn1_write_free() argument
/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp4447 static jlong NativeCrypto_asn1_write_sequence(JNIEnv* env, jclass, jlong cbbRef) { in NativeCrypto_asn1_write_sequence() argument
4448 CBB* cbb = reinterpret_cast<CBB*>(static_cast<uintptr_t>(cbbRef)); in NativeCrypto_asn1_write_sequence()
4460 static void NativeCrypto_asn1_write_octetstring(JNIEnv* env, jclass, jlong cbbRef, jbyteArray data)… in NativeCrypto_asn1_write_octetstring() argument
4461 CBB* cbb = reinterpret_cast<CBB*>(static_cast<uintptr_t>(cbbRef)); in NativeCrypto_asn1_write_octetstring()
4481 static void NativeCrypto_asn1_write_uint64(JNIEnv* env, jclass, jlong cbbRef, jlong data) { in NativeCrypto_asn1_write_uint64() argument
4482 CBB* cbb = reinterpret_cast<CBB*>(static_cast<uintptr_t>(cbbRef)); in NativeCrypto_asn1_write_uint64()
4491 static jbyteArray NativeCrypto_asn1_write_finish(JNIEnv* env, jclass, jlong cbbRef) { in NativeCrypto_asn1_write_finish() argument
4492 CBB* cbb = reinterpret_cast<CBB*>(static_cast<uintptr_t>(cbbRef)); in NativeCrypto_asn1_write_finish()
4516 static void NativeCrypto_asn1_write_cleanup(CONSCRYPT_UNUSED JNIEnv* env, jclass, jlong cbbRef) { in NativeCrypto_asn1_write_cleanup() argument
4517 CBB* cbb = reinterpret_cast<CBB*>(static_cast<uintptr_t>(cbbRef)); in NativeCrypto_asn1_write_cleanup()
[all …]