Lines Matching refs:sig

489 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig)  in ecryptfs_find_global_auth_tok_for_sig()  argument
500 if (memcmp(walker->sig, sig, ECRYPTFS_SIG_SIZE_HEX)) in ecryptfs_find_global_auth_tok_for_sig()
530 printk(KERN_WARNING "Invalidating auth tok with sig = [%s]\n", sig); in ecryptfs_find_global_auth_tok_for_sig()
560 char *sig) in ecryptfs_find_auth_tok_for_sig() argument
565 mount_crypt_stat, sig); in ecryptfs_find_auth_tok_for_sig()
577 sig); in ecryptfs_find_auth_tok_for_sig()
1100 ecryptfs_get_auth_tok_sig(char **sig, struct ecryptfs_auth_tok *auth_tok) in ecryptfs_get_auth_tok_sig() argument
1104 (*sig) = NULL; in ecryptfs_get_auth_tok_sig()
1107 (*sig) = auth_tok->token.password.signature; in ecryptfs_get_auth_tok_sig()
1110 (*sig) = auth_tok->token.private_key.signature; in ecryptfs_get_auth_tok_sig()
1613 char *sig) in ecryptfs_keyring_auth_tok_for_sig() argument
1617 (*auth_tok_key) = request_key(&key_type_user, sig, NULL); in ecryptfs_keyring_auth_tok_for_sig()
1619 (*auth_tok_key) = ecryptfs_get_encrypted_key(sig); in ecryptfs_keyring_auth_tok_for_sig()
1622 sig); in ecryptfs_keyring_auth_tok_for_sig()
2033 ecryptfs_from_hex(key_rec->sig, auth_tok->token.private_key.signature, in write_tag_1_packet()
2088 memcpy(&dest[(*packet_size)], key_rec->sig, ECRYPTFS_SIG_SIZE); in write_tag_1_packet()
2197 ecryptfs_from_hex(key_rec->sig, auth_tok->token.password.signature, in write_tag_3_packet()
2451 key_rec->sig, in ecryptfs_generate_key_packet_set()
2495 int ecryptfs_add_keysig(struct ecryptfs_crypt_stat *crypt_stat, char *sig) in ecryptfs_add_keysig() argument
2503 memcpy(new_key_sig->keysig, sig, ECRYPTFS_SIG_SIZE_HEX); in ecryptfs_add_keysig()
2515 char *sig, u32 global_auth_tok_flags) in ecryptfs_add_global_auth_tok() argument
2524 memcpy(new_auth_tok->sig, sig, ECRYPTFS_SIG_SIZE_HEX); in ecryptfs_add_global_auth_tok()
2526 new_auth_tok->sig[ECRYPTFS_SIG_SIZE_HEX] = '\0'; in ecryptfs_add_global_auth_tok()