Searched refs:sha1_digest (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ppp/ |
H A D | ppp_mppe.c | 94 unsigned char *sha1_digest; member 142 crypto_shash_final(state->sha1, state->sha1_digest); in get_new_key_from_sha() 153 arc4_setkey(&state->arc4, state->sha1_digest, state->keylen); in mppe_rekey() 154 arc4_crypt(&state->arc4, state->session_key, state->sha1_digest, in mppe_rekey() 157 memcpy(state->session_key, state->sha1_digest, state->keylen); in mppe_rekey() 204 state->sha1_digest = kmalloc(digestsize, GFP_KERNEL); in mppe_alloc() 205 if (!state->sha1_digest) in mppe_alloc() 222 kfree(state->sha1_digest); in mppe_alloc() 239 kfree(state->sha1_digest); in mppe_free()
|
/openbmc/qemu/crypto/ |
H A D | hash-nettle.c | 62 .result = (qcrypto_nettle_result)sha1_digest,
|