Searched refs:digest_ctx (Results 1 – 4 of 4) sorted by relevance
/external/syslinux/gpxe/src/crypto/ |
D | hmac.c | 42 uint8_t digest_ctx[digest->ctxsize]; in hmac_reduce_key() local 44 digest_init ( digest, digest_ctx ); in hmac_reduce_key() 45 digest_update ( digest, digest_ctx, key, *key_len ); in hmac_reduce_key() 46 digest_final ( digest, digest_ctx, key ); in hmac_reduce_key() 63 void hmac_init ( struct digest_algorithm *digest, void *digest_ctx, in hmac_init() argument 80 digest_init ( digest, digest_ctx ); in hmac_init() 81 digest_update ( digest, digest_ctx, k_ipad, sizeof ( k_ipad ) ); in hmac_init() 98 void hmac_final ( struct digest_algorithm *digest, void *digest_ctx, in hmac_final() argument 115 digest_final ( digest, digest_ctx, hmac ); in hmac_final() 118 digest_init ( digest, digest_ctx ); in hmac_final() [all …]
|
/external/syslinux/gpxe/src/include/gpxe/ |
D | hmac.h | 22 void *digest_ctx, const void *data, in hmac_update() argument 24 digest_update ( digest, digest_ctx, data, len ); in hmac_update() 27 extern void hmac_init ( struct digest_algorithm *digest, void *digest_ctx, 29 extern void hmac_final ( struct digest_algorithm *digest, void *digest_ctx,
|
/external/syslinux/gpxe/src/hci/commands/ |
D | digest_cmd.c | 54 uint8_t digest_ctx[digest->ctxsize]; in digest_exec() local 83 digest_init ( digest, digest_ctx ); in digest_exec() 89 digest_update ( digest, digest_ctx, buf, frag_len ); in digest_exec() 93 digest_final ( digest, digest_ctx, digest_out ); in digest_exec()
|
/external/syslinux/gpxe/src/net/ |
D | tls.c | 142 void *digest_ctx, va_list args ) { in tls_hmac_update_va() argument 148 hmac_update ( digest, digest_ctx, data, len ); in tls_hmac_update_va() 169 uint8_t digest_ctx[digest->ctxsize]; in tls_p_hash_va() local 183 hmac_init ( digest, digest_ctx, secret, &secret_len ); in tls_p_hash_va() 185 tls_hmac_update_va ( digest, digest_ctx, tmp ); in tls_p_hash_va() 187 hmac_final ( digest, digest_ctx, secret, &secret_len, a ); in tls_p_hash_va() 194 hmac_init ( digest, digest_ctx, secret, &secret_len ); in tls_p_hash_va() 195 hmac_update ( digest, digest_ctx, a, sizeof ( a ) ); in tls_p_hash_va() 196 memcpy ( digest_ctx_partial, digest_ctx, digest->ctxsize ); in tls_p_hash_va() 198 tls_hmac_update_va ( digest, digest_ctx, tmp ); in tls_p_hash_va() [all …]
|