Lines Matching refs:keyring
148 key_serial_t keyring) in add_key() argument
151 plen, keyring); in add_key()
549 static int get_keyring_id(const char *keyring) in get_keyring_id() argument
571 if (keyring == NULL) in get_keyring_id()
575 if (strcmp(keyring, keyrings[x].name) == 0) { in get_keyring_id()
579 x = strtoul(keyring, &end, 10); in get_keyring_id()
604 static void insert_key_into_keyring(const char *keyring, struct salt *salt) in insert_key_into_keyring() argument
606 int keyring_id = get_keyring_id(keyring); in insert_key_into_keyring()
613 printf("Invalid keyring [%s].\n", keyring); in insert_key_into_keyring()
628 printf("Keyring [%s] is not available.\n", keyring); in insert_key_into_keyring()
692 char *keyring = NULL; in do_add_key() local
700 keyring = optarg; in do_add_key()
738 insert_key_into_keyring(keyring, salt); in do_add_key()