Lines Matching refs:keybuf
845 unsigned char keybuf[20]; in do_PVK_body_key() local
875 if (!derive_pvk_key(keybuf, sizeof(keybuf), p, saltlen, in do_PVK_body_key()
890 if (!EVP_DecryptInit_ex(cctx, rc4, NULL, keybuf, NULL)) in do_PVK_body_key()
899 memset(keybuf + 5, 0, 11); in do_PVK_body_key()
900 if (!EVP_DecryptInit_ex(cctx, rc4, NULL, keybuf, NULL)) in do_PVK_body_key()
926 OPENSSL_cleanse(keybuf, sizeof(keybuf)); in do_PVK_body_key()
1067 unsigned char keybuf[20]; in i2b_PVK() local
1077 if (!derive_pvk_key(keybuf, sizeof(keybuf), salt, PVK_SALTLEN, in i2b_PVK()
1083 memset(keybuf + 5, 0, 11); in i2b_PVK()
1085 if (!EVP_EncryptInit_ex(cctx, rc4, NULL, keybuf, NULL)) in i2b_PVK()
1087 OPENSSL_cleanse(keybuf, 20); in i2b_PVK()