Searched refs:inkey (Results 1 – 10 of 10) sorted by relevance
/linux-5.19.10/net/ceph/ |
D | crypto.c | 108 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor() argument 110 int inlen = strlen(inkey); in ceph_crypto_key_unarmor() 115 dout("crypto_key_unarmor %s\n", inkey); in ceph_crypto_key_unarmor() 119 blen = ceph_unarmor(buf, inkey, inkey+inlen); in ceph_crypto_key_unarmor()
|
/linux-5.19.10/net/sunrpc/auth_gss/ |
D | gss_krb5_keys.c | 142 const struct xdr_netobj *inkey, in krb5_derive_key() argument 157 if ((inkey->len != keylength) || (outkey->len != keylength)) in krb5_derive_key() 163 if (crypto_sync_skcipher_setkey(cipher, inkey->data, inkey->len)) in krb5_derive_key()
|
/linux-5.19.10/crypto/ |
D | hmac.c | 42 const u8 *inkey, unsigned int keylen) in hmac_setkey() argument 63 err = crypto_shash_digest(shash, inkey, keylen, ipad); in hmac_setkey() 69 memcpy(ipad, inkey, keylen); in hmac_setkey()
|
D | xcbc.c | 52 const u8 *inkey, unsigned int keylen) in crypto_xcbc_digest_setkey() argument 61 if ((err = crypto_cipher_setkey(ctx->child, inkey, keylen))) in crypto_xcbc_digest_setkey()
|
D | cmac.c | 51 const u8 *inkey, unsigned int keylen) in crypto_cmac_digest_setkey() argument 62 err = crypto_cipher_setkey(ctx->child, inkey, keylen); in crypto_cmac_digest_setkey()
|
D | ccm.c | 779 const u8 *inkey, unsigned int keylen) in crypto_cbcmac_digest_setkey() argument 783 return crypto_cipher_setkey(ctx->child, inkey, keylen); in crypto_cbcmac_digest_setkey()
|
/linux-5.19.10/arch/arm64/crypto/ |
D | ghash-ce-glue.c | 187 const u8 *inkey, unsigned int keylen) in ghash_setkey() argument 195 memcpy(&key->k, inkey, GHASH_BLOCK_SIZE); in ghash_setkey() 229 static int gcm_setkey(struct crypto_aead *tfm, const u8 *inkey, in gcm_setkey() argument 237 ret = aes_expandkey(&ctx->aes_key, inkey, keylen); in gcm_setkey()
|
/linux-5.19.10/arch/arm/crypto/ |
D | ghash-ce-glue.c | 157 const u8 *inkey, unsigned int keylen) in ghash_setkey() argument 165 memcpy(&key->k, inkey, GHASH_BLOCK_SIZE); in ghash_setkey()
|
/linux-5.19.10/include/linux/sunrpc/ |
D | gss_krb5.h | 292 const struct xdr_netobj *inkey,
|
/linux-5.19.10/drivers/net/ethernet/intel/ice/ |
D | ice_flex_pipe.c | 4234 struct ice_prof_id_key inkey; in ice_prof_gen_key() local 4236 inkey.xlt1 = ptg; in ice_prof_gen_key() 4237 inkey.xlt2_cdid = cpu_to_le16(vsig); in ice_prof_gen_key() 4238 inkey.flags = cpu_to_le16(flags); in ice_prof_gen_key() 4246 inkey.xlt2_cdid &= ~cpu_to_le16(ICE_CD_2_M); in ice_prof_gen_key() 4247 inkey.xlt2_cdid |= cpu_to_le16(BIT(cdid) << ICE_CD_2_S); in ice_prof_gen_key() 4252 inkey.xlt2_cdid &= ~cpu_to_le16(ICE_CD_4_M); in ice_prof_gen_key() 4253 inkey.xlt2_cdid |= cpu_to_le16(BIT(cdid) << ICE_CD_4_S); in ice_prof_gen_key() 4258 inkey.xlt2_cdid &= ~cpu_to_le16(ICE_CD_8_M); in ice_prof_gen_key() 4259 inkey.xlt2_cdid |= cpu_to_le16(BIT(cdid) << ICE_CD_8_S); in ice_prof_gen_key() [all …]
|