Lines Matching refs:kstruct
358 #define EVP_C_DATA(kstruct, ctx) \ argument
359 ((kstruct *)EVP_CIPHER_CTX_get_cipher_data(ctx))
368 #define BLOCK_CIPHER_func_ecb(cname, cprefix, kstruct, ksched) \ argument
372 …cprefix##_ecb_encrypt(in + i, out + i, &EVP_C_DATA(kstruct,ctx)->ksched, EVP_CIPHER_CTX_is_encrypt…
378 #define BLOCK_CIPHER_func_ofb(cname, cprefix, cbits, kstruct, ksched) \ argument
383 …cprefix##_ofb##cbits##_encrypt(in, out, (long)EVP_MAXCHUNK, &EVP_C_DATA(kstruct,ctx)->ksched, ctx-…
391 …cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &EVP_C_DATA(kstruct,ctx)->ksched, ctx->iv, &num…
397 #define BLOCK_CIPHER_func_cbc(cname, cprefix, kstruct, ksched) \ argument
401 …cprefix##_cbc_encrypt(in, out, (long)EVP_MAXCHUNK, &EVP_C_DATA(kstruct,ctx)->ksched, ctx->iv, EVP_…
407 …cprefix##_cbc_encrypt(in, out, (long)inl, &EVP_C_DATA(kstruct,ctx)->ksched, ctx->iv, EVP_CIPHER_CT…
411 #define BLOCK_CIPHER_func_cfb(cname, cprefix, cbits, kstruct, ksched) \ argument
423 &EVP_C_DATA(kstruct, ctx)->ksched, ctx->iv,\
434 #define BLOCK_CIPHER_all_funcs(cname, cprefix, cbits, kstruct, ksched) \ argument
435 BLOCK_CIPHER_func_cbc(cname, cprefix, kstruct, ksched) \
436 BLOCK_CIPHER_func_cfb(cname, cprefix, cbits, kstruct, ksched) \
437 BLOCK_CIPHER_func_ecb(cname, cprefix, kstruct, ksched) \
438 BLOCK_CIPHER_func_ofb(cname, cprefix, cbits, kstruct, ksched)
440 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \ argument
450 sizeof(kstruct), \
457 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \ argument
460 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \
463 #define BLOCK_CIPHER_def_cfb(cname, kstruct, nid, key_len, \ argument
466 BLOCK_CIPHER_def1(cname, cfb##cbits, cfb##cbits, CFB, kstruct, nid, 1, \
470 #define BLOCK_CIPHER_def_ofb(cname, kstruct, nid, key_len, \ argument
473 BLOCK_CIPHER_def1(cname, ofb##cbits, ofb, OFB, kstruct, nid, 1, \
477 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \ argument
480 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \
483 #define BLOCK_CIPHER_defs(cname, kstruct, \ argument
486 BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \
488 BLOCK_CIPHER_def_cfb(cname, kstruct, nid, key_len, iv_len, cbits, \
490 BLOCK_CIPHER_def_ofb(cname, kstruct, nid, key_len, iv_len, cbits, \
492 BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, flags, \
557 #define IMPLEMENT_BLOCK_CIPHER(cname, ksched, cprefix, kstruct, nid, \ argument
561 BLOCK_CIPHER_all_funcs(cname, cprefix, cbits, kstruct, ksched) \
562 BLOCK_CIPHER_defs(cname, kstruct, nid, block_size, key_len, iv_len, \
566 #define IMPLEMENT_CFBR(cipher,cprefix,kstruct,ksched,keysize,cbits,iv_len,fl) \ argument
567 BLOCK_CIPHER_func_cfb(cipher##_##keysize,cprefix,cbits,kstruct,ksched) \
568 BLOCK_CIPHER_def_cfb(cipher##_##keysize,kstruct, \