Searched refs:soft_aes_ctx (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAESCrypt.c76 soft_aes_ctx_t *soft_aes_ctx; local
78 soft_aes_ctx = calloc(1, sizeof (soft_aes_ctx_t));
79 if (soft_aes_ctx == NULL) {
83 soft_aes_ctx->key_sched = aes_alloc_keysched(&size, 0);
84 if (soft_aes_ctx->key_sched == NULL) {
85 free(soft_aes_ctx);
89 soft_aes_ctx->keysched_len = size;
109 free(soft_aes_ctx->key_sched);
110 free(soft_aes_ctx);
126 (void) memcpy(soft_aes_ctx
181 soft_aes_ctx_t *soft_aes_ctx = local
553 soft_aes_ctx_t *soft_aes_ctx = local
[all...]
H A DsoftEncryptUtil.c259 soft_aes_ctx_t *soft_aes_ctx; local
270 soft_aes_ctx =
273 soft_aes_ctx->mode_ctx = (void *)aes_ecb_ctx_init(
274 soft_aes_ctx->key_sched,
275 soft_aes_ctx->keysched_len);
277 if (soft_aes_ctx->mode_ctx == NULL) {
278 bzero(soft_aes_ctx->key_sched,
279 soft_aes_ctx->keysched_len);
280 free(soft_aes_ctx->key_sched);
290 aes_low_level_funcs(soft_aes_ctx
301 soft_aes_ctx_t *soft_aes_ctx; local
352 soft_aes_ctx_t *soft_aes_ctx; local
768 soft_aes_ctx_t *soft_aes_ctx; local
835 soft_aes_ctx_t *soft_aes_ctx; local
860 soft_aes_ctx_t *soft_aes_ctx; local
982 soft_aes_ctx_t *soft_aes_ctx = local
[all...]
H A DsoftDecryptUtil.c235 soft_aes_ctx_t *soft_aes_ctx; local
246 soft_aes_ctx =
249 soft_aes_ctx->mode_ctx = (void *)aes_ecb_ctx_init(
250 soft_aes_ctx->key_sched,
251 soft_aes_ctx->keysched_len);
253 if (soft_aes_ctx->mode_ctx == NULL) {
254 bzero(soft_aes_ctx->key_sched,
255 soft_aes_ctx->keysched_len);
256 free(soft_aes_ctx->key_sched);
266 aes_low_level_funcs(soft_aes_ctx
277 soft_aes_ctx_t *soft_aes_ctx; local
331 soft_aes_ctx_t *soft_aes_ctx; local
764 soft_aes_ctx_t *soft_aes_ctx; local
843 soft_aes_ctx_t *soft_aes_ctx; local
868 soft_aes_ctx_t *soft_aes_ctx; local
[all...]
H A DsoftCrypt.h44 typedef struct soft_aes_ctx { struct
H A DsoftKeystore.c2270 soft_aes_ctx_t *soft_aes_ctx; local
2294 soft_aes_ctx =
2297 soft_aes_ctx =
2301 (void) memcpy(soft_aes_ctx->ivec, ivec, AES_BLOCK_LEN);
2304 soft_aes_ctx->mode_ctx = (void *)aes_cbc_ctx_init(
2305 soft_aes_ctx->key_sched, soft_aes_ctx->keysched_len,
2306 soft_aes_ctx->ivec);
2308 if (soft_aes_ctx->mode_ctx == NULL) {
2309 bzero(soft_aes_ctx
[all...]
H A DsoftRawDataCrypt.c60 soft_aes_ctx->key_sched, \

Completed in 43 milliseconds