'\" t .\" Title: ieee80211_get_tkip_p2k .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Advanced driver interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "IEEE80211_GET_TKIP_P" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Advanced driver interface" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ieee80211_get_tkip_p2k \- get a TKIP phase 2 key .SH "SYNOPSIS" .HP \w'void\ ieee80211_get_tkip_p2k('u .BI "void ieee80211_get_tkip_p2k(struct\ ieee80211_key_conf\ *\ " "keyconf" ", struct\ sk_buff\ *\ " "skb" ", u8\ *\ " "p2k" ");" .SH "ARGUMENTS" .PP \fIkeyconf\fR .RS 4 the parameter passed with the set key .RE .PP \fIskb\fR .RS 4 the packet to take the IV32/IV16 values from that will be encrypted with this key .RE .PP \fIp2k\fR .RS 4 a buffer to which the key will be written, 16 bytes .RE .SH "DESCRIPTION" .PP .PP This function computes the TKIP RC4 key for the IV values in the packet\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br