Lines Matching refs:get
54 EVP_MD_CTX* get() { return &ctx_; } in get() function in keymaster::__anonccc6f1bd0111::EvpMdCtx
69 if (EVP_DigestInit_ex(ctx.get(), EVP_sha256(), nullptr /* ENGINE */) && in CreateKeyId()
70 EVP_DigestUpdate(ctx.get(), key_blob.key_material, in CreateKeyId()
72 EVP_DigestFinal_ex(ctx.get(), hash, &hash_len)) { in CreateKeyId()
109 if (!HMAC_Init_ex(ctx.get(), key.key_material, key.key_material_size, in hmacSha256()
116 if (!HMAC_Update(ctx.get(), chunk.data, chunk.data_length)) { in hmacSha256()
121 if (!HMAC_Final(ctx.get(), output->writable_data(), &digest_len)) { in hmacSha256()
174 if (!context_chunks.get()) in ComputeSharedHmac()
178 auto context_chunks_pos = context_chunks.get(); in ComputeSharedHmac()
185 assert(context_chunks_pos - num_chunks == context_chunks.get()); in ComputeSharedHmac()
196 context_chunks.get(), num_chunks, // in ComputeSharedHmac()