Delta / NNN50_WIFI_API

Dependents:   NNN50_CE_Test_UDP NNN50_linux_firmware NNN50_SoftAP_HelloWorld NNN50_BLEWIFISensor ... more

Embed: (wiki syntax)

« Back to documentation index

m2m_crypto.c File Reference

m2m_crypto.c File Reference

WINC Crypto module. More...

Go to the source code of this file.

Functions

static void m2m_crypto_cb (uint8 u8OpCode, uint16 u16DataSize, uint32 u32Addr)
 WiFi call back function.

Variables

static const uint8 au8TEncodingMD5 []
static const uint8 au8TEncodingSHA1 []
static const uint8 au8TEncodingSHA2 []

Detailed Description

WINC Crypto module.

Copyright (c) 2016 Atmel Corporation. All rights reserved.

Definition in file m2m_crypto.c.


Function Documentation

m2m_crypto_cb ( uint8  u8OpCode,
uint16  u16DataSize,
uint32  u32Addr 
) [static]

WiFi call back function.

Parameters:
[in]u8OpCodeHIF Opcode type.
[in]u16DataSizeHIF data length.
[in]u32AddrHIF address.
Author:
Date:
Version:
1.0

Definition at line 730 of file m2m_crypto.c.


Variable Documentation

const uint8 au8TEncodingMD5[] [static]
Initial value:
 
{
    0x30, 0x20, 0x30, 0x0C, 0x06, 0x08, 0x2A, 0x86,
    0x48, 0x86, 0xF7, 0x0D, 0x02, 0x05, 0x05, 0x00,
    0x04
}

Fixed part of the Encoding T for the MD5 hash algorithm.

Definition at line 525 of file m2m_crypto.c.

const uint8 au8TEncodingSHA1[] [static]
Initial value:
 
{
    0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2B, 0x0E,
    0x03, 0x02, 0x1A, 0x05, 0x00, 0x04 
}

Fixed part of the Encoding T for the SHA-1 hash algorithm.

Definition at line 535 of file m2m_crypto.c.

const uint8 au8TEncodingSHA2[] [static]
Initial value:
 
{
    0x30, 0x31, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86,
    0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05,
    0x00, 0x04
}

Fixed part of the Encoding T for the SHA-2 hash algorithm.

Definition at line 544 of file m2m_crypto.c.