Searched refs:cbc (Results 1 - 6 of 6) sorted by relevance
/darwin-on-arm/xnu/EXTERNAL_HEADERS/corecrypto/ |
H A D | ccpad.h | 16 void ccpad_cts_decrypt(const struct ccmode_cbc *cbc, cccbc_ctx *ctx, 20 void ccpad_cts_encrypt(const struct ccmode_cbc *cbc, cccbc_ctx *ctx, 24 void ccpad_cts1_decrypt(const struct ccmode_cbc *cbc, cccbc_ctx *ctx, 28 void ccpad_cts1_encrypt(const struct ccmode_cbc *cbc, cccbc_ctx *ctx, 31 void ccpad_cts2_decrypt(const struct ccmode_cbc *cbc, cccbc_ctx *ctx, 35 void ccpad_cts2_encrypt(const struct ccmode_cbc *cbc, cccbc_ctx *ctx, 38 void ccpad_cts3_decrypt(const struct ccmode_cbc *cbc, cccbc_ctx *ctx, 42 void ccpad_cts3_encrypt(const struct ccmode_cbc *cbc, cccbc_ctx *ctx, 49 unsigned long ccpad_pkcs7_decrypt(const struct ccmode_cbc *cbc, cccbc_ctx *ctx, 54 void ccpad_pkcs7_encrypt(const struct ccmode_cbc *cbc, cccbc_ct [all...] |
H A D | ccmode_factory.h | 16 /* For CBC, direction of underlying ecb is the same as the cbc direction */ 98 .cbc = ccmode_cbc_encrypt, 110 void *ccmode_cbc_init(const struct ccmode_cbc *cbc, cccbc_ctx *ctx, 128 .cbc = ccmode_cbc_decrypt, \ 137 .cbc = ccmode_cbc_encrypt, \ 146 void ccmode_factory_cbc_decrypt(struct ccmode_cbc *cbc, argument 149 *cbc = cbc_decrypt; 157 void ccmode_factory_cbc_encrypt(struct ccmode_cbc *cbc, argument 160 *cbc = cbc_encrypt;
|
H A D | ccmode_impl.h | 36 void (*init)(const struct ccmode_cbc *cbc, cccbc_ctx *ctx, 38 /* cbc encrypt or decrypt nblocks from in to out, iv will be used and updated. */ 39 void (*cbc)(const cccbc_ctx *ctx, cccbc_iv *iv, unsigned long nblocks, member in struct:ccmode_cbc
|
H A D | ccmode.h | 65 /* Declare a cbc key named _name_. Pass the size field of a struct ccmode_cbc 70 /* Declare a cbc iv tweak named _name_. Pass the blocksize field of a struct ccmode_cbc 110 mode->cbc(ctx, iv, nblocks, in, out); 124 mode->cbc(ctx, iv_ctx, nblocks, in, out);
|
/darwin-on-arm/xnu/libkern/crypto/ |
H A D | corecrypto_aes.c | 37 const struct ccmode_cbc *cbc = g_crypto_funcs->ccaes_cbc_encrypt; local 40 if(cbc->size>sizeof(aes_encrypt_ctx)) 43 cccbc_init(cbc, cx[0].ctx, key_len, key); 51 const struct ccmode_cbc *cbc = g_crypto_funcs->ccaes_cbc_encrypt; local 52 cccbc_iv_decl(cbc->block_size, ctx_iv); 54 cccbc_set_iv(cbc, ctx_iv, in_iv); 55 cccbc_update(cbc, cx[0].ctx, ctx_iv, num_blk, in_blk, out_blk); //Actually cbc encrypt. 68 const struct ccmode_cbc *cbc = g_crypto_funcs->ccaes_cbc_decrypt; local 71 if(cbc 82 const struct ccmode_cbc *cbc = g_crypto_funcs->ccaes_cbc_decrypt; local [all...] |
H A D | corecrypto_des.c | 115 const struct ccmode_cbc *cbc = encrypt?g_crypto_funcs->ccdes_cbc_encrypt:g_crypto_funcs->ccdes_cbc_decrypt; local 118 cccbc_iv_decl(cbc->block_size, ctx_iv); 124 cccbc_set_iv(cbc, ctx_iv, iv); 126 cccbc_update(cbc, ctx, ctx_iv, nblocks, in, out); 156 const struct ccmode_cbc *cbc = encrypt?g_crypto_funcs->cctdes_cbc_encrypt:g_crypto_funcs->cctdes_cbc_decrypt; local 159 cccbc_iv_decl(cbc->block_size, ctx_iv); 165 cccbc_set_iv(cbc, ctx_iv, iv); 167 cccbc_update(cbc, ctx, ctx_iv, nblocks, in, out); 185 const struct ccmode_cbc *cbc = g_crypto_funcs->ccdes_cbc_encrypt; local 188 cccbc_iv_decl(cbc [all...] |
Completed in 82 milliseconds