Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
crypto4xx_sa.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/mod_devicetable.h>
#include <linux/interrupt.h>
#include <linux/spinlock_types.h>
#include <linux/highmem.h>
#include <linux/scatterlist.h>
#include <linux/crypto.h>
#include <crypto/algapi.h>
#include <crypto/des.h>
#include "crypto4xx_reg_def.h"
#include "crypto4xx_sa.h"
#include "crypto4xx_core.h"

Go to the source code of this file.

Functions

u32 get_dynamic_sa_offset_iv_field (struct crypto4xx_ctx *ctx)
 
u32 get_dynamic_sa_offset_state_ptr_field (struct crypto4xx_ctx *ctx)
 
u32 get_dynamic_sa_iv_size (struct crypto4xx_ctx *ctx)
 
u32 get_dynamic_sa_offset_key_field (struct crypto4xx_ctx *ctx)
 

Detailed Description

AMCC SoC PPC4xx Crypto Driver

Copyright (c) 2008 Applied Micro Circuits Corporation. All rights reserved. James Hsiao jhsia.nosp@m.o@am.nosp@m.cc.co.nosp@m.m

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

This file implements the security context associate format.

Definition in file crypto4xx_sa.c.

Function Documentation

u32 get_dynamic_sa_iv_size ( struct crypto4xx_ctx ctx)

Definition at line 87 of file crypto4xx_sa.c.

u32 get_dynamic_sa_offset_iv_field ( struct crypto4xx_ctx ctx)

Definition at line 37 of file crypto4xx_sa.c.

u32 get_dynamic_sa_offset_key_field ( struct crypto4xx_ctx ctx)

Definition at line 98 of file crypto4xx_sa.c.

u32 get_dynamic_sa_offset_state_ptr_field ( struct crypto4xx_ctx ctx)

Definition at line 60 of file crypto4xx_sa.c.