- •1 Introduction
- •2 Terms, References, and Conventions
- •2.1 Terms
- •2.2 References
- •2.4 Secure Hash Algorithm
- •2.6 Byte Order
- •3 Association Overview and Requirements
- •3.1 Requirements For Hosts
- •3.2 Requirements For Devices
- •3.4 User Conditioning
- •3.7 Random Numbers
- •3.8 Data Structures for Association Information
- •4 Cable Association Model
- •4.1 General Overview
- •4.2 Protocol Overview
- •4.3 Normative Requirements
- •4.3.1 Reporting/Discovery
- •4.3.2 Getting Available Association Types
- •4.3.3 Getting Existing Certified Wireless USB Associations
- •4.3.4 Setting a New Certified Wireless USB Association
- •4.3.5 Cable Association Is Complete
- •5 Numeric Association Model
- •5.1 General Overview
- •5.2 Protocol Overview
- •5.3 Normative Requirements
- •5.3.1 Starting the Association
- •5.3.2 Host Retrieves Hash Commitment From Device
- •5.3.3 Host Sends Its Public Key to Device
- •5.3.4 Host Retrieves Device’s Public Key and Display Size
- •5.3.5 Device Derives Shared Secret and Verification Number
- •5.3.6 Host Derives Shared Secret and Verification Number
- •5.3.7 User Confirms Verification Number
- •5.3.8 Host Sends Association Information to Device
- •5.3.9 Device Prepares and Stores CC
- •5.3.10 Additional Keys For Other Applications
- •5.3.11 Host and Device Erase All Unneeded Variables
- •5.3.12 Numeric Association Is Complete
- •5.4 Test Vectors
- •5.4.1 Random Numbers A and B
- •5.4.2 Modular Exponentiation (gA mod p, gB mod p)
- •5.4.4 Diffie-Hellman Shared Secret and DHKey
- •5.4.5 MV and Verification Numbers
- •5.4.6 Connection Key
- •5.4.7 Key Derivation Key
Association Models Supplement to the Certified Wireless Universal Serial Bus Specification
March 2, 2006
Revision 1.0
Association Models Supplement to the Certified Wireless Universal Serial Bus Specification Revision 1.0
REVISION HISTORY
The 1.0 revision of the specification is intended for product design. Every attempt has been made to ensure a consistent and implementable specification. Implementations should ensure compliance with this revision.
Revision |
Issue Date |
Comments |
|
|
|
1.0 |
March 2, 2006 |
Final specification. |
|
|
|
Wireless Universal Serial Bus Specification Supplement
Copyright © 2006, Agere Systems, Inc., Hewlett-Packard Company,
Intel Corporation, Microsoft Corporation, NEC Corporation,
Koninklijke Philips Electronics N.V., Samsung Electronics Co., Ltd.
All rights reserved.
INTELLECTUAL PROPERTY DISCLAIMER
THIS SPECIFICATION IS PROVIDED "AS IS" WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. THE AUTHORS OF THIS SPECIFICATION DISCLAIM ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF ANY PROPRIETARY RIGHTS, RELATING TO USE OF INFORMATION IN THIS SPECIFICATION. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED HEREIN.
All product names are trademarks, registered trademarks, or servicemarks of their respective owners.
Please send comments via electronic mail to techsup@usb.org
For industry information, refer to the USB Implementers Forum web page at http://www.usb.org
- 2 -
Association Models Supplement to the Certified Wireless Universal Serial Bus Specification Revision 1.0
ACKNOWLEDGEMENT OF TECHNICAL CONTRIBUTION
The authors of this specification would like to recognize the following people and companies who participated in the Wireless USB Association Models technical working group. The list is sorted alphabetically, first by company name, then by individual’s last name.
Alereon |
Nirmalendu Patra |
Hewlett-Packard |
Ed Beeman |
Hewlett-Packard |
Dave Patton |
Intel |
Brad Hosler |
Intel |
John Howard |
Intel |
Preston Hunt (Chair and Editor) |
Intel |
Rahman Ismail |
Intel |
John Keys |
Intel |
Vic Lortz |
Intel |
Rich Minter |
Microsoft |
Randy Aull |
Microsoft |
Fred Bhesania |
Microsoft |
Mark Maszak |
Microsoft |
Glen Slick |
NEC Electronics |
Masahiro Noda |
NEC Electronics |
Hiro Sakamoto |
Nokia |
N. Asokan |
Nokia |
Janne Marin |
Nokia |
Kaisa Nyberg |
Nokia |
Richard Petrie |
Philips |
Ernst Haselsteiner |
Philips |
Dave Holmes |
Philips |
Young Kim |
Philips |
Stefan Posch |
Staccato Communications |
Roberto Aiello |
Staccato Communications |
Billy Brackenridge |
Staccato Communications |
Shyam Narayanan |
Staccato Communications |
Philip Zimmermann |
Texas Instruments |
Jin-Meng Ho |
Texas Instruments |
Yoram Solomon |
- 3 -
Association Models Supplement to the Certified Wireless Universal Serial Bus Specification Revision 1.0
CONTENTS |
|
||
1 |
INTRODUCTION ................................................................................................. |
6 |
|
2 TERMS, REFERENCES, AND CONVENTIONS................................................. |
7 |
||
|
2.1 |
Terms..................................................................................................................................................... |
7 |
|
2.2 |
References ............................................................................................................................................. |
7 |
|
2.3 |
Diffie-Hellman Key Exchange ............................................................................................................. |
7 |
|
2.4 |
Secure Hash Algorithm........................................................................................................................ |
8 |
|
2.5 |
Keyed-Hash Message Authentication Code (HMAC) ....................................................................... |
8 |
|
2.6 |
Byte Order............................................................................................................................................. |
8 |
3 ASSOCIATION OVERVIEW AND REQUIREMENTS ......................................... |
9 |
||
|
3.1 |
Requirements For Hosts ...................................................................................................................... |
9 |
|
3.2 |
Requirements For Devices ................................................................................................................... |
9 |
|
3.3 |
Requirements For Embedded Hosts and Dual-role Devices............................................................. |
9 |
|
3.4 |
User Conditioning............................................................................................................................... |
10 |
|
3.5 |
User-perceived Response Time.......................................................................................................... |
10 |
|
3.6 |
Device-side Management of Connection Contexts........................................................................... |
10 |
|
3.7 |
Random Numbers............................................................................................................................... |
10 |
|
3.8 |
Data Structures for Association Information................................................................................... |
10 |
4 |
CABLE ASSOCIATION MODEL....................................................................... |
12 |
|
|
4.1 |
General Overview............................................................................................................................... |
12 |
|
4.2 |
Protocol Overview .............................................................................................................................. |
12 |
|
4.3 |
Normative Requirements ................................................................................................................... |
12 |
5 |
NUMERIC ASSOCIATION MODEL .................................................................. |
19 |
|
|
5.1 |
General Overview............................................................................................................................... |
19 |
|
5.2 |
Protocol Overview .............................................................................................................................. |
19 |
|
5.3 |
Normative Requirements ................................................................................................................... |
20 |
|
5.4 |
Test Vectors......................................................................................................................................... |
25 |
- 4 -
Association Models Supplement to the Certified Wireless Universal Serial Bus Specification |
|
Revision 1.0 |
|
TABLES |
|
Table 3-1: Association Attributes................................................................................................................. |
11 |
Table 4-1: CBAF Control Requests.............................................................................................................. |
13 |
Table 4-2: CBAF Interface Descriptor ......................................................................................................... |
13 |
Table 4-3: ASSOCIATION_INFORMATION Format................................................................................ |
14 |
Table 4-4: ASSOCIATION_REQUEST Format.......................................................................................... |
14 |
Table 4-5: AssociationSubTypeId Values for Certified Wireless USB........................................................ |
15 |
Table 4-6: Example ASSOCIATION_INFORMATION Implementation for Certified Wireless USB....... |
15 |
Table 4-7: HOST_INFO Format .................................................................................................................. |
16 |
Table 4-8: DEVICE_INFO Format .............................................................................................................. |
17 |
Table 4-9: CC_DATA Format (Success Case)............................................................................................. |
18 |
Table 4-10: CC_DATA Format (Failure Case) ............................................................................................ |
18 |
Table 5-1: Constants Used in the Numeric Association Model.................................................................... |
20 |
Table 5-2: M1 Format ................................................................................................................................... |
21 |
Table 5-3: M2 Format ................................................................................................................................... |
22 |
Table 5-4: M3 Format ................................................................................................................................... |
22 |
Table 5-5: MV Format................................................................................................................................... |
23 |
Table 5-6: M4 Format ................................................................................................................................... |
24 |
- 5 -
Association Models Supplement to the Certified Wireless Universal Serial Bus Specification Revision 1.0
1 Introduction
This document defines an industry standard method for establishing a first-time connection between Certified Wireless USB hosts and devices. In Certified Wireless USB, the process of establishing a firsttime connection between hosts and devices is called “association”. Association is a pre-requisite process that must be completed by hosts and devices prior to implementing the security requirements outlined in chapter 7 of the Wireless USB Specification 1.0.
This document is primarily targeted at peripheral developers, but provides valuable information for platform operating system developers. This specification can be used for developing new products and associated software.
- 6 -