Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dsshkey.c740 u_char *prekey; in sshkey_prekey_alloc() local
743 if ((prekey = mmap(NULL, len, PROT_READ|PROT_WRITE, in sshkey_prekey_alloc()
747 (void)madvise(prekey, len, MADV_DONTDUMP); in sshkey_prekey_alloc()
749 *prekeyp = prekey; in sshkey_prekey_alloc()
757 sshkey_prekey_free(void *prekey, size_t len) in sshkey_prekey_free() argument
760 if (prekey == NULL) in sshkey_prekey_free()
762 munmap(prekey, len); in sshkey_prekey_free()
764 free(prekey); in sshkey_prekey_free()
1636 u_char *prekey = NULL, *enc = NULL, keyiv[SSH_DIGEST_MAX_LENGTH]; in sshkey_shield_private() local
1657 if ((r = sshkey_prekey_alloc(&prekey, SSHKEY_SHIELD_PREKEY_LEN)) != 0) in sshkey_shield_private()
[all …]