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