63
memset
( hctx->pad, 0, sizeof ( hctx->pad ) );
64
if
( key_len <=
sizeof
( hctx->pad ) ) {
71
for
( i = 0 ; i <
sizeof
( hctx->pad ) ; i++ ) {
77
digest_update
( digest, hctx->ctx, hctx->pad, sizeof ( hctx->pad ) );
static void digest_update(struct digest_algorithm *digest, void *ctx, const void *data, size_t len)
#define hmac_context_t(digest)
HMAC context type.
static void digest_final(struct digest_algorithm *digest, void *ctx, void *out)
struct golan_eq_context ctx
void * memcpy(void *dest, const void *src, size_t len) __nonnull
static void digest_init(struct digest_algorithm *digest, void *ctx)
union @383 key
Sense key.
void * memset(void *dest, int character, size_t len) __nonnull
References
ctx
,
digest_final()
,
digest_init()
,
digest_update()
,
hmac_context_t
,
key
,
memcpy()
, and
memset()
.
Referenced by
ccmp_kie_mic()
,
hmac_drbg_update_key()
,
hmac_drbg_update_value()
,
hmac_okx()
,
ntlm_key()
,
ntlm_response()
,
pbkdf2_sha1_f()
,
peerdist_info_passphrase_okx()
,
peerdist_info_segment_hash()
,
prf_sha1()
,
tkip_kie_mic()
,
tls_hmac_init()
, and
tls_p_hash_va()
.
Definition at line
87
of file
hmac.c
.
92
for
( i = 0 ; i <
sizeof
( hctx->pad ) ; i++ ) {
101
digest_update
( digest, hctx->ctx, hctx->pad, sizeof ( hctx->pad ) );
106
memset
( hctx->pad, 0, sizeof ( hctx->pad ) );
static void digest_update(struct digest_algorithm *digest, void *ctx, const void *data, size_t len)
#define hmac_context_t(digest)
HMAC context type.
static void digest_final(struct digest_algorithm *digest, void *ctx, void *out)
struct golan_eq_context ctx
static void digest_init(struct digest_algorithm *digest, void *ctx)
size_t digestsize
Digest size.
void * memset(void *dest, int character, size_t len) __nonnull
References
ctx
,
digest_final()
,
digest_init()
,
digest_update()
,
digest_algorithm::digestsize
,
hmac_context_t
, and
memset()
.
Referenced by
ccmp_kie_mic()
,
hmac_drbg_update_key()
,
hmac_drbg_update_value()
,
hmac_okx()
,
ntlm_key()
,
ntlm_response()
,
pbkdf2_sha1_f()
,
peerdist_info_passphrase_okx()
,
peerdist_info_segment_hash()
,
prf_sha1()
,
tkip_kie_mic()
,
tls_hmac_final()
, and
tls_p_hash_va()
.