Skip to content

Instantly share code, notes, and snippets.

Ignat Korchagin secumod

Block or report user

Report or block secumod

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View sctest.c
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define SECURE_COMPARATOR_ENABLED
#include <themis/secure_comparator.h>
static uint8_t pass[] = {1, 2, 3, 4, 5, 6, 7};
static void fatal(void)
View spake2test.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <openssl/curve25519.h>
#include <openssl/evp.h>
#include <openssl/hmac.h>
static uint8_t pass[] = {1, 2, 3, 4, 5, 6, 7};
@secumod
secumod / convertiit.c
Last active Aug 29, 2015
Utility to convert IIT keys to proper format
View convertiit.c
/* Copyright (c) 2014, Ignat Korchagin <ignat.korchagin@gmail.com>, Ilya Petrov <ilya.muromec@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
View dstu.patch
diff --git a/Configure b/Configure
index f0fadaa..c6aed3c 100755
--- a/Configure
+++ b/Configure
@@ -1034,6 +1034,10 @@
$disabled{"ecdsa"} = "forced";
$disabled{"ecdh"} = "forced";
}
+if (defined($disabled{"ec2m"}))
+ {
@secumod
secumod / filecrypt.c
Created Dec 19, 2013
File encryption utility
View filecrypt.c
/*
============================================================================
Name : filecrypt.c
Author : Ignat
Version :
Copyright : Public domain
Description : File cryptor in C, Ansi-style
============================================================================
*/
You can’t perform that action at this time.