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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c917 * Compute Kcrypt given the initial session key and the plaintext seqnum.
927 u8 Kcrypt[GSS_KRB5_MAX_KEYLEN]; local
948 /* Compute intermediate Kcrypt from session key */
950 Kcrypt[i] = kctx->Ksess[i] ^ 0xf0;
952 err = crypto_hash_setkey(hmac, Kcrypt, kctx->gk5e->keylength);
959 err = crypto_hash_digest(&desc, sg, 4, Kcrypt);
963 /* Compute final Kcrypt from the seqnum and intermediate Kcrypt */
964 err = crypto_hash_setkey(hmac, Kcrypt, kctx->gk5e->keylength);
975 err = crypto_hash_digest(&desc, sg, 4, Kcrypt);
[all...]

Completed in 104 milliseconds