Home
last modified time | relevance | path

Searched refs:CBC_MODE (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/common/crypto/modes/
H A Dcbc.c318 cbc_ctx->cbc_flags |= CBC_MODE; in cbc_init_ctx()
328 uint32_t modeval = mode & (CBC_MODE|CMAC_MODE); in cbc_cmac_alloc_ctx()
331 VERIFY(modeval == CBC_MODE || modeval == CMAC_MODE); in cbc_cmac_alloc_ctx()
347 return (cbc_cmac_alloc_ctx(kmflag, CBC_MODE)); in cbc_alloc_ctx()
H A Dmodes.c177 switch (common_ctx->cc_flags & (ECB_MODE|CBC_MODE|CMAC_MODE|CTR_MODE| in crypto_free_mode_ctx()
187 case CBC_MODE: in crypto_free_mode_ctx()
H A Dmodes.h47 #define CBC_MODE 0x00000004 macro
/illumos-gate/usr/src/common/crypto/aes/
H A Daes_modes.c113 } else if (aes_ctx->ac_flags & (CBC_MODE|CMAC_MODE)) { in aes_encrypt_contiguous_blocks()
148 } else if (aes_ctx->ac_flags & CBC_MODE) { in aes_decrypt_contiguous_blocks()
/illumos-gate/usr/src/common/crypto/des/
H A Ddes_impl.c1062 if (des_ctx->dc_flags & CBC_MODE) { in des_encrypt_contiguous_blocks()
1071 if (des_ctx->dc_flags & CBC_MODE) { in des_encrypt_contiguous_blocks()
1094 if (des_ctx->dc_flags & CBC_MODE) { in des_decrypt_contiguous_blocks()
1105 if (des_ctx->dc_flags & CBC_MODE) { in des_decrypt_contiguous_blocks()
/illumos-gate/usr/src/common/crypto/blowfish/
H A Dblowfish_impl.c740 if (blowfish_ctx->bc_flags & CBC_MODE) { in blowfish_encrypt_contiguous_blocks()
761 if (blowfish_ctx->bc_flags & CBC_MODE) { in blowfish_decrypt_contiguous_blocks()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDESCrypt.c804 cbc_ctx->cbc_flags |= CBC_MODE; in des_cbc_ctx_init()
806 cbc_ctx->cbc_flags |= CBC_MODE | DES3_STRENGTH; in des_cbc_ctx_init()
H A DsoftBlowfishCrypt.c495 cbc_ctx->cbc_flags |= CBC_MODE; in blowfish_cbc_ctx_init()
H A DsoftAESCrypt.c1622 } else if (ctx->ac_flags & (CBC_MODE|CMAC_MODE)) { in soft_aes_free_ctx()