Searched refs:inkey (Results 1 - 10 of 10) sorted by relevance

/linux-master/net/sunrpc/auth_gss/
H A Dgss_krb5_keys.c151 const struct xdr_netobj *inkey, u8 *rawkey,
163 if (inkey->len != keylength)
170 if (crypto_sync_skcipher_setkey(cipher, inkey->data, inkey->len))
257 * @inkey: base protocol key
268 const struct xdr_netobj *inkey,
281 ret = krb5_DK(gk5e, inkey, inblock.data, label, gfp_mask);
346 * @inkey: base protocol key
369 const struct xdr_netobj *inkey,
391 ret = crypto_shash_setkey(tfm, inkey
150 krb5_DK(const struct gss_krb5_enctype *gk5e, const struct xdr_netobj *inkey, u8 *rawkey, const struct xdr_netobj *in_constant, gfp_t gfp_mask) argument
267 krb5_derive_key_v2(const struct gss_krb5_enctype *gk5e, const struct xdr_netobj *inkey, struct xdr_netobj *outkey, const struct xdr_netobj *label, gfp_t gfp_mask) argument
368 krb5_kdf_feedback_cmac(const struct gss_krb5_enctype *gk5e, const struct xdr_netobj *inkey, struct xdr_netobj *outkey, const struct xdr_netobj *constant, gfp_t gfp_mask) argument
500 krb5_kdf_hmac_sha2(const struct gss_krb5_enctype *gk5e, const struct xdr_netobj *inkey, struct xdr_netobj *outkey, const struct xdr_netobj *label, gfp_t gfp_mask) argument
[all...]
H A Dgss_krb5_internal.h107 const struct xdr_netobj *inkey,
113 const struct xdr_netobj *inkey,
119 const struct xdr_netobj *inkey,
127 * @inkey: base protocol key
139 const struct xdr_netobj *inkey,
153 return gk5e->derive_key(gk5e, inkey, outkey, &label, gfp_mask);
138 krb5_derive_key(struct krb5_ctx *kctx, const struct xdr_netobj *inkey, struct xdr_netobj *outkey, u32 usage, u8 seed, gfp_t gfp_mask) argument
/linux-master/net/ceph/
H A Dcrypto.c108 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) argument
110 int inlen = strlen(inkey);
115 dout("crypto_key_unarmor %s\n", inkey);
119 blen = ceph_unarmor(buf, inkey, inkey+inlen);
/linux-master/arch/arm64/crypto/
H A Dghash-ce-glue.c190 const u8 *inkey, unsigned int keylen)
198 memcpy(&key->k, inkey, GHASH_BLOCK_SIZE);
232 static int gcm_aes_setkey(struct crypto_aead *tfm, const u8 *inkey, argument
240 ret = aes_expandkey(&ctx->aes_key, inkey, keylen);
480 static int rfc4106_setkey(struct crypto_aead *tfm, const u8 *inkey, argument
487 err = gcm_aes_setkey(tfm, inkey, keylen);
491 memcpy(ctx->nonce, inkey + keylen, RFC4106_NONCE_SIZE);
189 ghash_setkey(struct crypto_shash *tfm, const u8 *inkey, unsigned int keylen) argument
/linux-master/crypto/
H A Dhmac.c32 const u8 *inkey, unsigned int keylen)
52 err = crypto_shash_digest(shash, inkey, keylen, ipad);
58 memcpy(ipad, inkey, keylen);
31 hmac_setkey(struct crypto_shash *parent, const u8 *inkey, unsigned int keylen) argument
H A Dxcbc.c52 const u8 *inkey, unsigned int keylen)
60 if ((err = crypto_cipher_setkey(ctx->child, inkey, keylen)))
51 crypto_xcbc_digest_setkey(struct crypto_shash *parent, const u8 *inkey, unsigned int keylen) argument
H A Dcmac.c51 const u8 *inkey, unsigned int keylen)
60 err = crypto_cipher_setkey(ctx->child, inkey, keylen);
50 crypto_cmac_digest_setkey(struct crypto_shash *parent, const u8 *inkey, unsigned int keylen) argument
H A Dccm.c777 const u8 *inkey, unsigned int keylen)
781 return crypto_cipher_setkey(ctx->child, inkey, keylen);
776 crypto_cbcmac_digest_setkey(struct crypto_shash *parent, const u8 *inkey, unsigned int keylen) argument
/linux-master/arch/arm/crypto/
H A Dghash-ce-glue.c174 const u8 *inkey, unsigned int keylen)
182 memcpy(&key->k, inkey, GHASH_BLOCK_SIZE);
382 static int gcm_aes_setkey(struct crypto_aead *tfm, const u8 *inkey, argument
390 ret = aes_expandkey(&aes_ctx, inkey, keylen);
673 static int rfc4106_setkey(struct crypto_aead *tfm, const u8 *inkey, argument
680 err = gcm_aes_setkey(tfm, inkey, keylen);
684 memcpy(ctx->nonce, inkey + keylen, RFC4106_NONCE_SIZE);
173 ghash_setkey(struct crypto_shash *tfm, const u8 *inkey, unsigned int keylen) argument
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c2358 struct ice_prof_id_key inkey; local
2360 inkey.xlt1 = ptg;
2361 inkey.xlt2_cdid = cpu_to_le16(vsig);
2362 inkey.flags = cpu_to_le16(flags);
2370 inkey.xlt2_cdid &= ~cpu_to_le16(ICE_CD_2_M);
2371 inkey.xlt2_cdid |= cpu_to_le16(BIT(cdid) << ICE_CD_2_S);
2376 inkey.xlt2_cdid &= ~cpu_to_le16(ICE_CD_4_M);
2377 inkey.xlt2_cdid |= cpu_to_le16(BIT(cdid) << ICE_CD_4_S);
2382 inkey.xlt2_cdid &= ~cpu_to_le16(ICE_CD_8_M);
2383 inkey
[all...]

Completed in 160 milliseconds