Searched refs:inkey (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/net/ceph/ |
D | crypto.c | 107 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor() argument 109 int inlen = strlen(inkey); in ceph_crypto_key_unarmor() 114 dout("crypto_key_unarmor %s\n", inkey); in ceph_crypto_key_unarmor() 118 blen = ceph_unarmor(buf, inkey, inkey+inlen); in ceph_crypto_key_unarmor()
|
/Linux-v4.19/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() 164 if (crypto_skcipher_setkey(cipher, inkey->data, inkey->len)) in krb5_derive_key()
|
/Linux-v4.19/crypto/ |
D | hmac.c | 46 const u8 *inkey, unsigned int keylen) in hmac_setkey() argument 66 err = crypto_shash_digest(shash, inkey, keylen, ipad); in hmac_setkey() 72 memcpy(ipad, inkey, keylen); in hmac_setkey()
|
D | xcbc.c | 61 const u8 *inkey, unsigned int keylen) in crypto_xcbc_digest_setkey() argument 70 if ((err = crypto_cipher_setkey(ctx->child, inkey, keylen))) in crypto_xcbc_digest_setkey()
|
D | cmac.c | 55 const u8 *inkey, unsigned int keylen) in crypto_cmac_digest_setkey() argument 66 err = crypto_cipher_setkey(ctx->child, inkey, keylen); in crypto_cmac_digest_setkey()
|
D | ccm.c | 861 const u8 *inkey, unsigned int keylen) in crypto_cbcmac_digest_setkey() argument 865 return crypto_cipher_setkey(ctx->child, inkey, keylen); in crypto_cbcmac_digest_setkey()
|
/Linux-v4.19/arch/arm/crypto/ |
D | ghash-ce-glue.c | 121 const u8 *inkey, unsigned int keylen) in ghash_setkey() argument 132 b = get_unaligned_be64(inkey); in ghash_setkey() 133 a = get_unaligned_be64(inkey + 8); in ghash_setkey()
|
/Linux-v4.19/arch/arm64/crypto/ |
D | ghash-ce-glue.c | 192 const u8 *inkey, unsigned int keylen) in __ghash_setkey() argument 197 memcpy(&key->k, inkey, GHASH_BLOCK_SIZE); in __ghash_setkey() 215 const u8 *inkey, unsigned int keylen) in ghash_setkey() argument 224 return __ghash_setkey(key, inkey, keylen); in ghash_setkey() 255 static int gcm_setkey(struct crypto_aead *tfm, const u8 *inkey, in gcm_setkey() argument 262 ret = crypto_aes_expand_key(&ctx->aes_key, inkey, keylen); in gcm_setkey()
|
/Linux-v4.19/include/linux/sunrpc/ |
D | gss_krb5.h | 296 const struct xdr_netobj *inkey,
|