/linux-6.12.1/security/keys/encrypted-keys/ |
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
|
D | encrypted.c | 307 static struct key *request_user_key(const char *master_desc, const u8 **master_key, in request_user_key() argument 326 *master_key = upayload->data; in request_user_key() 356 const u8 *master_key, size_t master_keylen) in get_derived_key() argument 375 memcpy(derived_buf + strlen(derived_buf) + 1, master_key, in get_derived_key() 417 const u8 **master_key, size_t *master_keylen) in request_master_key() argument 425 master_key, master_keylen); in request_master_key() 430 master_key, master_keylen); in request_master_key() 446 dump_master_key(*master_key, *master_keylen); in request_master_key() 495 const u8 *master_key, size_t master_keylen) in datablob_hmac_append() argument 501 ret = get_derived_key(derived_key, AUTH_KEY, master_key, master_keylen); in datablob_hmac_append() [all …]
|
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-6.12.1/drivers/net/ppp/ |
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-6.12.1/net/tipc/ |
D | crypto.h | 126 master_key:1, member 137 master_key:1, 169 u8 mode, bool master_key);
|
D | crypto.c | 284 bool master_key); 1069 ehdr->master_key = aead->crypto->key_master; in tipc_ehdr_build() 1120 u8 mode, bool master_key) in tipc_crypto_key_init() argument 1130 rc = tipc_crypto_key_attach(c, aead, 0, master_key); in tipc_crypto_key_init() 1149 bool master_key) in tipc_crypto_key_attach() argument 1157 if (master_key) { in tipc_crypto_key_attach() 1194 c->key_master |= master_key; in tipc_crypto_key_attach() 1393 rx->key_master = ehdr->master_key; in tipc_crypto_key_synch()
|
D | node.c | 2967 bool rekeying = true, master_key = false; in __tipc_nl_node_set_key() local 3005 master_key = !!(attrs[TIPC_NLA_NODE_KEY_MASTER]); in __tipc_nl_node_set_key() 3022 rc = tipc_crypto_key_init(c, ukey, mode, master_key); in __tipc_nl_node_set_key() 3031 if (!master_key && tipc_crypto_key_distr(tx, rc, NULL)) in __tipc_nl_node_set_key()
|
/linux-6.12.1/fs/crypto/ |
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()
|
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()
|
D | fscrypt_private.h | 353 int fscrypt_init_hkdf(struct fscrypt_hkdf *hkdf, const u8 *master_key,
|
/linux-6.12.1/Documentation/filesystems/ |
D | fscrypt.rst | 653 ``SHA-512(SHA-512(master_key))``, but this particular scheme is not
|