Lines Matching refs:sig
487 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig) in ecryptfs_find_global_auth_tok_for_sig() argument
498 if (memcmp(walker->sig, sig, ECRYPTFS_SIG_SIZE_HEX)) in ecryptfs_find_global_auth_tok_for_sig()
528 printk(KERN_WARNING "Invalidating auth tok with sig = [%s]\n", sig); in ecryptfs_find_global_auth_tok_for_sig()
557 char *sig) in ecryptfs_find_auth_tok_for_sig() argument
562 mount_crypt_stat, sig); in ecryptfs_find_auth_tok_for_sig()
574 sig); in ecryptfs_find_auth_tok_for_sig()
1097 ecryptfs_get_auth_tok_sig(char **sig, struct ecryptfs_auth_tok *auth_tok) in ecryptfs_get_auth_tok_sig() argument
1101 (*sig) = NULL; in ecryptfs_get_auth_tok_sig()
1104 (*sig) = auth_tok->token.password.signature; in ecryptfs_get_auth_tok_sig()
1107 (*sig) = auth_tok->token.private_key.signature; in ecryptfs_get_auth_tok_sig()
1610 char *sig) in ecryptfs_keyring_auth_tok_for_sig() argument
1614 (*auth_tok_key) = request_key(&key_type_user, sig, NULL); in ecryptfs_keyring_auth_tok_for_sig()
1616 (*auth_tok_key) = ecryptfs_get_encrypted_key(sig); in ecryptfs_keyring_auth_tok_for_sig()
1619 sig); in ecryptfs_keyring_auth_tok_for_sig()
2030 ecryptfs_from_hex(key_rec->sig, auth_tok->token.private_key.signature, in write_tag_1_packet()
2085 memcpy(&dest[(*packet_size)], key_rec->sig, ECRYPTFS_SIG_SIZE); in write_tag_1_packet()
2194 ecryptfs_from_hex(key_rec->sig, auth_tok->token.password.signature, in write_tag_3_packet()
2448 key_rec->sig, in ecryptfs_generate_key_packet_set()
2492 int ecryptfs_add_keysig(struct ecryptfs_crypt_stat *crypt_stat, char *sig) in ecryptfs_add_keysig() argument
2500 memcpy(new_key_sig->keysig, sig, ECRYPTFS_SIG_SIZE_HEX); in ecryptfs_add_keysig()
2512 char *sig, u32 global_auth_tok_flags) in ecryptfs_add_global_auth_tok() argument
2521 memcpy(new_auth_tok->sig, sig, ECRYPTFS_SIG_SIZE_HEX); in ecryptfs_add_global_auth_tok()
2523 new_auth_tok->sig[ECRYPTFS_SIG_SIZE_HEX] = '\0'; in ecryptfs_add_global_auth_tok()