Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dsshkey.c768 u_char *prekey; in sshkey_prekey_alloc() local
771 if ((prekey = mmap(NULL, len, PROT_READ|PROT_WRITE, in sshkey_prekey_alloc()
775 (void)madvise(prekey, len, MADV_DONTDUMP); in sshkey_prekey_alloc()
777 *prekeyp = prekey; in sshkey_prekey_alloc()
782 sshkey_prekey_free(void *prekey, size_t len) in sshkey_prekey_free() argument
784 if (prekey == NULL) in sshkey_prekey_free()
786 munmap(prekey, len); in sshkey_prekey_free()
1649 u_char *prekey = NULL, *enc = NULL, keyiv[SSH_DIGEST_MAX_LENGTH]; in sshkey_shield_private() local
1670 if ((r = sshkey_prekey_alloc(&prekey, SSHKEY_SHIELD_PREKEY_LEN)) != 0) in sshkey_shield_private()
1672 arc4random_buf(prekey, SSHKEY_SHIELD_PREKEY_LEN); in sshkey_shield_private()
[all …]