コード例 #1
0
ファイル: hmac-x86-ssse3.c プロジェクト: GostCrypt/GnuTLS
static void
x86_hmac_sha256_set_key(struct hmac_sha256_ctx *ctx,
			    size_t key_length, const uint8_t * key)
{
	HMAC_SET_KEY(ctx, &x86_sha256, key_length, key);
}
コード例 #2
0
ファイル: hmac-sha384.c プロジェクト: AllardJ/Tomato
void
hmac_sha384_set_key(struct hmac_sha512_ctx *ctx,
		    unsigned key_length, const uint8_t *key)
{
  HMAC_SET_KEY(ctx, &nettle_sha384, key_length, key);
}
コード例 #3
0
static void
padlock_hmac_sha256_set_key (struct hmac_sha256_ctx *ctx,
                             unsigned key_length, const uint8_t * key)
{
    HMAC_SET_KEY (ctx, &padlock_sha256, key_length, key);
}
コード例 #4
0
ファイル: hmac-gosthash94.c プロジェクト: gnutls/gnutls
void
hmac_gosthash94cp_set_key(struct hmac_gosthash94cp_ctx *ctx,
		    size_t key_length, const uint8_t *key)
{
  HMAC_SET_KEY(ctx, &nettle_gosthash94cp, key_length, key);
}
コード例 #5
0
void
hmac_md5_set_key(struct hmac_md5_ctx *ctx,
		 unsigned key_length, const uint8_t *key)
{
  HMAC_SET_KEY(ctx, &nettle_md5, key_length, key);
}
コード例 #6
0
ファイル: hmac-padlock.c プロジェクト: GostCrypt/GnuTLS
static void
padlock_hmac_sha1_set_key(struct hmac_sha1_ctx *ctx,
			  size_t key_length, const uint8_t * key)
{
	HMAC_SET_KEY(ctx, &padlock_sha1, key_length, key);
}
コード例 #7
0
void
hmac_sha256_set_key(struct hmac_sha256_ctx *ctx,
		    size_t key_length, const uint8_t *key)
{
  HMAC_SET_KEY(ctx, &nettle_sha256, key_length, key);
}
void
hmac_ripemd160_set_key(struct hmac_ripemd160_ctx *ctx,
		       unsigned key_length, const uint8_t *key)
{
  HMAC_SET_KEY(ctx, &nettle_ripemd160, key_length, key);
}
コード例 #9
0
ファイル: hmac-x86-ssse3.c プロジェクト: randombit/hacrypto
static void
x86_hmac_sha1_set_key(struct hmac_sha1_ctx *ctx,
			  unsigned key_length, const uint8_t * key)
{
	HMAC_SET_KEY(ctx, &x86_sha1, key_length, key);
}