Searched refs:Kcrypt (Results 1 - 1 of 1) sorted by relevance
/net/sunrpc/auth_gss/ |
H A D | gss_krb5_crypto.c | 915 * Compute Kcrypt given the initial session key and the plaintext seqnum. 925 u8 Kcrypt[GSS_KRB5_MAX_KEYLEN]; local 946 /* Compute intermediate Kcrypt from session key */ 948 Kcrypt[i] = kctx->Ksess[i] ^ 0xf0; 950 err = crypto_hash_setkey(hmac, Kcrypt, kctx->gk5e->keylength); 957 err = crypto_hash_digest(&desc, sg, 4, Kcrypt); 961 /* Compute final Kcrypt from the seqnum and intermediate Kcrypt */ 962 err = crypto_hash_setkey(hmac, Kcrypt, kctx->gk5e->keylength); 973 err = crypto_hash_digest(&desc, sg, 4, Kcrypt); [all...] |
Completed in 30 milliseconds