Searched refs:derived_key (Results 1 – 1 of 1) sorted by relevance
203 UniquePtr<uint8_t[]> derived_key(new uint8_t[AES_BLOCK_SIZE]); in InitializeKeyWrappingContext() local204 Eraser derived_key_eraser(derived_key.get(), AES_BLOCK_SIZE); in InitializeKeyWrappingContext()206 if (ctx.get() == NULL || hash_buf.get() == NULL || derived_key.get() == NULL) { in InitializeKeyWrappingContext()226 AES_encrypt(hash_buf.get(), derived_key.get(), &aes_key); in InitializeKeyWrappingContext()229 if (ae_init(ctx->get(), derived_key.get(), AES_BLOCK_SIZE, NONCE_LENGTH, TAG_LENGTH) == in InitializeKeyWrappingContext()