/linux-4.1.27/security/keys/ |
D | request_key_auth.c | 152 struct key *authkey = NULL; in request_key_auth_new() local 202 authkey = key_alloc(&key_type_request_key_auth, desc, in request_key_auth_new() 206 if (IS_ERR(authkey)) { in request_key_auth_new() 207 ret = PTR_ERR(authkey); in request_key_auth_new() 212 ret = key_instantiate_and_link(authkey, rka, 0, NULL, NULL); in request_key_auth_new() 216 kleave(" = {%d,%d}", authkey->serial, atomic_read(&authkey->usage)); in request_key_auth_new() 217 return authkey; in request_key_auth_new() 227 key_revoke(authkey); in request_key_auth_new() 228 key_put(authkey); in request_key_auth_new() 254 struct key *authkey; in key_get_instantiation_authkey() local [all …]
|
D | request_key.c | 35 kenter("{%d,%d},%d", cons->key->serial, cons->authkey->serial, error); in complete_request_key() 39 cons->authkey); in complete_request_key() 41 key_revoke(cons->authkey); in complete_request_key() 44 key_put(cons->authkey); in complete_request_key() 100 struct key *key = cons->key, *authkey = cons->authkey, *keyring, in call_sbin_request_key() local 107 kenter("{%d},{%d},%s", key->serial, authkey->serial, op); in call_sbin_request_key() 127 ret = key_link(keyring, authkey); in call_sbin_request_key() 209 struct key *authkey; in construct_key() local 219 authkey = request_key_auth_new(key, callout_info, callout_len, in construct_key() 221 if (IS_ERR(authkey)) { in construct_key() [all …]
|
D | key.c | 405 struct key *authkey, in __key_instantiate_and_link() argument 436 if (authkey) in __key_instantiate_and_link() 437 key_revoke(authkey); in __key_instantiate_and_link() 475 struct key *authkey) in key_instantiate_and_link() argument 498 ret = __key_instantiate_and_link(key, &prep, keyring, authkey, &edit); in key_instantiate_and_link() 536 struct key *authkey) in key_reject_and_link() argument 575 if (authkey) in key_reject_and_link() 576 key_revoke(authkey); in key_reject_and_link()
|
D | keyctl.c | 1356 struct key *authkey; in keyctl_assume_authority() local 1375 authkey = key_get_instantiation_authkey(id); in keyctl_assume_authority() 1376 if (IS_ERR(authkey)) { in keyctl_assume_authority() 1377 ret = PTR_ERR(authkey); in keyctl_assume_authority() 1381 ret = keyctl_change_reqkey_auth(authkey); in keyctl_assume_authority() 1384 key_put(authkey); in keyctl_assume_authority() 1386 ret = authkey->serial; in keyctl_assume_authority()
|
/linux-4.1.27/drivers/crypto/qce/ |
D | sha.h | 27 u8 authkey[QCE_SHA_MAX_BLOCKSIZE]; member 65 u8 *authkey; member
|
D | sha.c | 88 rctx->authkey = ctx->authkey; in qce_ahash_async_req_handle() 91 rctx->authkey = ctx->authkey; in qce_ahash_async_req_handle() 382 memset(ctx->authkey, 0, sizeof(ctx->authkey)); in qce_ahash_hmac_setkey() 385 memcpy(ctx->authkey, key, keylen); in qce_ahash_hmac_setkey() 420 ahash_request_set_crypt(req, &sg, ctx->authkey, keylen); in qce_ahash_hmac_setkey()
|
D | common.c | 265 qce_cpu_to_be32p_array(mackey, rctx->authkey, rctx->authklen); in qce_setup_regs_ahash()
|
/linux-4.1.27/include/crypto/ |
D | authenc.h | 27 const u8 *authkey; member
|
/linux-4.1.27/fs/nfs/ |
D | nfs4idmap.c | 617 static int nfs_idmap_instantiate(struct key *key, struct key *authkey, char *data, size_t datalen) in nfs_idmap_instantiate() argument 621 authkey); in nfs_idmap_instantiate() 626 struct key *key, struct key *authkey) in nfs_idmap_read_and_verify_message() argument 641 ret = nfs_idmap_instantiate(key, authkey, id_str, len); in nfs_idmap_read_and_verify_message() 647 ret = nfs_idmap_instantiate(key, authkey, im->im_name, len); in nfs_idmap_read_and_verify_message() 698 cons->key, cons->authkey); in idmap_pipe_downcall()
|
/linux-4.1.27/include/linux/ |
D | key-type.h | 26 struct key *authkey;/* authorisation for key being constructed */ member
|
/linux-4.1.27/drivers/crypto/ |
D | ixp4xx_crypto.c | 182 u8 authkey[MAX_KEYLEN]; member 1115 ret = setup_auth(&tfm->base, 0, authsize, ctx->authkey, in aead_setup() 1119 ret = setup_auth(&tfm->base, 1, authsize, ctx->authkey, in aead_setup() 1156 if (keys.authkeylen > sizeof(ctx->authkey)) in aead_setkey() 1162 memcpy(ctx->authkey, keys.authkey, keys.authkeylen); in aead_setkey()
|
D | picoxcell_crypto.c | 519 memcpy(ctx->hash_ctx, keys.authkey, keys.authkeylen); in spacc_aead_setkey()
|
D | talitos.c | 691 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey()
|
/linux-4.1.27/crypto/ |
D | authenc.c | 78 keys->authkey = key; in crypto_authenc_extractkeys() 100 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); in crypto_authenc_setkey()
|
D | authencesn.c | 74 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); in crypto_authenc_esn_setkey()
|
/linux-4.1.27/net/sctp/ |
D | socket.c | 3466 struct sctp_authkey *authkey; in sctp_setsockopt_auth_key() local 3476 authkey = memdup_user(optval, optlen); in sctp_setsockopt_auth_key() 3477 if (IS_ERR(authkey)) in sctp_setsockopt_auth_key() 3478 return PTR_ERR(authkey); in sctp_setsockopt_auth_key() 3480 if (authkey->sca_keylength > optlen - sizeof(struct sctp_authkey)) { in sctp_setsockopt_auth_key() 3485 asoc = sctp_id2assoc(sk, authkey->sca_assoc_id); in sctp_setsockopt_auth_key() 3486 if (!asoc && authkey->sca_assoc_id && sctp_style(sk, UDP)) { in sctp_setsockopt_auth_key() 3491 ret = sctp_auth_set_key(ep, asoc, authkey); in sctp_setsockopt_auth_key() 3493 kzfree(authkey); in sctp_setsockopt_auth_key()
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 308 if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen)) in qat_alg_aead_init_enc_session() 394 if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen)) in qat_alg_aead_init_dec_session()
|
/linux-4.1.27/drivers/crypto/caam/ |
D | caamalg.c | 1684 ret = gen_split_aead_key(ctx, keys.authkey, keys.authkeylen); in aead_setkey()
|
/linux-4.1.27/Documentation/security/ |
D | keys.txt | 1366 (*) struct key *authkey;
|