Home
last modified time | relevance | path

Searched refs:NativeCrypto (Results 1 – 25 of 61) sorted by relevance

123

/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java73 import org.conscrypt.NativeCrypto.SSLHandshakeCallbacks;
111 assertEquals(0, NativeCrypto.ERR_peek_last_error()); in tearDown()
219 return new NativeRef.EVP_PKEY(NativeCrypto.EVP_PKEY_new_RSA( in getRsaPkey()
228 assertEqualByteArrays(NativeCrypto.SSL_SESSION_session_id(expected), in assertEqualSessions()
229 NativeCrypto.SSL_SESSION_session_id(actual)); in assertEqualSessions()
242 NativeCrypto.X509_cmp(expected[i], actual[i]); in assertEqualCertificateChains()
252 NativeCrypto.EVP_PKEY_cmp(null, null); in EVP_PKEY_cmp_BothNullParameters()
260 NativeCrypto.EVP_PKEY_cmp(pkey1, null); in EVP_PKEY_cmp_withNullShouldThrow()
276 assertEquals("Same keys should be the equal", 1, NativeCrypto.EVP_PKEY_cmp(pkey1, pkey1)); in test_EVP_PKEY_cmp()
279 "Same keys should be the equal", 1, NativeCrypto.EVP_PKEY_cmp(pkey1, pkey1_copy)); in test_EVP_PKEY_cmp()
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DSslWrapper.java40 import org.conscrypt.NativeCrypto.SSLHandshakeCallbacks;
58 long ssl = NativeCrypto.SSL_new(ctx); in newInstance()
85 NativeCrypto.SSL_set_session(ssl, sslSessionNativePointer); in offerToResumeSession()
89 return NativeCrypto.SSL_session_id(ssl); in getSessionId()
93 return NativeCrypto.SSL_get_time(ssl); in getTime()
97 return NativeCrypto.SSL_get_timeout(ssl); in getTimeout()
101 NativeCrypto.SSL_set_timeout(ssl, millis); in setTimeout()
105 return NativeCrypto.cipherSuiteToJava(NativeCrypto.SSL_get_current_cipher(ssl)); in getCipherSuite()
109 return OpenSSLX509Certificate.createCertChain(NativeCrypto.SSL_get_certificate(ssl)); in getLocalCertificates()
113 return OpenSSLX509Certificate.createCertChain(NativeCrypto.SSL_get_peer_cert_chain(ssl)); in getPeerCertificates()
[all …]
DOpenSSLX509CRLEntry.java43 NativeCrypto.get_X509_REVOKED_ext_oids(mContext, in getCriticalExtensionOIDs()
44 NativeCrypto.EXTENSION_TYPE_CRITICAL); in getCriticalExtensionOIDs()
52 && (NativeCrypto.get_X509_REVOKED_ext_oids(mContext, in getCriticalExtensionOIDs()
53 NativeCrypto.EXTENSION_TYPE_NON_CRITICAL).length == 0)) { in getCriticalExtensionOIDs()
62 return NativeCrypto.X509_REVOKED_get_ext_oid(mContext, oid); in getExtensionValue()
68 NativeCrypto.get_X509_REVOKED_ext_oids(mContext, in getNonCriticalExtensionOIDs()
69 NativeCrypto.EXTENSION_TYPE_NON_CRITICAL); in getNonCriticalExtensionOIDs()
77 && (NativeCrypto.get_X509_REVOKED_ext_oids(mContext, in getNonCriticalExtensionOIDs()
78 NativeCrypto.EXTENSION_TYPE_CRITICAL).length == 0)) { in getNonCriticalExtensionOIDs()
88 NativeCrypto.get_X509_REVOKED_ext_oids(mContext, in hasUnsupportedCriticalExtension()
[all …]
DOpenSSLX509CRL.java60 final long crlCtx = NativeCrypto.d2i_X509_CRL_bio(bis.getBioContext()); in fromX509DerInputStream()
78 certRefs = NativeCrypto.d2i_PKCS7_bio(bis.getBioContext(), NativeCrypto.PKCS7_CRLS); in fromPkcs7DerInputStream()
99 final long crlCtx = NativeCrypto.PEM_read_bio_X509_CRL(bis.getBioContext()); in fromX509PemInputStream()
117 certRefs = NativeCrypto.PEM_read_bio_PKCS7(bis.getBioContext(), in fromPkcs7PemInputStream()
118 NativeCrypto.PKCS7_CRLS); in fromPkcs7PemInputStream()
138 NativeCrypto.get_X509_CRL_ext_oids(mContext, NativeCrypto.EXTENSION_TYPE_CRITICAL); in getCriticalExtensionOIDs()
146 && (NativeCrypto.get_X509_CRL_ext_oids(mContext, in getCriticalExtensionOIDs()
147 NativeCrypto.EXTENSION_TYPE_NON_CRITICAL).length == 0)) { in getCriticalExtensionOIDs()
156 return NativeCrypto.X509_CRL_get_ext_oid(mContext, oid); in getExtensionValue()
162 NativeCrypto.get_X509_CRL_ext_oids(mContext, in getNonCriticalExtensionOIDs()
[all …]
DOpenSSLX509Certificate.java76 final long certCtx = NativeCrypto.d2i_X509_bio(bis.getBioContext()); in fromX509DerInputStream()
91 return new OpenSSLX509Certificate(NativeCrypto.d2i_X509(encoded)); in fromX509Der()
104 certRefs = NativeCrypto.d2i_PKCS7_bio(bis.getBioContext(), NativeCrypto.PKCS7_CERTS); in fromPkcs7DerInputStream()
132 final long certCtx = NativeCrypto.PEM_read_bio_X509(bis.getBioContext()); in fromX509PemInputStream()
151 certRefs = NativeCrypto.PEM_read_bio_PKCS7(bis.getBioContext(), in fromPkcs7PemInputStream()
152 NativeCrypto.PKCS7_CERTS); in fromPkcs7PemInputStream()
184 NativeCrypto.get_X509_ext_oids(mContext, NativeCrypto.EXTENSION_TYPE_CRITICAL); in getCriticalExtensionOIDs()
192 && (NativeCrypto.get_X509_ext_oids(mContext, in getCriticalExtensionOIDs()
193 NativeCrypto.EXTENSION_TYPE_NON_CRITICAL).length == 0)) { in getCriticalExtensionOIDs()
202 return NativeCrypto.X509_get_ext_oid(mContext, oid); in getExtensionValue()
[all …]
DGCMParameters.java83 readRef = NativeCrypto.asn1_read_init(bytes); in engineInit()
84 seqRef = NativeCrypto.asn1_read_sequence(readRef); in engineInit()
85 byte[] newIv = NativeCrypto.asn1_read_octetstring(seqRef); in engineInit()
87 if (!NativeCrypto.asn1_read_is_empty(seqRef)) { in engineInit()
88 newTlen = 8 * (int) NativeCrypto.asn1_read_uint64(seqRef); in engineInit()
90 if (!NativeCrypto.asn1_read_is_empty(seqRef) in engineInit()
91 || !NativeCrypto.asn1_read_is_empty(readRef)) { in engineInit()
97 NativeCrypto.asn1_read_free(seqRef); in engineInit()
98 NativeCrypto.asn1_read_free(readRef); in engineInit()
126 cbbRef = NativeCrypto.asn1_write_init(); in engineGetEncoded()
[all …]
DEvpMdRef.java110 static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("md5");
111 static final int SIZE_BYTES = NativeCrypto.EVP_MD_size(EVP_MD);
119 static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("sha1");
120 static final int SIZE_BYTES = NativeCrypto.EVP_MD_size(EVP_MD);
127 static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("sha224");
128 static final int SIZE_BYTES = NativeCrypto.EVP_MD_size(EVP_MD);
136 static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("sha256");
137 static final int SIZE_BYTES = NativeCrypto.EVP_MD_size(EVP_MD);
145 static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("sha384");
146 static final int SIZE_BYTES = NativeCrypto.EVP_MD_size(EVP_MD);
[all …]
DNativeRef.java68 NativeCrypto.EC_GROUP_clear_free(context); in doFree()
79 NativeCrypto.EC_POINT_clear_free(context); in doFree()
90 NativeCrypto.EVP_CIPHER_CTX_free(context); in doFree()
101 NativeCrypto.EVP_MD_CTX_destroy(context); in doFree()
112 NativeCrypto.EVP_PKEY_free(context); in doFree()
123 NativeCrypto.EVP_PKEY_CTX_free(context); in doFree()
134 NativeCrypto.HMAC_CTX_free(context); in doFree()
145 NativeCrypto.SSL_SESSION_free(context); in doFree()
DOpenSSLMessageDigestJDK.java58 NativeRef.EVP_MD_CTX ctxLocal = new NativeRef.EVP_MD_CTX(NativeCrypto.EVP_MD_CTX_create()); in OpenSSLMessageDigestJDK()
73 NativeCrypto.EVP_DigestInit_ex(ctxLocal, evp_md); in ensureDigestInitializedInContext()
84 NativeCrypto.EVP_MD_CTX_cleanup(ctxLocal); in engineReset()
102 NativeCrypto.EVP_DigestUpdate(ctx, input, offset, len); in engineUpdate()
120 long baseAddress = NativeCrypto.getDirectBufferAddress(input); in engineUpdate()
140 NativeCrypto.EVP_DigestUpdateDirect(ctx, ptr, len); in engineUpdate()
148 NativeCrypto.EVP_DigestFinal_ex(ctx, result, 0); in engineDigest()
198 NativeRef.EVP_MD_CTX ctxCopy = new NativeRef.EVP_MD_CTX(NativeCrypto.EVP_MD_CTX_create()); in clone()
202 NativeCrypto.EVP_MD_CTX_copy_ex(ctxCopy, ctx); in clone()
DOpenSSLKey.java76 return new OpenSSLKey(NativeCrypto.EVP_parse_private_key(key.getEncoded())); in fromPrivateKey()
88 long keyCtx = NativeCrypto.PEM_read_bio_PrivateKey(bis.getBioContext()); in fromPrivateKeyPemInputStream()
180 return new OpenSSLKey(NativeCrypto.EVP_parse_private_key(encoded)); in fromKeyMaterial()
225 return new OpenSSLKey(NativeCrypto.EVP_parse_public_key(key.getEncoded())); in fromPublicKey()
240 long keyCtx = NativeCrypto.PEM_read_bio_PUBKEY(bis.getBioContext()); in fromPublicKeyPemInputStream()
254 switch (NativeCrypto.EVP_PKEY_type(ctx)) { in getPublicKey()
270 key = new OpenSSLKey(NativeCrypto.EVP_parse_public_key(x509KeySpec.getEncoded())); in getPublicKey()
275 if (NativeCrypto.EVP_PKEY_type(key.getNativeRef()) != type) { in getPublicKey()
287 switch (NativeCrypto.EVP_PKEY_type(ctx)) { in getPrivateKey()
303 key = new OpenSSLKey(NativeCrypto.EVP_parse_private_key(pkcs8KeySpec.getEncoded())); in getPrivateKey()
[all …]
DOpenSSLECPublicKey.java49 NativeCrypto.EC_KEY_get1_group(key.getNativeRef()))); in OpenSSLECPublicKey()
58 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_EC_KEY(group.getNativeRef(), in OpenSSLECPublicKey()
71 return new OpenSSLKey(NativeCrypto.EVP_PKEY_new_EC_KEY(group.getNativeRef(), in getInstance()
90 return NativeCrypto.EVP_marshal_public_key(key.getNativeRef()); in getEncoded()
100 new NativeRef.EC_POINT(NativeCrypto.EC_KEY_get_public_key(key.getNativeRef()))); in getPublicKey()
146 return Arrays.hashCode(NativeCrypto.EVP_marshal_public_key(key.getNativeRef())); in hashCode()
151 return NativeCrypto.EVP_PKEY_print_public(key.getNativeRef()); in toString()
159 key = new OpenSSLKey(NativeCrypto.EVP_parse_public_key(encoded)); in readObject()
161 NativeCrypto.EC_KEY_get1_group(key.getNativeRef()))); in readObject()
DOpenSSLECPrivateKey.java53 NativeCrypto.EC_KEY_get1_group(key.getNativeRef()))); in OpenSSLECPrivateKey()
61 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_EC_KEY(group.getNativeRef(), null, in OpenSSLECPrivateKey()
122 NativeCrypto.getECPrivateKeyWrapper(privateKey, group.getNativeRef()), true); in wrapJCAPrivateKeyForTLSStackOnly()
127 return new OpenSSLKey(NativeCrypto.getECPrivateKeyWrapper(ecPrivateKey, in wrapPlatformKey()
145 return new OpenSSLKey(NativeCrypto.EVP_PKEY_new_EC_KEY(group.getNativeRef(), null, in getInstance()
164 return NativeCrypto.EVP_marshal_private_key(key.getNativeRef()); in getEncoded()
178 return new BigInteger(NativeCrypto.EC_KEY_get_private_key(key.getNativeRef())); in getPrivateKey()
217 return Arrays.hashCode(NativeCrypto.EVP_marshal_private_key(key.getNativeRef())); in hashCode()
224 sb.append(NativeCrypto.EVP_PKEY_print_params(key.getNativeRef())); in toString()
234 key = new OpenSSLKey(NativeCrypto.EVP_parse_private_key(encoded)); in readObject()
[all …]
DOpenSSLSignature.java90 NativeRef.EVP_MD_CTX ctxLocal = new NativeRef.EVP_MD_CTX(NativeCrypto.EVP_MD_CTX_create()); in resetContext()
92 evpPkeyCtx = NativeCrypto.EVP_DigestSignInit(ctxLocal, evpMdRef, key.getNativeRef()); in resetContext()
94 evpPkeyCtx = NativeCrypto.EVP_DigestVerifyInit(ctxLocal, evpMdRef, key.getNativeRef()); in resetContext()
120 NativeCrypto.EVP_DigestSignUpdate(ctxLocal, input, offset, len); in engineUpdate()
122 NativeCrypto.EVP_DigestVerifyUpdate(ctxLocal, input, offset, len); in engineUpdate()
141 long baseAddress = NativeCrypto.getDirectBufferAddress(input); in engineUpdate()
162 NativeCrypto.EVP_DigestSignUpdateDirect(ctxLocal, ptr, len); in engineUpdate()
164 NativeCrypto.EVP_DigestVerifyUpdateDirect(ctxLocal, ptr, len); in engineUpdate()
176 final int pkeyType = NativeCrypto.EVP_PKEY_type(pkey.getNativeRef()); in checkEngineType()
228 return NativeCrypto.EVP_DigestSignFinal(ctxLocal); in engineSign()
[all …]
DSSLParametersImpl.java148 enabledProtocols = NativeCrypto.checkEnabledProtocols( in SSLParametersImpl()
149 protocols == null ? NativeCrypto.DEFAULT_PROTOCOLS : protocols).clone(); in SSLParametersImpl()
217 enabledCipherSuites = NativeCrypto.checkEnabledCipherSuites(cipherSuites).clone(); in setEnabledCipherSuites()
236 filterFromProtocols(protocols, NativeCrypto.OBSOLETE_PROTOCOL_SSLV3); in setEnabledProtocols()
238 enabledProtocols = NativeCrypto.checkEnabledProtocols(filteredProtocols).clone(); in setEnabledProtocols()
599 NativeCrypto.DEFAULT_PSK_CIPHER_SUITES, in getDefaultCipherSuites()
600 NativeCrypto.DEFAULT_X509_CIPHER_SUITES, in getDefaultCipherSuites()
601 new String[] {NativeCrypto.TLS_EMPTY_RENEGOTIATION_INFO_SCSV}); in getDefaultCipherSuites()
605 NativeCrypto.DEFAULT_X509_CIPHER_SUITES, in getDefaultCipherSuites()
606 new String[] {NativeCrypto.TLS_EMPTY_RENEGOTIATION_INFO_SCSV}); in getDefaultCipherSuites()
[all …]
DOpenSSLRSAPrivateKey.java78 return new OpenSSLKey(NativeCrypto.EVP_PKEY_new_RSA( in init()
93 byte[][] params = NativeCrypto.get_RSA_private_params(key.getNativeRef()); in getInstance()
106 return new OpenSSLKey(NativeCrypto.getRSAPrivateKeyWrapper(rsaPrivateKey, rsaPrivateKey in wrapPlatformKey()
128 NativeCrypto.getRSAPrivateKeyWrapper(privateKey, modulus.toByteArray()), true); in wrapJCAPrivateKeyForTLSStackOnly()
150 return new OpenSSLKey(NativeCrypto.EVP_PKEY_new_RSA( in getInstance()
168 readParams(NativeCrypto.get_RSA_private_params(key.getNativeRef())); in ensureReadParams()
201 return NativeCrypto.EVP_marshal_private_key(key.getNativeRef()); in getEncoded()
263 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_RSA( in readObject()
DOpenSSLECGroupContext.java45 final long ctx = NativeCrypto.EC_GROUP_new_by_curve_name(curveName); in getCurveByName()
140 group = NativeCrypto.EC_GROUP_new_arbitrary( in getInstance()
158 final String curveName = NativeCrypto.EC_GROUP_get_curve_name(groupCtx); in getECParameterSpec()
160 final byte[][] curveParams = NativeCrypto.EC_GROUP_get_curve(groupCtx); in getECParameterSpec()
170 new NativeRef.EC_POINT(NativeCrypto.EC_GROUP_get_generator(groupCtx))); in getECParameterSpec()
173 final BigInteger order = new BigInteger(NativeCrypto.EC_GROUP_get_order(groupCtx)); in getECParameterSpec()
174 final BigInteger cofactor = new BigInteger(NativeCrypto.EC_GROUP_get_cofactor(groupCtx)); in getECParameterSpec()
DOpenSSLMac.java88 NativeRef.HMAC_CTX ctxLocal = new NativeRef.HMAC_CTX(NativeCrypto.HMAC_CTX_new()); in resetContext()
90 NativeCrypto.HMAC_Init_ex(ctxLocal, keyBytes, evp_md); in resetContext()
105 NativeCrypto.HMAC_Update(ctxLocal, input, offset, len); in engineUpdate()
123 long baseAddress = NativeCrypto.getDirectBufferAddress(input); in engineUpdate()
143 NativeCrypto.HMAC_UpdateDirect(ctxLocal, ptr, len); in engineUpdate()
150 final byte[] output = NativeCrypto.HMAC_Final(ctxLocal); in engineDoFinal()
DOpenSSLCipher.java457 NativeCrypto.EVP_CIPHER_CTX_new());
487 final long cipherType = NativeCrypto.EVP_get_cipherbyname(getCipherName( in engineInitInternal()
496 final int expectedIvLength = NativeCrypto.EVP_CIPHER_iv_length(cipherType); in engineInitInternal()
507 NativeCrypto.RAND_bytes(iv); in engineInitInternal()
519 NativeCrypto.EVP_CipherInit_ex(cipherCtx, cipherType, null, null, encrypting); in engineInitInternal()
520 NativeCrypto.EVP_CIPHER_CTX_set_key_length(cipherCtx, encodedKey.length); in engineInitInternal()
521 NativeCrypto.EVP_CipherInit_ex(cipherCtx, 0, encodedKey, iv, isEncrypting()); in engineInitInternal()
523 NativeCrypto.EVP_CipherInit_ex(cipherCtx, cipherType, encodedKey, iv, encrypting); in engineInitInternal()
527 NativeCrypto in engineInitInternal()
529 modeBlockSize = NativeCrypto.EVP_CIPHER_CTX_block_size(cipherCtx); in engineInitInternal()
[all …]
DOpenSSLCipherRSA.java150 return NativeCrypto.RSA_size(this.key.getNativeRef()); in keySizeBytes()
211 buffer = new byte[NativeCrypto.RSA_size(this.key.getNativeRef())]; in engineInitInternal()
368 resultSize = NativeCrypto.RSA_private_encrypt( in doCryptoOperation()
371 resultSize = NativeCrypto.RSA_public_encrypt( in doCryptoOperation()
377 resultSize = NativeCrypto.RSA_private_decrypt( in doCryptoOperation()
380 resultSize = NativeCrypto.RSA_public_decrypt( in doCryptoOperation()
508 ? NativeCrypto.EVP_PKEY_encrypt_init(key.getNativeRef()) in doCryptoInit()
509 : NativeCrypto.EVP_PKEY_decrypt_init(key.getNativeRef())); in doCryptoInit()
515 NativeCrypto.EVP_PKEY_CTX_set_rsa_padding( in doCryptoInit()
517 NativeCrypto.EVP_PKEY_CTX_set_rsa_oaep_md(pkeyCtx.context, oaepMd); in doCryptoInit()
[all …]
DOpenSSLRSAPublicKey.java57 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_RSA( in OpenSSLRSAPublicKey()
73 return new OpenSSLKey(NativeCrypto.EVP_PKEY_new_RSA( in getInstance()
99 return NativeCrypto.EVP_marshal_public_key(key.getNativeRef()); in getEncoded()
107 byte[][] params = NativeCrypto.get_RSA_public_params(key.getNativeRef()); in ensureReadParams()
180 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_RSA( in readObject()
DOpenSSLSignatureRawECDSA.java61 int pkeyType = NativeCrypto.EVP_PKEY_type(key.getNativeRef()); in verifyKey()
90 int output_size = NativeCrypto.ECDSA_size(key.getNativeRef()); in engineSign()
94 NativeCrypto.ECDSA_sign(buffer.toByteArray(), outputBuffer, key.getNativeRef()); in engineSign()
123 NativeCrypto.ECDSA_verify(buffer.toByteArray(), sigBytes, key.getNativeRef()); in engineVerify()
DSslSessionWrapper.java151 new NativeRef.SSL_SESSION(NativeCrypto.d2i_SSL_SESSION(sessionData)); in newInstance()
231 this.protocol = NativeCrypto.SSL_SESSION_get_version(ref.context); in Impl()
233 NativeCrypto.cipherSuiteToJava(NativeCrypto.SSL_SESSION_cipher(ref.context)); in Impl()
239 return NativeCrypto.SSL_SESSION_session_id(ref.context); in getId()
243 return NativeCrypto.SSL_SESSION_get_time(ref.context); in getCreationTime()
253 NativeCrypto.SSL_SESSION_get_timeout(ref.context))) in isValid()
302 byte[] data = NativeCrypto.i2d_SSL_SESSION(ref.context); in toBytes()
DOpenSSLECPointContext.java37 final byte[][] generatorCoords = NativeCrypto.EC_POINT_get_affine_coordinates( in getECPoint()
57 NativeCrypto.EC_POINT_new(group.getNativeRef()))); in getInstance()
58 NativeCrypto.EC_POINT_set_affine_coordinates(group.getNativeRef(), in getInstance()
/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp9363 CONSCRYPT_NATIVE_METHOD(NativeCrypto, clinit, "()V"),
9364 CONSCRYPT_NATIVE_METHOD(NativeCrypto, EVP_PKEY_new_RSA, "([B[B[B[B[B[B[B[B)J"),
9365 … CONSCRYPT_NATIVE_METHOD(NativeCrypto, EVP_PKEY_new_EC_KEY, "(" REF_EC_GROUP REF_EC_POINT "[B)J"),
9366 CONSCRYPT_NATIVE_METHOD(NativeCrypto, EVP_PKEY_type, "(" REF_EVP_PKEY ")I"),
9367 …CONSCRYPT_NATIVE_METHOD(NativeCrypto, EVP_PKEY_print_public, "(" REF_EVP_PKEY ")Ljava/lang/String;…
9368 …CONSCRYPT_NATIVE_METHOD(NativeCrypto, EVP_PKEY_print_params, "(" REF_EVP_PKEY ")Ljava/lang/String;…
9369 CONSCRYPT_NATIVE_METHOD(NativeCrypto, EVP_PKEY_free, "(J)V"),
9370 CONSCRYPT_NATIVE_METHOD(NativeCrypto, EVP_PKEY_cmp, "(" REF_EVP_PKEY REF_EVP_PKEY ")I"),
9371 CONSCRYPT_NATIVE_METHOD(NativeCrypto, EVP_marshal_private_key, "(" REF_EVP_PKEY ")[B"),
9372 CONSCRYPT_NATIVE_METHOD(NativeCrypto, EVP_parse_private_key, "([B)J"),
[all …]
/external/conscrypt/common/src/jni/main/include/
DNativeCrypto.h27 class NativeCrypto {
29 NativeCrypto() {} in NativeCrypto() function
30 ~NativeCrypto() {} in ~NativeCrypto()

123