Searched refs:sctx (Results 1 - 9 of 9) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/s390/crypto/
H A Dsha1_s390.c43 struct s390_sha1_ctx *sctx = crypto_tfm_ctx(tfm); local
45 sctx->state[0] = 0x67452301;
46 sctx->state[1] = 0xEFCDAB89;
47 sctx->state[2] = 0x98BADCFE;
48 sctx->state[3] = 0x10325476;
49 sctx->state[4] = 0xC3D2E1F0;
50 sctx->count = 0;
56 struct s390_sha1_ctx *sctx = crypto_tfm_ctx(tfm); local
61 index = sctx->count & 0x3f;
63 sctx
96 struct s390_sha1_ctx *sctx = crypto_tfm_ctx(tfm); local
[all...]
H A Dsha256_s390.c36 struct s390_sha256_ctx *sctx = crypto_tfm_ctx(tfm); local
38 sctx->state[0] = 0x6a09e667;
39 sctx->state[1] = 0xbb67ae85;
40 sctx->state[2] = 0x3c6ef372;
41 sctx->state[3] = 0xa54ff53a;
42 sctx->state[4] = 0x510e527f;
43 sctx->state[5] = 0x9b05688c;
44 sctx->state[6] = 0x1f83d9ab;
45 sctx->state[7] = 0x5be0cd19;
46 sctx
52 struct s390_sha256_ctx *sctx = crypto_tfm_ctx(tfm); local
92 struct s390_sha256_ctx *sctx = crypto_tfm_ctx(tfm); local
[all...]
H A Daes_s390.c47 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); local
69 sctx->key_len = key_len;
70 memcpy(sctx->key, in_key, key_len);
79 const struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); local
81 switch (sctx->key_len) {
83 crypt_s390_km(KM_AES_128_ENCRYPT, &sctx->key, out, in,
87 crypt_s390_km(KM_AES_192_ENCRYPT, &sctx->key, out, in,
91 crypt_s390_km(KM_AES_256_ENCRYPT, &sctx->key, out, in,
99 const struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); local
101 switch (sctx
142 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); local
188 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
199 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
231 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); local
283 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
294 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
[all...]
H A Ddes_s390.c150 struct crypt_s390_des_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
154 return ecb_desall_crypt(desc, KM_DEA_ENCRYPT, sctx->key, &walk);
161 struct crypt_s390_des_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
165 return ecb_desall_crypt(desc, KM_DEA_DECRYPT, sctx->key, &walk);
193 struct crypt_s390_des_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
197 return cbc_desall_crypt(desc, KMC_DEA_ENCRYPT, sctx->iv, &walk);
204 struct crypt_s390_des_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
208 return cbc_desall_crypt(desc, KMC_DEA_DECRYPT, sctx->iv, &walk);
306 struct crypt_s390_des3_128_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
310 return ecb_desall_crypt(desc, KM_TDEA_128_ENCRYPT, sctx
317 struct crypt_s390_des3_128_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
350 struct crypt_s390_des3_128_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
361 struct crypt_s390_des3_128_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
468 struct crypt_s390_des3_192_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
479 struct crypt_s390_des3_192_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
512 struct crypt_s390_des3_192_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
523 struct crypt_s390_des3_192_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/crypto/
H A Dsha1.c39 struct sha1_ctx *sctx = crypto_tfm_ctx(tfm); local
46 *sctx = initstate;
52 struct sha1_ctx *sctx = crypto_tfm_ctx(tfm); local
56 partial = sctx->count & 0x3f;
57 sctx->count += len;
66 memcpy(sctx->buffer + partial, data, done + 64);
67 src = sctx->buffer;
71 sha_transform(sctx->state, src, temp);
79 memcpy(sctx->buffer + partial, src, len - done);
86 struct sha1_ctx *sctx local
[all...]
H A Dsha512.c166 struct sha512_ctx *sctx = crypto_tfm_ctx(tfm); local
167 sctx->state[0] = H0;
168 sctx->state[1] = H1;
169 sctx->state[2] = H2;
170 sctx->state[3] = H3;
171 sctx->state[4] = H4;
172 sctx->state[5] = H5;
173 sctx->state[6] = H6;
174 sctx->state[7] = H7;
175 sctx
181 struct sha512_ctx *sctx = crypto_tfm_ctx(tfm); local
196 struct sha512_ctx *sctx = crypto_tfm_ctx(tfm); local
236 struct sha512_ctx *sctx = crypto_tfm_ctx(tfm); local
[all...]
H A Dsha256.c235 struct sha256_ctx *sctx = crypto_tfm_ctx(tfm); local
236 sctx->state[0] = H0;
237 sctx->state[1] = H1;
238 sctx->state[2] = H2;
239 sctx->state[3] = H3;
240 sctx->state[4] = H4;
241 sctx->state[5] = H5;
242 sctx->state[6] = H6;
243 sctx->state[7] = H7;
244 sctx
250 struct sha256_ctx *sctx = crypto_tfm_ctx(tfm); local
282 struct sha256_ctx *sctx = crypto_tfm_ctx(tfm); local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/sunrpc/auth_gss/
H A Dgss_spkm3_mech.c166 struct spkm3_ctx *sctx = internal_ctx; local
168 kfree(sctx->derived_integ_key.data);
169 kfree(sctx->intg_alg.data);
170 kfree(sctx->derived_conf_key.data);
171 kfree(sctx->conf_alg.data);
172 kfree(sctx->mech_used.data);
173 kfree(sctx->ctx_id.data);
174 kfree(sctx);
183 struct spkm3_ctx *sctx = ctx->internal_ctx_id; local
185 maj_stat = spkm3_read_token(sctx, checksu
197 struct spkm3_ctx *sctx = ctx->internal_ctx_id; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/xfrm/
H A Dxfrm_policy.c2162 struct xfrm_sec_ctx *sctx = NULL; local
2205 sctx = xp->security;
2209 sctx = x->security;
2212 if (sctx)
2215 sctx->ctx_alg, sctx->ctx_doi, sctx->ctx_str);

Completed in 342 milliseconds