Home
last modified time | relevance | path

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

/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp3315 auto hmacCtx = new HMAC_CTX; in NativeCrypto_HMAC_CTX_new() local
3316 if (hmacCtx == nullptr) { in NativeCrypto_HMAC_CTX_new()
3321 HMAC_CTX_init(hmacCtx); in NativeCrypto_HMAC_CTX_new()
3322 return reinterpret_cast<jlong>(hmacCtx); in NativeCrypto_HMAC_CTX_new()
3326 HMAC_CTX* hmacCtx = reinterpret_cast<HMAC_CTX*>(hmacCtxRef); in NativeCrypto_HMAC_CTX_free() local
3327 JNI_TRACE("HMAC_CTX_free(%p)", hmacCtx); in NativeCrypto_HMAC_CTX_free()
3328 if (hmacCtx == nullptr) { in NativeCrypto_HMAC_CTX_free()
3331 HMAC_CTX_cleanup(hmacCtx); in NativeCrypto_HMAC_CTX_free()
3332 delete hmacCtx; in NativeCrypto_HMAC_CTX_free()
3337 HMAC_CTX* hmacCtx = fromContextObject<HMAC_CTX>(env, hmacCtxRef); in NativeCrypto_HMAC_Init_ex() local
[all …]