authkey 77 crypto/authenc.c keys->authkey = key; authkey 99 crypto/authenc.c err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); authkey 73 crypto/authencesn.c err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); authkey 128 crypto/essiv.c crypto_shash_finup(desc, keys.authkey, keys.authkeylen, salt); authkey 2135 drivers/crypto/atmel-aes.c keys.authkey, keys.authkeylen, authkey 743 drivers/crypto/bcm/cipher.c hash_parms.key_buf = (u8 *)ctx->authkey; authkey 1349 drivers/crypto/bcm/cipher.c hash_parms.key_buf = (u8 *)ctx->authkey; authkey 1998 drivers/crypto/bcm/cipher.c NULL, 0, NULL, 0, ctx->authkey, authkey 2114 drivers/crypto/bcm/cipher.c ret = crypto_shash_setkey(hash, ctx->authkey, authkey 2343 drivers/crypto/bcm/cipher.c memcpy(ctx->authkey, key, keylen); authkey 2396 drivers/crypto/bcm/cipher.c rc = do_shash("md5", ctx->authkey, key, keylen, NULL, authkey 2400 drivers/crypto/bcm/cipher.c rc = do_shash("sha1", ctx->authkey, key, keylen, NULL, authkey 2404 drivers/crypto/bcm/cipher.c rc = do_shash("sha224", ctx->authkey, key, keylen, NULL, authkey 2408 drivers/crypto/bcm/cipher.c rc = do_shash("sha256", ctx->authkey, key, keylen, NULL, authkey 2412 drivers/crypto/bcm/cipher.c rc = do_shash("sha384", ctx->authkey, key, keylen, NULL, authkey 2416 drivers/crypto/bcm/cipher.c rc = do_shash("sha512", ctx->authkey, key, keylen, NULL, authkey 2420 drivers/crypto/bcm/cipher.c rc = do_shash("sha3-224", ctx->authkey, key, keylen, authkey 2424 drivers/crypto/bcm/cipher.c rc = do_shash("sha3-256", ctx->authkey, key, keylen, authkey 2428 drivers/crypto/bcm/cipher.c rc = do_shash("sha3-384", ctx->authkey, key, keylen, authkey 2432 drivers/crypto/bcm/cipher.c rc = do_shash("sha3-512", ctx->authkey, key, keylen, authkey 2447 drivers/crypto/bcm/cipher.c flow_dump(" newkey: ", ctx->authkey, ctx->authkeylen); authkey 2449 drivers/crypto/bcm/cipher.c memcpy(ctx->authkey, key, keylen); authkey 2459 drivers/crypto/bcm/cipher.c memcpy(ctx->ipad, ctx->authkey, ctx->authkeylen); authkey 2845 drivers/crypto/bcm/cipher.c memset(ctx->authkey, 0, sizeof(ctx->authkey)); authkey 2846 drivers/crypto/bcm/cipher.c memcpy(ctx->authkey, keys.authkey, keys.authkeylen); authkey 2887 drivers/crypto/bcm/cipher.c flow_dump(" auth: ", ctx->authkey, ctx->authkeylen); authkey 2959 drivers/crypto/bcm/cipher.c flow_dump(" auth: ", ctx->authkey, ctx->authkeylen); authkey 180 drivers/crypto/bcm/cipher.h u8 authkey[MAX_KEY_SIZE + ARC4_STATE_SIZE]; authkey 592 drivers/crypto/caam/caamalg.c memcpy(ctx->key, keys.authkey, keys.authkeylen); authkey 601 drivers/crypto/caam/caamalg.c ret = gen_split_key(ctx->jrdev, ctx->key, &ctx->adata, keys.authkey, authkey 217 drivers/crypto/caam/caamalg_qi.c memcpy(ctx->key, keys.authkey, keys.authkeylen); authkey 226 drivers/crypto/caam/caamalg_qi.c ret = gen_split_key(jrdev, ctx->key, &ctx->adata, keys.authkey, authkey 303 drivers/crypto/caam/caamalg_qi2.c memcpy(ctx->key, keys.authkey, keys.authkeylen); authkey 413 drivers/crypto/ccree/cc_aead.c static int cc_get_plain_hmac_key(struct crypto_aead *tfm, const u8 *authkey, authkey 446 drivers/crypto/ccree/cc_aead.c key = kmemdup(authkey, keylen, GFP_KERNEL); authkey 551 drivers/crypto/ccree/cc_aead.c const u8 *enckey, *authkey; authkey 566 drivers/crypto/ccree/cc_aead.c authkey = keys.authkey; authkey 586 drivers/crypto/ccree/cc_aead.c authkey = NULL; authkey 602 drivers/crypto/ccree/cc_aead.c memcpy(ctx->auth_state.xcbc.xcbc_keys, authkey, authkey 605 drivers/crypto/ccree/cc_aead.c rc = cc_get_plain_hmac_key(tfm, authkey, ctx->auth_keylen); authkey 3487 drivers/crypto/chelsio/chcr_algo.c err = crypto_shash_digest(shash, keys.authkey, authkey 3496 drivers/crypto/chelsio/chcr_algo.c memcpy(o_ptr, keys.authkey, keys.authkeylen); authkey 353 drivers/crypto/inside-secure/safexcel_cipher.c if (safexcel_hmac_setkey("safexcel-sha1", keys.authkey, authkey 358 drivers/crypto/inside-secure/safexcel_cipher.c if (safexcel_hmac_setkey("safexcel-sha224", keys.authkey, authkey 363 drivers/crypto/inside-secure/safexcel_cipher.c if (safexcel_hmac_setkey("safexcel-sha256", keys.authkey, authkey 368 drivers/crypto/inside-secure/safexcel_cipher.c if (safexcel_hmac_setkey("safexcel-sha384", keys.authkey, authkey 373 drivers/crypto/inside-secure/safexcel_cipher.c if (safexcel_hmac_setkey("safexcel-sha512", keys.authkey, authkey 178 drivers/crypto/ixp4xx_crypto.c u8 authkey[MAX_KEYLEN]; authkey 1111 drivers/crypto/ixp4xx_crypto.c ret = setup_auth(&tfm->base, 0, authsize, ctx->authkey, authkey 1115 drivers/crypto/ixp4xx_crypto.c ret = setup_auth(&tfm->base, 1, authsize, ctx->authkey, authkey 1152 drivers/crypto/ixp4xx_crypto.c if (keys.authkeylen > sizeof(ctx->authkey)) authkey 1158 drivers/crypto/ixp4xx_crypto.c memcpy(ctx->authkey, keys.authkey, keys.authkeylen); authkey 1183 drivers/crypto/ixp4xx_crypto.c if (keys.authkeylen > sizeof(ctx->authkey)) authkey 1190 drivers/crypto/ixp4xx_crypto.c memcpy(ctx->authkey, keys.authkey, keys.authkeylen); authkey 486 drivers/crypto/picoxcell_crypto.c memcpy(ctx->hash_ctx, keys.authkey, keys.authkeylen); authkey 321 drivers/crypto/qat/qat_common/qat_algs.c if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen)) authkey 408 drivers/crypto/qat/qat_common/qat_algs.c if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen)) authkey 257 drivers/crypto/qce/common.c qce_cpu_to_be32p_array(mackey, rctx->authkey, rctx->authklen); authkey 79 drivers/crypto/qce/sha.c rctx->authkey = ctx->authkey; authkey 82 drivers/crypto/qce/sha.c rctx->authkey = ctx->authkey; authkey 359 drivers/crypto/qce/sha.c memset(ctx->authkey, 0, sizeof(ctx->authkey)); authkey 362 drivers/crypto/qce/sha.c memcpy(ctx->authkey, key, keylen); authkey 396 drivers/crypto/qce/sha.c ahash_request_set_crypt(req, &sg, ctx->authkey, keylen); authkey 19 drivers/crypto/qce/sha.h u8 authkey[QCE_SHA_MAX_BLOCKSIZE]; authkey 55 drivers/crypto/qce/sha.h u8 *authkey; authkey 904 drivers/crypto/talitos.c memcpy(ctx->key, keys.authkey, keys.authkeylen); authkey 945 drivers/crypto/talitos.c memcpy(ctx->key, keys.authkey, keys.authkeylen); authkey 63 fs/nfs/nfs4idmap.c struct key *authkey; authkey 566 fs/nfs/nfs4idmap.c struct key *authkey = idmap->idmap_upcall_data->authkey; authkey 570 fs/nfs/nfs4idmap.c complete_request_key(authkey, ret); authkey 571 fs/nfs/nfs4idmap.c key_put(authkey); authkey 581 fs/nfs/nfs4idmap.c static int nfs_idmap_legacy_upcall(struct key *authkey, void *aux) authkey 584 fs/nfs/nfs4idmap.c struct request_key_auth *rka = get_request_key_auth(authkey); authkey 603 fs/nfs/nfs4idmap.c data->authkey = key_get(authkey); authkey 621 fs/nfs/nfs4idmap.c complete_request_key(authkey, ret); authkey 625 fs/nfs/nfs4idmap.c static int nfs_idmap_instantiate(struct key *key, struct key *authkey, char *data, size_t datalen) authkey 629 fs/nfs/nfs4idmap.c authkey); authkey 634 fs/nfs/nfs4idmap.c struct key *key, struct key *authkey) authkey 650 fs/nfs/nfs4idmap.c ret = nfs_idmap_instantiate(key, authkey, id_str, len); authkey 656 fs/nfs/nfs4idmap.c ret = nfs_idmap_instantiate(key, authkey, im->im_name, len); authkey 671 fs/nfs/nfs4idmap.c struct key *authkey; authkey 683 fs/nfs/nfs4idmap.c authkey = idmap->idmap_upcall_data->authkey; authkey 684 fs/nfs/nfs4idmap.c rka = get_request_key_auth(authkey); authkey 709 fs/nfs/nfs4idmap.c rka->target_key, authkey); authkey 22 include/crypto/authenc.h const u8 *authkey; authkey 173 include/linux/key-type.h struct key *authkey); authkey 178 include/linux/key-type.h struct key *authkey); authkey 179 include/linux/key-type.h extern void complete_request_key(struct key *authkey, int error); authkey 184 include/linux/key-type.h struct key *authkey) authkey 186 include/linux/key-type.h return key_reject_and_link(key, timeout, ENOKEY, keyring, authkey); authkey 3702 net/sctp/socket.c struct sctp_authkey *authkey; authkey 3711 net/sctp/socket.c optlen = min_t(unsigned int, optlen, USHRT_MAX + sizeof(*authkey)); authkey 3713 net/sctp/socket.c authkey = memdup_user(optval, optlen); authkey 3714 net/sctp/socket.c if (IS_ERR(authkey)) authkey 3715 net/sctp/socket.c return PTR_ERR(authkey); authkey 3717 net/sctp/socket.c if (authkey->sca_keylength > optlen - sizeof(*authkey)) authkey 3720 net/sctp/socket.c asoc = sctp_id2assoc(sk, authkey->sca_assoc_id); authkey 3721 net/sctp/socket.c if (!asoc && authkey->sca_assoc_id > SCTP_ALL_ASSOC && authkey 3726 net/sctp/socket.c ret = sctp_auth_set_key(ep, asoc, authkey); authkey 3731 net/sctp/socket.c authkey->sca_assoc_id = SCTP_FUTURE_ASSOC; authkey 3733 net/sctp/socket.c if (authkey->sca_assoc_id == SCTP_FUTURE_ASSOC || authkey 3734 net/sctp/socket.c authkey->sca_assoc_id == SCTP_ALL_ASSOC) { authkey 3735 net/sctp/socket.c ret = sctp_auth_set_key(ep, asoc, authkey); authkey 3742 net/sctp/socket.c if (authkey->sca_assoc_id == SCTP_CURRENT_ASSOC || authkey 3743 net/sctp/socket.c authkey->sca_assoc_id == SCTP_ALL_ASSOC) { authkey 3745 net/sctp/socket.c int res = sctp_auth_set_key(ep, asoc, authkey); authkey 3753 net/sctp/socket.c kzfree(authkey); authkey 424 security/keys/key.c struct key *authkey, authkey 459 security/keys/key.c if (authkey) authkey 460 security/keys/key.c key_invalidate(authkey); authkey 498 security/keys/key.c struct key *authkey) authkey 534 security/keys/key.c ret = __key_instantiate_and_link(key, &prep, keyring, authkey, &edit); authkey 573 security/keys/key.c struct key *authkey) authkey 616 security/keys/key.c if (authkey) authkey 617 security/keys/key.c key_invalidate(authkey); authkey 1506 security/keys/keyctl.c struct key *authkey; authkey 1525 security/keys/keyctl.c authkey = key_get_instantiation_authkey(id); authkey 1526 security/keys/keyctl.c if (IS_ERR(authkey)) { authkey 1527 security/keys/keyctl.c ret = PTR_ERR(authkey); authkey 1531 security/keys/keyctl.c ret = keyctl_change_reqkey_auth(authkey); authkey 1533 security/keys/keyctl.c ret = authkey->serial; authkey 1534 security/keys/keyctl.c key_put(authkey); authkey 56 security/keys/request_key.c void complete_request_key(struct key *authkey, int error) authkey 58 security/keys/request_key.c struct request_key_auth *rka = get_request_key_auth(authkey); authkey 61 security/keys/request_key.c kenter("%d{%d},%d", authkey->serial, key->serial, error); authkey 64 security/keys/request_key.c key_negate_and_link(key, key_negative_timeout, NULL, authkey); authkey 66 security/keys/request_key.c key_revoke(authkey); authkey 115 security/keys/request_key.c static int call_sbin_request_key(struct key *authkey, void *aux) authkey 118 security/keys/request_key.c struct request_key_auth *rka = get_request_key_auth(authkey); authkey 127 security/keys/request_key.c kenter("{%d},{%d},%s", key->serial, authkey->serial, rka->op); authkey 147 security/keys/request_key.c ret = key_link(keyring, authkey); authkey 213 security/keys/request_key.c complete_request_key(authkey, ret); authkey 228 security/keys/request_key.c struct key *authkey; authkey 234 security/keys/request_key.c authkey = request_key_auth_new(key, "create", callout_info, callout_len, authkey 236 security/keys/request_key.c if (IS_ERR(authkey)) authkey 237 security/keys/request_key.c return PTR_ERR(authkey); authkey 244 security/keys/request_key.c ret = actor(authkey, aux); authkey 249 security/keys/request_key.c !test_bit(KEY_FLAG_INVALIDATED, &authkey->flags)); authkey 251 security/keys/request_key.c key_put(authkey); authkey 266 security/keys/request_key.c struct key *dest_keyring = *_dest_keyring, *authkey; authkey 284 security/keys/request_key.c authkey = cred->request_key_auth; authkey 285 security/keys/request_key.c down_read(&authkey->sem); authkey 286 security/keys/request_key.c rka = get_request_key_auth(authkey); authkey 288 security/keys/request_key.c &authkey->flags)) authkey 291 security/keys/request_key.c up_read(&authkey->sem); authkey 167 security/keys/request_key_auth.c struct key *authkey = NULL; authkey 216 security/keys/request_key_auth.c authkey = key_alloc(&key_type_request_key_auth, desc, authkey 220 security/keys/request_key_auth.c if (IS_ERR(authkey)) { authkey 221 security/keys/request_key_auth.c ret = PTR_ERR(authkey); authkey 226 security/keys/request_key_auth.c ret = key_instantiate_and_link(authkey, rka, 0, NULL, NULL); authkey 230 security/keys/request_key_auth.c kleave(" = {%d,%d}", authkey->serial, refcount_read(&authkey->usage)); authkey 231 security/keys/request_key_auth.c return authkey; authkey 234 security/keys/request_key_auth.c key_put(authkey); authkey 259 security/keys/request_key_auth.c struct key *authkey; authkey 269 security/keys/request_key_auth.c authkey = ERR_CAST(authkey_ref); authkey 270 security/keys/request_key_auth.c if (authkey == ERR_PTR(-EAGAIN)) authkey 271 security/keys/request_key_auth.c authkey = ERR_PTR(-ENOKEY); authkey 275 security/keys/request_key_auth.c authkey = key_ref_to_ptr(authkey_ref); authkey 276 security/keys/request_key_auth.c if (test_bit(KEY_FLAG_REVOKED, &authkey->flags)) { authkey 277 security/keys/request_key_auth.c key_put(authkey); authkey 278 security/keys/request_key_auth.c authkey = ERR_PTR(-EKEYREVOKED); authkey 282 security/keys/request_key_auth.c return authkey;