Searched defs:evpAead (Results 1 - 3 of 3) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
H A DOpenSSLCipher.java990 long evpAead; field in class:OpenSSLCipher.EVP_AEAD
1064 evpAead = getEVP_AEAD(encodedKey.length);
1066 final int expectedIvLength = NativeCrypto.EVP_AEAD_nonce_length(evpAead);
1140 bytesWritten = NativeCrypto.EVP_AEAD_CTX_seal(evpAead, encodedKey,
1143 bytesWritten = NativeCrypto.EVP_AEAD_CTX_open(evpAead, encodedKey,
1164 + (isEncrypting() ? NativeCrypto.EVP_AEAD_max_overhead(evpAead) : 0);
H A DNativeCrypto.java288 static native int EVP_AEAD_max_overhead(long evpAead); argument
290 static native int EVP_AEAD_nonce_length(long evpAead); argument
292 static native int EVP_AEAD_CTX_seal(long evpAead, byte[] key, int tagLengthInBytes, byte[] out, argument
296 static native int EVP_AEAD_CTX_open(long evpAead, byte[] key, int tagLengthInBytes, byte[] out, argument
/external/conscrypt/common/src/jni/main/cpp/
H A DNativeCrypto.cpp3180 const EVP_AEAD* evpAead = reinterpret_cast<const EVP_AEAD*>(evpAeadRef); local
3181 JNI_TRACE("EVP_AEAD_max_overhead(%p)", evpAead);
3182 if (evpAead == nullptr) {
3183 Errors::jniThrowNullPointerException(env, "evpAead == null");
3186 jint maxOverhead = static_cast<jint>(EVP_AEAD_max_overhead(evpAead));
3187 JNI_TRACE("EVP_AEAD_max_overhead(%p) => %d", evpAead, maxOverhead);
3192 const EVP_AEAD* evpAead = reinterpret_cast<const EVP_AEAD*>(evpAeadRef); local
3193 JNI_TRACE("EVP_AEAD_nonce_length(%p)", evpAead);
3194 if (evpAead == nullptr) {
3195 Errors::jniThrowNullPointerException(env, "evpAead
3213 const EVP_AEAD* evpAead = reinterpret_cast<const EVP_AEAD*>(evpAeadRef); local
[all...]

Completed in 145 milliseconds