Home
last modified time | relevance | path

Searched refs:cbc_ctx_t (Results 1 – 11 of 11) sorted by relevance

/onnv-gate/usr/src/common/crypto/modes/
H A Dmodes.h106 } cbc_ctx_t; typedef
235 cbc_ctx_t acu_cbc;
260 cbc_ctx_t bcu_cbc;
274 cbc_ctx_t dcu_cbc;
289 extern int cbc_encrypt_contiguous_blocks(cbc_ctx_t *, char *, size_t,
295 extern int cbc_decrypt_contiguous_blocks(cbc_ctx_t *, char *, size_t,
351 extern int cbc_init_ctx(cbc_ctx_t *, char *, size_t, size_t,
H A Dcbc.c42 cbc_encrypt_contiguous_blocks(cbc_ctx_t *ctx, char *data, size_t length, in cbc_encrypt_contiguous_blocks()
169 cbc_decrypt_contiguous_blocks(cbc_ctx_t *ctx, char *data, size_t length, in cbc_decrypt_contiguous_blocks()
282 cbc_init_ctx(cbc_ctx_t *cbc_ctx, char *param, size_t param_len, in cbc_init_ctx()
309 cbc_ctx_t *cbc_ctx; in cbc_alloc_ctx()
312 if ((cbc_ctx = kmem_zalloc(sizeof (cbc_ctx_t), kmflag)) == NULL) in cbc_alloc_ctx()
314 if ((cbc_ctx = calloc(1, sizeof (cbc_ctx_t))) == NULL) in cbc_alloc_ctx()
H A Dmodes.c185 kmem_free(common_ctx, sizeof (cbc_ctx_t)); in crypto_free_mode_ctx()
/onnv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftBlowfishCrypt.c491 cbc_ctx_t *cbc_ctx; in blowfish_cbc_ctx_init()
493 if ((cbc_ctx = calloc(1, sizeof (cbc_ctx_t))) == NULL) in blowfish_cbc_ctx_init()
H A DsoftAESCrypt.c829 cbc_ctx_t *cbc_ctx; in aes_cbc_ctx_init()
831 if ((cbc_ctx = calloc(1, sizeof (cbc_ctx_t))) == NULL) in aes_cbc_ctx_init()
H A DsoftDESCrypt.c802 cbc_ctx_t *cbc_ctx; in des_cbc_ctx_init()
804 if ((cbc_ctx = calloc(1, sizeof (cbc_ctx_t))) == NULL) in des_cbc_ctx_init()
/onnv-gate/usr/src/common/crypto/fips/
H A Dfips_des_util.c212 rv = cbc_init_ctx((cbc_ctx_t *)des_ctx, (char *)iv, in des_build_context()
H A Dfips_aes_util.c54 cbc_ctx_t *cbc_ctx; in aes_cbc_ctx_init()
56 if ((cbc_ctx = kmem_zalloc(sizeof (cbc_ctx_t), KM_SLEEP)) == NULL) in aes_cbc_ctx_init()
/onnv-gate/usr/src/uts/common/crypto/io/
H A Dblowfish.c886 rv = cbc_init_ctx((cbc_ctx_t *)blowfish_ctx, in blowfish_common_init_ctx()
H A Daes.c1401 rv = cbc_init_ctx((cbc_ctx_t *)aes_ctx, mechanism->cm_param, in aes_common_init_ctx()
/onnv-gate/usr/src/uts/common/des/
H A Ddes_crypt.c1216 rv = cbc_init_ctx((cbc_ctx_t *)des_ctx, mechanism->cm_param, in des_common_init_ctx()