Lines Matching refs:data
468 dtls_hash_ctx data; in dtls_ecdsa_create_sig() local
471 dtls_hash_init(&data); in dtls_ecdsa_create_sig()
472 dtls_hash_update(&data, client_random, client_random_size); in dtls_ecdsa_create_sig()
473 dtls_hash_update(&data, server_random, server_random_size); in dtls_ecdsa_create_sig()
474 dtls_hash_update(&data, keyx_params, keyx_params_size); in dtls_ecdsa_create_sig()
475 dtls_hash_finalize(sha256hash, &data); in dtls_ecdsa_create_sig()
509 dtls_hash_ctx data; in dtls_ecdsa_verify_sig() local
512 dtls_hash_init(&data); in dtls_ecdsa_verify_sig()
513 dtls_hash_update(&data, client_random, client_random_size); in dtls_ecdsa_verify_sig()
514 dtls_hash_update(&data, server_random, server_random_size); in dtls_ecdsa_verify_sig()
515 dtls_hash_update(&data, keyx_params, keyx_params_size); in dtls_ecdsa_verify_sig()
516 dtls_hash_finalize(sha256hash, &data); in dtls_ecdsa_verify_sig()
533 ret = rijndael_set_key_enc_only(&ctx->data.ctx, key, 8 * keylen); in dtls_encrypt()
542 ret = dtls_ccm_encrypt(&ctx->data, src, length, buf, nounce, aad, la); in dtls_encrypt()
559 ret = rijndael_set_key_enc_only(&ctx->data.ctx, key, 8 * keylen); in dtls_decrypt()
568 ret = dtls_ccm_decrypt(&ctx->data, src, length, buf, nounce, aad, la); in dtls_decrypt()