Lines Matching refs:cname
360 #define BLOCK_CIPHER_func_ecb(cname, cprefix, kstruct, ksched) \ argument
361 static int cname##_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, siz…
370 #define BLOCK_CIPHER_func_ofb(cname, cprefix, cbits, kstruct, ksched) \ argument
371 …static int cname##_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, si…
389 #define BLOCK_CIPHER_func_cbc(cname, cprefix, kstruct, ksched) \ argument
390 static int cname##_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, siz…
404 #define BLOCK_CIPHER_func_cfb(cname, cprefix, cbits, kstruct, ksched) \ argument
405 static int cname##_cfb##cbits##_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char…
428 #define BLOCK_CIPHER_all_funcs(cname, cprefix, cbits, kstruct, ksched) \ argument
429 BLOCK_CIPHER_func_cbc(cname, cprefix, kstruct, ksched) \
430 BLOCK_CIPHER_func_cfb(cname, cprefix, cbits, kstruct, ksched) \
431 BLOCK_CIPHER_func_ecb(cname, cprefix, kstruct, ksched) \
432 BLOCK_CIPHER_func_ofb(cname, cprefix, cbits, kstruct, ksched)
434 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \ argument
437 static const EVP_CIPHER cname##_##mode = { \
442 cname##_##mode##_cipher, \
449 const EVP_CIPHER *EVP_##cname##_##mode(void) { return &cname##_##mode; }
451 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \ argument
454 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \
457 #define BLOCK_CIPHER_def_cfb(cname, kstruct, nid, key_len, \ argument
460 BLOCK_CIPHER_def1(cname, cfb##cbits, cfb##cbits, CFB, kstruct, nid, 1, \
464 #define BLOCK_CIPHER_def_ofb(cname, kstruct, nid, key_len, \ argument
467 BLOCK_CIPHER_def1(cname, ofb##cbits, ofb, OFB, kstruct, nid, 1, \
471 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \ argument
474 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \
477 #define BLOCK_CIPHER_defs(cname, kstruct, \ argument
480 BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \
482 BLOCK_CIPHER_def_cfb(cname, kstruct, nid, key_len, iv_len, cbits, \
484 BLOCK_CIPHER_def_ofb(cname, kstruct, nid, key_len, iv_len, cbits, \
486 BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, flags, \
551 #define IMPLEMENT_BLOCK_CIPHER(cname, ksched, cprefix, kstruct, nid, \ argument
555 BLOCK_CIPHER_all_funcs(cname, cprefix, cbits, kstruct, ksched) \
556 BLOCK_CIPHER_defs(cname, kstruct, nid, block_size, key_len, iv_len, \