Lines Matching refs:digest_ctx
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()
200 hmac_final ( digest, digest_ctx, in tls_p_hash_va()
1066 uint8_t digest_ctx[digest->ctxsize]; in tls_hmac() local
1068 hmac_init ( digest, digest_ctx, cipherspec->mac_secret, in tls_hmac()
1071 hmac_update ( digest, digest_ctx, &seq, sizeof ( seq ) ); in tls_hmac()
1072 hmac_update ( digest, digest_ctx, tlshdr, sizeof ( *tlshdr ) ); in tls_hmac()
1073 hmac_update ( digest, digest_ctx, data, len ); in tls_hmac()
1074 hmac_final ( digest, digest_ctx, cipherspec->mac_secret, in tls_hmac()