Home
last modified time | relevance | path

Searched refs:prekey (Results 1 – 1 of 1) sorted by relevance

/src/crypto/openssh/
H A Dsshkey.c765 u_char *prekey; in sshkey_prekey_alloc() local
768 if ((prekey = mmap(NULL, len, PROT_READ|PROT_WRITE, in sshkey_prekey_alloc()
772 (void)madvise(prekey, len, MADV_DONTDUMP); in sshkey_prekey_alloc()
774 *prekeyp = prekey; in sshkey_prekey_alloc()
779 sshkey_prekey_free(void *prekey, size_t len) in sshkey_prekey_free() argument
781 if (prekey == NULL) in sshkey_prekey_free()
783 munmap(prekey, len); in sshkey_prekey_free()
1646 u_char *prekey = NULL, *enc = NULL, keyiv[SSH_DIGEST_MAX_LENGTH]; in sshkey_shield_private() local
1667 if ((r = sshkey_prekey_alloc(&prekey, SSHKEY_SHIELD_PREKEY_LEN)) != 0) in sshkey_shield_private()
1669 arc4random_buf(prekey, SSHKEY_SHIELD_PREKEY_LEN); in sshkey_shield_private()
[all …]