[PATCH v10 18/25] security: Introduce key_post_create_or_update hook