From: Johan Hedberg Date: Tue, 29 Apr 2014 10:07:45 +0000 (+0300) Subject: Bluetooth: Add ECC library for LE Secure Connections X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~28^2~5^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05ddb47a91fa591ed25ad877783a58ae44cc8212;p=pandora-kernel.git Bluetooth: Add ECC library for LE Secure Connections This patch adds a simple ECC library that will act as a fundamental building block for LE Secure Connections. The library has a simple API consisting of two functions: one for generating a public/private key pair and another one for generating a Diffie-Hellman key from a local private key and a remote public key. The code has been taken from https://github.com/kmackay/easy-ecc and modified to conform with the kernel coding style. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed