Searched refs:ae_err (Results 1 – 1 of 1) sorted by relevance
131 int ae_err = ae_encrypt(ctx.get(), nonce.peek_read(), plaintext.key_material, in OcbEncryptKey() local135 if (ae_err < 0) { in OcbEncryptKey()136 LOG_E("Error %d while encrypting key", ae_err); in OcbEncryptKey()140 assert(ae_err == static_cast<int>(plaintext.key_material_size)); in OcbEncryptKey()163 int ae_err = ae_decrypt(ctx.get(), nonce.peek_read(), ciphertext.key_material, in OcbDecryptKey() local167 if (ae_err == AE_INVALID) { in OcbDecryptKey()173 } else if (ae_err < 0) { in OcbDecryptKey()174 LOG_E("Failed to decrypt key, error: %d", ae_err); in OcbDecryptKey()177 assert(ae_err == static_cast<int>(ciphertext.key_material_size)); in OcbDecryptKey()