Lines Matching refs:keystr
703 unsigned char *psrc = NULL, *keystr; in enc_xfer() local
744 keystr = E_keystr; in enc_xfer()
747 keystr = D_keystr; in enc_xfer()
845 keydata_len, 1, keystr, NULL); in enc_xfer()
846 EVP_CipherInit_ex(ctx, Cipher, NULL, keystr, NULL, in enc_xfer()
859 keydata_len, 1, keystr, ivec); in enc_xfer()
861 EVP_CipherInit_ex(ctx, Cipher, NULL, keystr, ivec, in enc_xfer()
899 memcpy(keystr, keydata, sz); in enc_xfer()
905 keydata_len, 1, keystr, NULL); in enc_xfer()
917 keydata_len, 1, keystr, ivec); in enc_xfer()
932 EVP_CipherInit_ex(ctx, Cipher, NULL, keystr, ivec, encrypt); in enc_xfer()
1229 unsigned char keystr[EVP_MAX_KEY_LENGTH]; in securevnc_setup() local
1416 EVP_BytesToKey(Cipher, Digest, NULL, (unsigned char *) keydata, keydata_len, 1, keystr, NULL); in securevnc_setup()
1419 n = RSA_public_encrypt(SECUREVNC_KEY_SIZE, keystr, encrypted_keybuf, rsa, RSA_PKCS1_PADDING); in securevnc_setup()
1466 EVP_DigestUpdate(&dctx, keystr, SECUREVNC_KEY_SIZE); in securevnc_setup()