Lines Matching refs:keyring
98 key_serial_t keyring) in add_key() argument
101 plen, keyring); in add_key()
503 static int get_keyring_id(const char *keyring) in get_keyring_id() argument
514 if (keyring == NULL) in get_keyring_id()
517 if (strcmp(keyring, keyrings[x].name) == 0) { in get_keyring_id()
521 x = strtoul(keyring, &end, 10); in get_keyring_id()
546 static void insert_key_into_keyring(const char *keyring, struct salt *salt) in insert_key_into_keyring() argument
548 int keyring_id = get_keyring_id(keyring); in insert_key_into_keyring()
555 printf("Invalid keyring [%s].\n", keyring); in insert_key_into_keyring()
570 printf("Keyring [%s] is not available.\n", keyring); in insert_key_into_keyring()
655 char *keyring = NULL; in do_add_key() local
663 keyring = optarg; in do_add_key()
703 insert_key_into_keyring(keyring, salt); in do_add_key()