Searched refs:evpAead (Results 1 – 3 of 3) sorted by relevance
/external/conscrypt/src/main/java/org/conscrypt/ |
D | OpenSSLCipher.java | 872 protected long evpAead; field in OpenSSLCipher.EVP_AEAD 946 evpAead = getEVP_AEAD(encodedKey.length); in engineInitInternal() 948 final int expectedIvLength = NativeCrypto.EVP_AEAD_nonce_length(evpAead); in engineInitInternal() 990 EVP_AEAD_CTX cipherCtx = new EVP_AEAD_CTX(NativeCrypto.EVP_AEAD_CTX_init(evpAead, in doFinalInternal() 1041 + (isEncrypting() ? NativeCrypto.EVP_AEAD_max_overhead(evpAead) : 0); in getOutputSizeForFinal()
|
D | NativeCrypto.java | 314 public static native long EVP_AEAD_CTX_init(long evpAead, byte[] key, int tagLen); in EVP_AEAD_CTX_init() argument 318 public static native int EVP_AEAD_max_overhead(long evpAead); in EVP_AEAD_max_overhead() argument 320 public static native int EVP_AEAD_nonce_length(long evpAead); in EVP_AEAD_nonce_length() argument 322 public static native int EVP_AEAD_max_tag_len(long evpAead); in EVP_AEAD_max_tag_len() argument
|
/external/conscrypt/src/main/native/ |
D | org_conscrypt_NativeCrypto.cpp | 4918 const EVP_AEAD* evpAead = reinterpret_cast<const EVP_AEAD*>(evpAeadRef); local 4919 JNI_TRACE("EVP_AEAD_CTX_init(%p, %p, %d)", evpAead, keyArray, tagLen); 4931 int ret = EVP_AEAD_CTX_init(aeadCtx.get(), evpAead, tmp, keyBytes.size(), tagLen, nullptr); 4934 JNI_TRACE("EVP_AEAD_CTX_init(%p, %p, %d) => fail EVP_AEAD_CTX_init", evpAead, 4939 JNI_TRACE("EVP_AEAD_CTX_init(%p, %p, %d) => %p", evpAead, keyArray, tagLen, aeadCtx.get()); 4971 const EVP_AEAD* evpAead = reinterpret_cast<const EVP_AEAD*>(evpAeadRef); local 4972 JNI_TRACE("EVP_AEAD_max_overhead(%p)", evpAead); 4973 if (evpAead == nullptr) { 4977 int maxOverhead = EVP_AEAD_max_overhead(evpAead); 4978 JNI_TRACE("EVP_AEAD_max_overhead(%p) => %d", evpAead, maxOverhead); [all …]
|