Keybase proof
I hereby claim:
- I am yawning on github.
- I am yawninglol (https://keybase.io/yawninglol) on keybase.
- I have a public key whose fingerprint is 9EB1 A490 C73C C5D4 4DFB 3E47 BFBD 1C7B 8A6E C81A
To claim this, I am signing this object:
// To the extent possible under law, the Yawning Angel has waived all copyright | |
// and related or neighboring rights to orhttp_example, using the creative | |
// commons "cc0" public domain dedication. See LICENSE or | |
// <http://creativecommons.org/publicdomain/zero/1.0/> for full details. | |
package main | |
import ( | |
// Things needed by the actual interface. | |
"golang.org/x/net/proxy" |
#include <asm/types.h> | |
#include <linux/netlink.h> | |
#include <linux/rtnetlink.h> | |
#include <netinet/in.h> | |
#include <sys/socket.h> | |
#include <sys/uio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> |
There used to be something that resembled an Elligator2 implementation here ported from agl's | |
Go code. The implementation is unmaintained and has severe issues (as pointed out in a comment), | |
and should not be used for anything. |
""" NIST SP 800-90A style CTR_DRBG, using CTR-AES-128. """ | |
import obfsproxy.common.aes as aes | |
import binascii | |
import os | |
import random | |
class CtrDrbg(random.Random): | |
""" |
From 117b56d5315287bb15948f448229431101d48380 Mon Sep 17 00:00:00 2001 | |
From: Yawning Angel <yawning@schwanenlied.me> | |
Date: Mon, 19 Nov 2018 22:52:41 +0000 | |
Subject: [PATCH] BSD: OSX portability fixes | |
* RFC 3542 constants require `__APPLE_USE_RFC_3542` to be defined. | |
* TCP MD5 signatures are not supported by the kernel at all. | |
--- | |
sysdep/bsd/sysio.h | 15 +++++++++++++++ | |
1 file changed, 15 insertions(+) |
#! /bin/sh -e | |
# Uncomment to load custom ACPI table | |
GRUB_CUSTOM_ACPI="/boot/dsdt.aml" | |
# DON'T MODIFY ANYTHING BELOW THIS LINE! | |
prefix=/usr | |
exec_prefix=${prefix} | |
libdir=${exec_prefix}/lib |
#include <stdint.h> | |
#include <stdio.h> | |
#include <time.h> | |
#include <sys/time.h> | |
#include <assert.h> | |
#define ITERS 1000000000 | |
static uint64_t gettime(void) { | |
struct timespec ts; |
I hereby claim:
To claim this, I am signing this object:
diff -uNr gnupg-2.0.22/g10/gpg.c gnupg-2.0.22-large-keys/g10/gpg.c | |
--- gnupg-2.0.22/g10/gpg.c 2013-10-04 12:32:53.000000000 +0000 | |
+++ gnupg-2.0.22-large-keys/g10/gpg.c 2013-10-26 22:14:18.933010862 +0000 | |
@@ -2050,7 +2050,7 @@ | |
#endif | |
/* Initialize the secure memory. */ | |
- if (!gcry_control (GCRYCTL_INIT_SECMEM, 32768, 0)) | |
+ if (!gcry_control (GCRYCTL_INIT_SECMEM, 131072, 0)) | |
got_secmem = 1; |
diff --git a/xio-openssl.c b/xio-openssl.c | |
index 665430d..b7e95c1 100644 | |
--- a/xio-openssl.c | |
+++ b/xio-openssl.c | |
@@ -912,20 +912,27 @@ int | |
} | |
{ | |
- static unsigned char dh1024_p[] = { | |
- 0xCC,0x17,0xF2,0xDC,0x96,0xDF,0x59,0xA4,0x46,0xC5,0x3E,0x0E, |