/crypto/ |
H A D | scatterwalk.c | 25 static inline void memcpy_dir(void *buf, void *sgdata, size_t nbytes, int out) argument 27 void *src = out ? buf : sgdata; 28 void *dst = out ? sgdata : buf; 50 static void scatterwalk_pagedone(struct scatter_walk *walk, int out, argument 53 if (out) { 69 void scatterwalk_done(struct scatter_walk *walk, int out, int more) argument 72 scatterwalk_pagedone(walk, out, more); 77 size_t nbytes, int out) 87 memcpy_dir(buf, vaddr, len_this_page, out); 98 scatterwalk_pagedone(walk, out, 76 scatterwalk_copychunks(void *buf, struct scatter_walk *walk, size_t nbytes, int out) argument 103 scatterwalk_map_and_copy(void *buf, struct scatterlist *sg, unsigned int start, unsigned int nbytes, int out) argument [all...] |
H A D | deflate.c | 54 goto out; 63 out: 67 goto out; 78 goto out; 85 out: 89 goto out; 111 goto out; 115 out: 137 goto out; 148 goto out; [all...] |
H A D | crc32.c | 97 u8 *out) 99 *(__le32 *)out = cpu_to_le32(__crc32_le(*crcp, data, len)); 104 unsigned int len, u8 *out) 106 return __crc32_finup(shash_desc_ctx(desc), data, len, out); 109 static int crc32_final(struct shash_desc *desc, u8 *out) argument 113 *(__le32 *)out = cpu_to_le32p(crcp); 118 unsigned int len, u8 *out) 121 out); 96 __crc32_finup(u32 *crcp, const u8 *data, unsigned int len, u8 *out) argument 103 crc32_finup(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument 117 crc32_digest(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument
|
H A D | crc32c.c | 98 static int chksum_final(struct shash_desc *desc, u8 *out) argument 102 *(__le32 *)out = ~cpu_to_le32p(&ctx->crc); 106 static int __chksum_finup(u32 *crcp, const u8 *data, unsigned int len, u8 *out) argument 108 *(__le32 *)out = ~cpu_to_le32(__crc32c_le(*crcp, data, len)); 113 unsigned int len, u8 *out) 117 return __chksum_finup(&ctx->crc, data, len, out); 121 unsigned int length, u8 *out) 125 return __chksum_finup(&mctx->key, data, length, out); 112 chksum_finup(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument 120 chksum_digest(struct shash_desc *desc, const u8 *data, unsigned int length, u8 *out) argument
|
H A D | tea.c | 68 __le32 *out = (__le32 *)dst; local 86 out[0] = cpu_to_le32(y); 87 out[1] = cpu_to_le32(z); 96 __le32 *out = (__le32 *)dst; local 116 out[0] = cpu_to_le32(y); 117 out[1] = cpu_to_le32(z); 141 __le32 *out = (__le32 *)dst; local 152 out[0] = cpu_to_le32(y); 153 out[1] = cpu_to_le32(z); 161 __le32 *out local 185 __le32 *out = (__le32 *)dst; local 205 __le32 *out = (__le32 *)dst; local [all...] |
H A D | shash.c | 111 static int shash_final_unaligned(struct shash_desc *desc, u8 *out) argument 124 goto out; 126 memcpy(out, buf, ds); 128 out: 133 int crypto_shash_final(struct shash_desc *desc, u8 *out) argument 139 if ((unsigned long)out & alignmask) 140 return shash_final_unaligned(desc, out); 142 return shash->final(desc, out); 147 unsigned int len, u8 *out) 150 crypto_shash_final(desc, out); 146 shash_finup_unaligned(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument 153 crypto_shash_finup(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument 167 shash_digest_unaligned(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument 174 crypto_shash_digest(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument 188 shash_default_export(struct shash_desc *desc, void *out) argument 308 shash_async_export(struct ahash_request *req, void *out) argument 403 shash_compat_final(struct hash_desc *hdesc, u8 *out) argument 410 shash_compat_digest(struct hash_desc *hdesc, struct scatterlist *sg, unsigned int nbytes, u8 *out) argument [all...] |
H A D | tcrypt.c | 110 goto out; 125 goto out; 130 out: 182 goto out; 203 goto out; 237 out: 243 char *out, int sec) 251 ret = crypto_hash_digest(desc, sg, blen, out); 263 int blen, int plen, char *out, int sec) 270 return test_hash_jiffies_digest(desc, sg, blen, out, se 241 test_hash_jiffies_digest(struct hash_desc *desc, struct scatterlist *sg, int blen, char *out, int sec) argument 262 test_hash_jiffies(struct hash_desc *desc, struct scatterlist *sg, int blen, int plen, char *out, int sec) argument 294 test_hash_cycles_digest(struct hash_desc *desc, struct scatterlist *sg, int blen, char *out) argument 337 test_hash_cycles(struct hash_desc *desc, struct scatterlist *sg, int blen, int plen, char *out) argument 501 test_ahash_jiffies_digest(struct ahash_request *req, int blen, char *out, int sec) argument 521 test_ahash_jiffies(struct ahash_request *req, int blen, int plen, char *out, int sec) argument 553 test_ahash_cycles_digest(struct ahash_request *req, int blen, char *out) argument 591 test_ahash_cycles(struct ahash_request *req, int blen, int plen, char *out) argument [all...] |
H A D | hmac.c | 92 static int hmac_export(struct shash_desc *pdesc, void *out) argument 98 return crypto_shash_export(desc, out); 127 static int hmac_final(struct shash_desc *pdesc, u8 *out) argument 137 return crypto_shash_final(desc, out) ?: 139 crypto_shash_finup(desc, out, ds, out); 143 unsigned int nbytes, u8 *out) 154 return crypto_shash_finup(desc, data, nbytes, out) ?: 156 crypto_shash_finup(desc, out, ds, out); 142 hmac_finup(struct shash_desc *pdesc, const u8 *data, unsigned int nbytes, u8 *out) argument [all...] |
H A D | seqiv.c | 41 goto out; 46 out: 67 goto out; 72 out: 268 goto out; 277 out: 288 goto out; 297 out: 326 out: 331 goto out; [all...] |
H A D | proc.c | 96 goto out; 101 goto out; 121 out:
|
H A D | authencesn.c | 97 goto out; 106 out: 111 goto out; 124 goto out; 134 goto out; 144 goto out; 150 out: 164 goto out; 174 goto out; 180 out [all...] |
H A D | arc4.c | 53 static void arc4_crypt(struct arc4_ctx *ctx, u8 *out, const u8 *in, argument 78 *out++ = *in++ ^ S[a]; 90 static void arc4_crypt_one(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument 92 arc4_crypt(crypto_tfm_ctx(tfm), out, in, 1); local
|
H A D | crypto_null.c | 53 static int null_final(struct shash_desc *desc, u8 *out) argument 59 unsigned int len, u8 *out) 162 goto out; 172 out: 58 null_digest(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument
|
H A D | md5.c | 95 static int md5_final(struct shash_desc *desc, u8 *out) argument 117 memcpy(out, mctx->hash, sizeof(mctx->hash)); 123 static int md5_export(struct shash_desc *desc, void *out) argument 127 memcpy(out, ctx, sizeof(*ctx));
|
H A D | sha1_generic.c | 78 static int sha1_final(struct shash_desc *desc, u8 *out) argument 81 __be32 *dst = (__be32 *)out; 88 /* Pad out to 56 mod 64 */ 106 static int sha1_export(struct shash_desc *desc, void *out) argument 110 memcpy(out, sctx, sizeof(*sctx));
|
H A D | twofish_generic.c | 108 /* Encrypt one block. in and out may be the same. */ 109 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument 113 __le32 *dst = (__le32 *)out; 145 /* Decrypt one block. in and out may be the same. */ 146 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument 150 __le32 *dst = (__le32 *)out;
|
H A D | af_alg.c | 185 goto out; 189 out: 320 goto out; 329 out: 350 goto out; 359 goto out; 364 goto out; 380 out: 460 goto out; 466 out [all...] |
H A D | testmgr.c | 235 goto out; 246 goto out; 254 goto out; 261 goto out; 268 goto out; 278 goto out; 294 goto out; 314 goto out; 337 goto out; 346 goto out; [all...] |
H A D | chainiv.c | 134 goto out; 140 out: 173 goto out; 177 out: 215 goto out; 231 out: 326 out: 331 goto out;
|
H A D | eseqiv.c | 57 goto out; 61 out: 140 goto out; 145 out: 231 out: 239 goto out;
|
H A D | ansi_cprng.c | 76 unsigned char *out, unsigned int size) 81 out[i] = in1[i] ^ in2[i]; 313 goto out; 318 out: 412 goto out; 418 out: 75 xor_vectors(unsigned char *in1, unsigned char *in2, unsigned char *out, unsigned int size) argument
|
H A D | cryptd.c | 201 goto out; 211 out: 308 out: 314 goto out; 439 goto out; 448 out: 467 goto out; 473 out: 490 goto out; 496 out 559 cryptd_hash_export(struct ahash_request *req, void *out) argument [all...] |
H A D | crypto_user.c | 132 goto out; 139 goto out; 155 out: 175 goto out; 183 goto out; 188 out: 234 goto out; 249 out:
|
H A D | xor.c | 141 goto out; 156 out:
|
H A D | authenc.c | 93 goto out; 102 out: 107 goto out; 120 goto out; 130 goto out; 136 out: 149 goto out; 155 out: 173 goto out; 183 goto out; [all...] |