/linux/security/keys/encrypted-keys/ |
A D | encrypted.h | 9 const u8 **master_key, size_t *master_keylen); 12 const u8 **master_key, in request_trusted_key() argument 20 static inline void dump_master_key(const u8 *master_key, size_t master_keylen) in dump_master_key() argument 23 master_key, master_keylen, 0); in dump_master_key() 49 static inline void dump_master_key(const u8 *master_key, size_t master_keylen) in dump_master_key() argument
|
A D | encrypted.c | 320 *master_key = upayload->data; in request_user_key() 350 const u8 *master_key, size_t master_keylen) in get_derived_key() argument 369 memcpy(derived_buf + strlen(derived_buf) + 1, master_key, in get_derived_key() 411 const u8 **master_key, size_t *master_keylen) in request_master_key() argument 419 master_key, master_keylen); in request_master_key() 424 master_key, master_keylen); in request_master_key() 440 dump_master_key(*master_key, *master_keylen); in request_master_key() 489 const u8 *master_key, size_t master_keylen) in datablob_hmac_append() argument 511 const u8 *format, const u8 *master_key, in datablob_hmac_verify() argument 660 const u8 *master_key; in encrypted_key_decrypt() local [all …]
|
A D | masterkey_trusted.c | 28 const u8 **master_key, size_t *master_keylen) in request_trusted_key() argument 39 *master_key = tpayload->key; in request_trusted_key()
|
/linux/drivers/net/ppp/ |
A D | ppp_mppe.c | 95 unsigned char master_key[MPPE_MAX_KEY_LEN]; member 134 crypto_shash_update(state->sha1, state->master_key, in get_new_key_from_sha() 177 if (optlen != CILEN_MPPE + sizeof(state->master_key) || in mppe_alloc() 209 memcpy(state->master_key, &options[CILEN_MPPE], in mppe_alloc() 210 sizeof(state->master_key)); in mppe_alloc() 211 memcpy(state->session_key, state->master_key, in mppe_alloc() 212 sizeof(state->master_key)); in mppe_alloc() 283 (int)sizeof(state->master_key), state->master_key, in mppe_init()
|
/linux/fs/crypto/ |
A D | keysetup.c | 542 struct key *master_key = NULL; in fscrypt_setup_encryption_info() local 566 &master_key); in fscrypt_setup_encryption_info() 581 if (master_key) { in fscrypt_setup_encryption_info() 583 master_key->payload.data[0]; in fscrypt_setup_encryption_info() 586 crypt_info->ci_master_key = key_get(master_key); in fscrypt_setup_encryption_info() 596 if (master_key) { in fscrypt_setup_encryption_info() 597 up_read(&master_key->sem); in fscrypt_setup_encryption_info() 598 key_put(master_key); in fscrypt_setup_encryption_info()
|
A D | hkdf.c | 68 int fscrypt_init_hkdf(struct fscrypt_hkdf *hkdf, const u8 *master_key, in fscrypt_init_hkdf() argument 87 err = hkdf_extract(hmac_tfm, master_key, master_key_size, prk); in fscrypt_init_hkdf()
|
A D | keysetup_v1.c | 47 static int derive_key_aes(const u8 *master_key, in derive_key_aes() argument 75 sg_init_one(&src_sg, master_key, derived_keysize); in derive_key_aes()
|
A D | fscrypt_private.h | 312 int fscrypt_init_hkdf(struct fscrypt_hkdf *hkdf, const u8 *master_key,
|
/linux/net/tipc/ |
A D | crypto.h | 126 master_key:1, member 137 master_key:1, 169 u8 mode, bool master_key);
|
A D | crypto.c | 284 bool master_key); 1080 ehdr->master_key = aead->crypto->key_master; in tipc_ehdr_build() 1131 u8 mode, bool master_key) in tipc_crypto_key_init() argument 1141 rc = tipc_crypto_key_attach(c, aead, 0, master_key); in tipc_crypto_key_init() 1160 bool master_key) in tipc_crypto_key_attach() argument 1168 if (master_key) { in tipc_crypto_key_attach() 1205 c->key_master |= master_key; in tipc_crypto_key_attach() 1404 rx->key_master = ehdr->master_key; in tipc_crypto_key_synch()
|
A D | node.c | 2954 bool rekeying = true, master_key = false; in __tipc_nl_node_set_key() local 2992 master_key = !!(attrs[TIPC_NLA_NODE_KEY_MASTER]); in __tipc_nl_node_set_key() 3009 rc = tipc_crypto_key_init(c, ukey, mode, master_key); in __tipc_nl_node_set_key() 3018 if (!master_key && tipc_crypto_key_distr(tx, rc, NULL)) in __tipc_nl_node_set_key()
|
/linux/Documentation/filesystems/ |
A D | fscrypt.rst | 502 ``SHA-512(SHA-512(master_key))``, but this particular scheme is not
|