Lines Matching refs:sig

493 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig)  in ecryptfs_find_global_auth_tok_for_sig()  argument
504 if (memcmp(walker->sig, sig, ECRYPTFS_SIG_SIZE_HEX)) in ecryptfs_find_global_auth_tok_for_sig()
534 printk(KERN_WARNING "Invalidating auth tok with sig = [%s]\n", sig); in ecryptfs_find_global_auth_tok_for_sig()
563 char *sig) in ecryptfs_find_auth_tok_for_sig() argument
568 mount_crypt_stat, sig); in ecryptfs_find_auth_tok_for_sig()
580 sig); in ecryptfs_find_auth_tok_for_sig()
1116 ecryptfs_get_auth_tok_sig(char **sig, struct ecryptfs_auth_tok *auth_tok) in ecryptfs_get_auth_tok_sig() argument
1120 (*sig) = NULL; in ecryptfs_get_auth_tok_sig()
1123 (*sig) = auth_tok->token.password.signature; in ecryptfs_get_auth_tok_sig()
1126 (*sig) = auth_tok->token.private_key.signature; in ecryptfs_get_auth_tok_sig()
1629 char *sig) in ecryptfs_keyring_auth_tok_for_sig() argument
1633 (*auth_tok_key) = request_key(&key_type_user, sig, NULL); in ecryptfs_keyring_auth_tok_for_sig()
1635 (*auth_tok_key) = ecryptfs_get_encrypted_key(sig); in ecryptfs_keyring_auth_tok_for_sig()
1638 sig); in ecryptfs_keyring_auth_tok_for_sig()
2035 ecryptfs_from_hex(key_rec->sig, auth_tok->token.private_key.signature, in write_tag_1_packet()
2090 memcpy(&dest[(*packet_size)], key_rec->sig, ECRYPTFS_SIG_SIZE); in write_tag_1_packet()
2201 ecryptfs_from_hex(key_rec->sig, auth_tok->token.password.signature, in write_tag_3_packet()
2440 key_rec->sig, in ecryptfs_generate_key_packet_set()
2484 int ecryptfs_add_keysig(struct ecryptfs_crypt_stat *crypt_stat, char *sig) in ecryptfs_add_keysig() argument
2494 memcpy(new_key_sig->keysig, sig, ECRYPTFS_SIG_SIZE_HEX); in ecryptfs_add_keysig()
2506 char *sig, u32 global_auth_tok_flags) in ecryptfs_add_global_auth_tok() argument
2519 memcpy(new_auth_tok->sig, sig, ECRYPTFS_SIG_SIZE_HEX); in ecryptfs_add_global_auth_tok()
2521 new_auth_tok->sig[ECRYPTFS_SIG_SIZE_HEX] = '\0'; in ecryptfs_add_global_auth_tok()